Execution failed for task ':app:transformNative_libsWithStripDebugSymbolForRelease'.
来源:互联网 发布:达内培训 京南京java 编辑:程序博客网 时间:2024/06/05 19:15
最近在项目中突然碰到这个问题,查了好多资料,感觉最有用的就是这个方法,做个笔记!
Error:Execution failed for task ':app:transformNative_libsWithStripDebugSymbolForRelease'.
> Java.lang.NullPointerException (no error message)
在对应项目的 build.gradle中
后来注意到配置为 SDK 和 buildTools 版本不一致
compileSdkVersion 19
buildToolsVersion "25.0.0"
解决办法:
改为 相同后编译通过
compileSdkVersion 23
buildToolsVersion '23.0.1'
阅读全文
0 0
- Execution failed for task ':app:transformNative_libsWithStripDebugSymbolForRelease'.
- Execution failed for task ':app:transformNative_libsWithStripDebugSymbolForRelease'.
- Error:Execution failed for task ':app:transformNative_libsWithStripDebugSymbolForRelease'.
- Execution failed for task ':app:transformNative_libsWithStripDebugSymbolForRelease'.
- Studio2.3 Error:Execution failed for task ':app:transformNative_libsWithStripDebugSymbolForRelease'
- Error:Execution failed for task ':app:dexDebug'.
- Execution failed for task ':app:dexDebug'.
- Error:Execution failed for task ':app:compileDebugAidl'.
- Execution failed for task ':app:compileDebugNdk'
- Error:Execution failed for task ':app:packageDebug'.
- Error:Execution failed for task ':app:dexDebug'.
- Error:Execution failed for task ':app:processDebugResources'.
- Execution failed for task ':app:processDebugManifest'
- Execution failed for task:"app:clean"
- Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'
- Error:Execution failed for task ':app:transformClassesWithDexForDebug&#
- Execution failed for task ':app:mergeDebugResources'
- Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
- Tomcat 报错 (The tomcat server configuration at /Servers/Tomcat v7.0 Server at localhost-config is mi)
- hdu 1166 敌兵布阵(线段树模板题)
- python遇到的问题
- Framework7中利用download和external实现a标签下载文件和图片
- javascript事件类型
- Execution failed for task ':app:transformNative_libsWithStripDebugSymbolForRelease'.
- 深信院场馆管理三维地理信息系统项目开展顺利
- Java—static关键字详解
- 【Python】
- cocos2d 遮罩的实现
- vscode 配置 python
- Spark一些常用的数据处理方法-2.MLlib基础统计方法
- 如何搭建基于Java的网站服务器
- 浅谈算法和数据结构: 九 平衡查找树之红黑树