New android studio flavor


I just updated my android studio and ran into the following error.

Error:java.lang.RuntimeException: Unexpected scopes found in folder 'D:\****\****\****\app\build\intermediates\transforms\dexMerger\dev_demo\debug'. Required: EXTERNAL_LIBRARIES. Found: EXTERNAL_LIBRARIES, PROJECT, SUB_PROJECTS

I tried closing, cleaning and building but it won’t work.

Anybody encountered the same problem ?


It goes away if you downgrade the gradle plugin from 3.0.+ to 2.3.3. But still not the solution we need.

Answered By – Irshu

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published