GitHub上工程地址
https://github.com/jpush/jpush-hbuilder-demo.git
android studio4.0.1 在编译老项目时,由于NDK采用了android-ndk-r9b,编译出现如下错误
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformNativeLibsWithStripDebugSymbolForDebug'.
> java.lang.NullPointerException (no error message)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
问题分析:
1. 当前工程并没有jni代码,不是由编译c/c++代码引起
2. 出现该问题,肯定是在编译时NDK对so做了一些操作
注意: