这个空指针是什么为空??
发布于 2 年前 作者 564708969 1169 次浏览 来自 问答

java.lang.RuntimeException:Unable to create service cn.jpush.android.service.PushService: java.lang.NullPointerException: Attempt to read from field ‘java.lang.String org.tengxin.ax.q’ on a null object reference 2 android.app.ActivityThread.handleCreateService(ActivityThread.java:3037) 3 … 4 Caused by: 5 java.lang.NullPointerException:Attempt to read from field ‘java.lang.String org.tengxin.ax.q’ on a null object reference 6 org.tengxin.av.v(Unknown Source) 7 org.tengxin.av.t(Unknown Source) 8 org.tengxin.dZ.loadClass(Unknown Source) 9 java.lang.ClassLoader.loadClass(ClassLoader.java:504) 10 java.lang.ClassLoader.loadClass(ClassLoader.java:469) 11 cn.jpush.android.service.ServiceInterface.b(Unknown Source) 12 cn.jpush.android.service.PushService.onCreate(Unknown Source) 13 android.app.ActivityThread.handleCreateService(ActivityThread.java:3027) 14 android.app.ActivityThread.access$1800(ActivityThread.java:182) 15 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1576) 16 android.os.Handler.dispatchMessage(Handler.java:111) 17 android.os.Looper.loop(Looper.java:194) 18 android.app.ActivityThread.main(ActivityThread.java:5682) 19 java.lang.reflect.Method.invoke(Native Method) 20 java.lang.reflect.Method.invoke(Method.java:372) 21 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:963) 22 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:758)

1 回复

建议不要把推送SDK放在插件里面,因为推送是常驻的

回到顶部