Gradle 2.2.0执行失败:SymbolForDebug [英] Gradle 2.2.0 execution failed: SymbolForDebug

查看:64
本文介绍了Gradle 2.2.0执行失败: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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆