Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ?

like image 231
Sebastien FERRAND Avatar asked Nov 04 '17 08:11

Sebastien FERRAND


1 Answers

Try This:

  1. Delete the .gradle folder from the project folder
  2. In Android Studio go to File>Project Structure>Project and change the Gradle Version to the latest version (4.4).

enter image description here

like image 152
Tricky Bay Avatar answered Sep 28 '22 02:09

Tricky Bay