您的位置:首页 > 编程语言 > Java开发

Warning:Exception while processing task java.io.FileNotFoundException

2018-02-24 14:25 731 查看
Warning:Exception while processing task java.io.FileNotFoundException: app\build\intermediates\proguard-rules\release\aapt_rules.txt (The system cannot find the path specified)
1. Under 'app' module, in build.gradle file.buildTypes:buildTypes { release { minifyEnabled trueproguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'}}

Delete blank proguard file. Because I put rules in proguard-rules.pro file, so I delete getDefaultProguardFile('proguard-android.txt'),left only 'proguard-rules.pro'.Just as follows:
buildTypes { release { minifyEnabled trueproguardFiles 'proguard-rules.pro'}}
2.Delete the folder build in Moudle and rebuild.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐