Gradle 2.2.0执行失败:SymbolForDebug [英] Gradle 2.2.0 execution failed: SymbolForDebug
问题描述
从2.1.3-> 2.2.0升级了我的项目的gradle(和附加的库)后,它不再构建,并显示:
After upgrading gradle of my project (and library attached to it) from 2.1.3 -> 2.2.0 it doesn't build anymore and it says:
错误:任务':app:transformNative_libsWithStripDebugSymbolForDebug'的执行失败. java.lang.NullPointerException(无错误消息)
Error:Execution failed for task ':app:transformNative_libsWithStripDebugSymbolForDebug'. java.lang.NullPointerException (no error message)
有人知道这是为什么吗?
Anyone have a clue on why this is?
推荐答案
我在这里找到了答案: https://stackoverflow.com/a/40117446/1088975
I found answer here: https://stackoverflow.com/a/40117446/1088975
重点是将targetSdkVersion和compileSdkVersion都设置为22"
The point is to set both targetSdkVersion and compileSdkVersion to 22"
这篇关于Gradle 2.2.0执行失败:SymbolForDebug的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!