- AAPT err:http://stackoverflow.com/questions/42580645/errorsome-file-crunching-failed-see-logs-for-details-afer-update-gradle
- Error:(114, 5) error: style attribute '@android:attr/windowEnterAnimation' not found.
Error:failed linking references.
Error:java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:Execution failed for task ':app:processWepocTestDebugResources'.
> Failed to execute aapt
https://stackoverflow.com/questions/45767077/style-attribute-androidattr-windowenteranimation-not-found (移除 android 前面的“@”) - 编译后生成的apk中没有包含aar中的jni lib
使用Android Studio 4.1.2 编译包含aar库(内部包含动态库文件so)的项目,编译生成的apk 的lib中不包含aar文件内部的动态库文件导致应用运行崩溃
排查方法:清缓存重新编译、命令行直接编译、移除.iml重新导入项目、卸载重装AS均不行
修复方法:移除C:UsersJenkins.gradle 下的gralde缓存,重新sync后编译正常。