Android异常
Grit_
这个作者很懒,什么都没留下…
展开
-
Expected NDK STL shared object file at /home/android/SoftwareSet/androidStudioSDK/ndk-bundle/toolcha
Expected NDK STL shared object file at /home/android/SoftwareSet/androidStudioSDK/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/arm-linux-androideabi/libc++_shared.so查找问题解决方法查找问题在使用ndk编译代码时,出现标题中提示的错误;通过网上查询(stackoverflow上边的解释),是因为ndk原创 2020-10-09 15:13:37 · 946 阅读 · 0 评论 -
使用EventBus,debug不报错,release版本报错:its super classes have no public methods with the @Subscribe annotat
出现该问题是因为未添加 EventBus的混淆,所以在Debug版本中不报错,但是却在Release版本报错;解决方法:在混淆文件“proguard-rules.pro”中添加-keepattributes *Annotation*-keepclassmembers class ** { @org.greenrobot.eventbus.Subscribe ;}-keep enum原创 2018-01-17 21:13:23 · 760 阅读 · 0 评论