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