AAPT2 working abnormally in android studio 3.1 both for True and False flag

后端 未结 5 1739
长发绾君心
长发绾君心 2021-01-12 20:14

I am usingandroid.enableAapt2 = false in my gradle.properties file. After updating android studio to 3.1 my project showing a warning to update or

5条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-12 21:10

    Finally, I have fixed the issue by updating android gradle plugin to alpha version.

    Update your android gradle plugin in your project level build.gradle file like below:

    classpath 'com.android.tools.build:gradle:3.2.0-alpha13'
    

    Now update android.enableAapt2=true. Then check and build your project. Issue will be resolved.

提交回复
热议问题