app:transformNative_libsWithStripDebugSymbolForDebug'.完美解决方法

来源:互联网 发布:java什么是类 编辑:程序博客网 时间:2024/04/29 05:32

近期升级到了android studio编译时报app:transformNative_libsWithStripDebugSymbolForDebug'.错误。百度上没有找到解决方法。后来仔细想想美帝人民发明的东西自然要去美帝人民那去找答案啊。

Google了一下找到了关键答案:As mentioned above, this indeed is a compatibility issue with Android Studio 2.2. A workaround is to set both targetSdkVersion and compileSdkVersion to 22.

于是马上开工程目录上右键 open Module setting>Properties选项卡下将 compile Sdk Version 改为 22。编译ok。

看来是是美帝人民脑洞大


0 0
原创粉丝点击