在插件中使用Toast,会出现下面这个崩溃,怎么解决?
发布于 2 年前 作者 446525753 1359 次浏览 来自 问答

03-17 08:47:05.231 5040-5040/com.meapp E/CrashHandler: SUPPORTED_64_BIT_ABIS=[Ljava.lang.String;@9f65714 BOARD=universal7420 IS_TRANSLATION_ASSISTANT_ENABLED=false BOOTLOADER=G9250ZCU2DPJ2 TYPE=user ID=MMB29K TIME=1476724093000 BRAND=samsung TAG=Build SERIAL=06157df60d1a3739 HARDWARE=samsungexynos7420 SUPPORTED_ABIS=[Ljava.lang.String;@9e35bbd CPU_ABI=armeabi-v7a RADIO=unknown IS_DEBUGGABLE=false MANUFACTURER=samsung SUPPORTED_32_BIT_ABIS=[Ljava.lang.String;@20b5d67 isOSUpgradeKK2LL=false VersionName=1.0 TAGS=release-keys IS_SYSTEM_SECURE=false CPU_ABI2=armeabi UNKNOWN=unknown USER=dpi FINGERPRINT=samsung/zeroltezc/zeroltechn:6.0.1/MMB29K/G9250ZCU2DPJ2:user/release-keys FOTA_INFO=1476723610 HOST=SWDD3003 VersionCode=1 PRODUCT=zeroltezc DISPLAY=MMB29K.G9250ZCU2DPJ2 MODEL=SM-G9250 DEVICE=zeroltechn IS_SECURE=false java.lang.NullPointerException: Attempt to invoke interface method ‘android.content.ContentProvider org.tengxin.aY.w(java.lang.String)’ on a null object reference at org.tengxin.aZ.query(Unknown Source) at org.tengxin.bn.a(Unknown Source) at org.tengxin.am.a(Unknown Source) at org.tengxin.al.a(Unknown Source) at org.tengxin.al.invoke(Unknown Source) at java.lang.reflect.Proxy.invoke(Proxy.java:393) at $Proxy5.query(Unknown Source) at android.content.ContentResolver.query(ContentResolver.java:502) at android.content.ContentResolver.query(ContentResolver.java:445) at android.widget.Toast.<init>(Toast.java:152) at android.widget.Toast.makeText(Toast.java:450) at com.gxlogdemo.MainActivity.initFileConfig(MainActivity.java:350) at com.gxlogdemo.MainActivity.onClick(MainActivity.java:200) at android.view.View.performClick(View.java:5697) at android.widget.TextView.performClick(TextView.java:10815) at android.view.View$PerformClick.run(View.java:22526) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7237) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

回到顶部