问题描述:I updated android studio from 2.2 to 3.3 and it always give me aapt2 error and build failed.
解决:
you can go to your project in a terminal and run "gradlew clean assembleDebug"
定位到问题所在:资源文件中的图片 没有在resources中找到,将图片加入drawable中最后问题完美解决
问题描述:I updated android studio from 2.2 to 3.3 and it always give me aapt2 error and build failed.
解决:
you can go to your project in a terminal and run "gradlew clean assembleDebug"
定位到问题所在:资源文件中的图片 没有在resources中找到,将图片加入drawable中最后问题完美解决
本文标题:Aapt2 error in Android Studio 3.
本文链接:https://www.haomeiwen.com/subject/cwnfyqtx.html
网友评论