uniapp使用jpush插件,在安卓离线打包release模式下报错
使用极光的示例模板里面的UniPlugin-JPush-Android
直接运行或debug模式打包可以正常使用
release模式打包后 初始化和任意操作都无法使用并且报错
示例模板地址:https://github.com/jpush/jpush-hbuilder-plugin
错误日志
2021-06-24 11:42:08.871 18565-18565/? E/NativeInvokeHelper: cn.jiguang.uniplugin_jpush.JPushModule@ca6093c Invoker initJPushService exception:java.lang.reflect.InvocationTargetException
2021-06-24 11:42:08.871 18565-18565/? E/NativeInvokeHelper: cn.jiguang.uniplugin_jpush.JPushModule@ca6093c Invoker setLoggerEnable exception:java.lang.reflect.InvocationTargetException
2021-06-24 11:43:07.492 18565-18565/? E/NativeInvokeHelper: cn.jiguang.uniplugin_jpush.JPushModule@ca6093c Invoker setLoggerEnable exception:java.lang.reflect.InvocationTargetException
2021-06-24 11:43:20.621 18565-18565/? E/NativeInvokeHelper: cn.jiguang.uniplugin_jpush.JPushModule@ca6093c Invoker addLocalNotification exception:java.lang.reflect.InvocationTargetException
0 个回复