New Studio Design for Android

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 to close, clean and build, but this will not work.

Has anyone encountered the same problem?

+6
source share
2 answers

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

+3
source

I found a solution that works in my case. I deleted the .gradle and .idle folder from the studio and then launched the application again. It works great for me.

I'm not sure about the reason (maybe related to the studio cache), it works in my case.

0
source

All Articles