Duplicate Content Roots Detected [Duplicate]

Duplicate Content Roots Detected [Duplicate]

Android Studio gives me the following error code after I copied my project.

Duplicate content roots detected: Path [/home/addi/AndroidStudioProjects/appfolder/appname/app/build/generated/sqldelight/code/Database/debug] of module [appname.app.main] was removed from modules [appname.app.main]

the "original" project doesn't show that error

SQL delight version 1.5.3 android studio chipmuck 2021.2.1

4

1 Answer

There was a behaviour change in Android Studio Chipmunk that caused this.

Here is the related issue logged against Android Studio. It is apparently fixed in Dolphin.

And here is the one for JetBrains (which seems much older).

9
James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.