Failed to execute aapt (NoSuchElementException at AbstractIndexedListIterator.next(AbstractIndexedListIterator.java:80)

后端 未结 5 811
小蘑菇
小蘑菇 2020-12-03 07:18

The project gets built without error from Android Studio -> Build -> Build APKs and after installation it works fine. But running the project with a Run Configuration gives

5条回答
  •  旧巷少年郎
    2020-12-03 08:22

    I did below and it solved this issue:

    1. In gradle.properties file:

      android.enableAapt2=false

    2. I disabled the Instant Run.(Important)

提交回复
热议问题