rn集成现有的android 项目,摇一摇后,出现弹窗,点击dev settings 崩溃(不要说没有配置DevSettingsActivity之类,我都配置好了),下面是详细的堆栈信息



  • 10-20 11:54:15.200 831-831/? E/cnss-daemon: Stale or unreachable neighbors, ndm state: 4
    10-20 11:54:16.943 465-2623/? E/ANDR-PERF-MPCTL: invalid request, no optimizations performed

                                                 --------- beginning of system
    

    10-20 11:54:17.059 15079-15079/com.ifreetalk.ftalk E/CrashHandler: In thread: Thread[main,5,main]
    UncaughtException detected: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ifreetalk.ftalk/com.facebook.react.devsupport.DevSettingsActivity}: android.view.InflateException: Binary XML file line #29: Error inflating class com.android.ui.ManageSimPreference
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2825)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2886)
    at android.app.ActivityThread.-wrap12(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1623)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:186)
    at android.app.ActivityThread.main(ActivityThread.java:6491)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:914)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:804)
    Caused by: android.view.InflateException: Binary XML file line #29: Error inflating class com.android.ui.ManageSimPreference
    at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:443)
    at android.preference.GenericInflater.rInflate(GenericInflater.java:483)
    at android.preference.GenericInflater.rInflate(GenericInflater.java:495)
    at android.preference.GenericInflater.inflate(GenericInflater.java:327)
    at android.preference.GenericInflater.inflate(GenericInflater.java:264)
    at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:280)
    at android.preference.PreferenceActivity.addPreferencesFromResource(PreferenceActivity.java:1534)
    at com.facebook.react.devsupport.DevSettingsActivity.onCreate(DevSettingsActivity.java:28)
    at android.app.Activity.performCreate(Activity.java:6967)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2886) 
    at android.app.ActivityThread.-wrap12(ActivityThread.java) 
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1623) 
    at android.os.Handler.dispatchMessage(Handler.java:102) 
    at android.os.Looper.loop(Looper.java:186) 
    at android.app.ActivityThread.main(ActivityThread.java:6491) 
    at java.lang.reflect.Method.invoke(Native Method) 
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:914) 
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:804) 
    Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.ui.ManageSimPreference" on path: DexPathList[[zip file "/system/framework/org.simalliance.openmobileapi.jar", zip file "/data/app/com.ifreetalk.ftalk-1/base.apk"],nativeLibraryDirectories=[/vendor/lib/openssl, /data/app/com.ifreetalk.ftalk-1/lib/arm, /system/fake-libs, /data/app/com.ifreetalk.ftalk-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    at android.preference.GenericInflater.createItem(GenericInflater.java:376)
    at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:432)
    at android.preference.GenericInflater.rInflate(GenericInflater.java:483) 
    at android.preference.GenericInflater.rInflate(GenericInflater.java:495) 
    at android.preference.GenericInflater.inflate(GenericInflater.java:327) 
    at android.preference.GenericInflater.inflate(GenericInflater.java:264) 
    at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:280) 
    at android.preference.PreferenceActivity.addPreferencesFromResource(PreferenceActivity.java:1534) 
    at com.facebook.react.devsupport.DevSettingsActivity.onCreate(DevSettingsActivity.java:28) 
    at android.app.Activity.performCreate(Activity.java:6967) 
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119) 
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778) 
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2886) 
    at android.app.ActivityThread.-wrap12(ActivityThread.java) 
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1623) 
    at android.os.Handler.dispatchMessage(Handler.java:102) 
    at android.os.Looper.loop(Looper.java:186) 
    at android.app.ActivityThread.main(ActivityThread.java:6491) 
    at java.lang.reflect.Method.invoke(Native Method) 
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:914) 
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:804) 
    10-20 11:54:17.098 15079-15079/com.ifreetalk.ftalk E/pb: enter CrashTracker.getCrashExtraInfo()
    10-20 11:54:17.115 15079-15079/com.ifreetalk.ftalk E/LogManager: LogManager in miniqb:logException [class java.lang.String]
    10-20 11:54:17.432 15079-15079/com.ifreetalk.ftalk E/Tinker.TinkerUncaughtExceptionHandler: uncaughtException:Unable to start activity ComponentInfo{com.ifreetalk.ftalk/com.facebook.react.devsupport.DevSettingsActivity}: android.view.InflateException: Binary XML file line #29: Error inflating class com.android.ui.ManageSimPreference
    10-20 11:54:17.433 15079-15079/com.ifreetalk.ftalk E/Tinker.UncaughtHandler: catch exception when loading tinker:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ifreetalk.ftalk/com.facebook.react.devsupport.DevSettingsActivity}: android.view.InflateException: Binary XML file line #29: Error inflating class com.android.ui.ManageSimPreference
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2825)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2886)
    at android.app.ActivityThread.-wrap12(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1623)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:186)
    at android.app.ActivityThread.main(ActivityThread.java:6491)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:914)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:804)
    Caused by: android.view.InflateException: Binary XML file line #29: Error inflating class com.android.ui.ManageSimPreference
    at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:443)
    at android.preference.GenericInflater.rInflate(GenericInflater.java:483)
    at android.preference.GenericInflater.rInflate(GenericInflater.java:495)
    at android.preference.GenericInflater.inflate(GenericInflater.java:327)
    at android.preference.GenericInflater.inflate(GenericInflater.java:264)
    at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:280)
    at android.preference.PreferenceActivity.addPreferencesFromResource(PreferenceActivity.java:1534)
    at com.facebook.react.devsupport.DevSettingsActivity.onCreate(DevSettingsActivity.java:28)
    at android.app.Activity.performCreate(Activity.java:6967)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2886) 
    at android.app.ActivityThread.-wrap12(ActivityThread.java) 
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1623) 
    at android.os.Handler.dispatchMessage(Handler.java:102) 
    at android.os.Looper.loop(Looper.java:186) 
    at android.app.ActivityThread.main(ActivityThread.java:6491) 
    at java.lang.reflect.Method.invoke(Native Method) 
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:914) 
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:804) 
    Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.ui.ManageSimPreference" on path: DexPathList[[zip file "/system/framework/org.simalliance.openmobileapi.jar", zip file "/data/app/com.ifreetalk.ftalk-1/base.apk"],nativeLibraryDirectories=[/vendor/lib/openssl, /data/app/com.ifreetalk.ftalk-1/lib/arm, /system/fake-libs, /data/app/com.ifreetalk.ftalk-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    at android.preference.GenericInflater.createItem(GenericInflater.java:376)
    at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:432)
    at android.preference.GenericInflater.rInflate(GenericInflater.java:483) 
    at android.preference.GenericInflater.rInflate(GenericInflater.java:495) 
    at android.preference.GenericInflater.inflate(GenericInflater.java:327) 
    at android.preference.GenericInflater.inflate(GenericInflater.java:264) 
    at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:280) 
    at android.preference.PreferenceActivity.addPreferencesFromResource(PreferenceActivity.java:1534) 
    at com.facebook.react.devsupport.DevSettingsActivity.onCreate(DevSettingsActivity.java:28) 
    at android.app.Activity.performCreate(Activity.java:6967) 
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119) 
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778) 
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2886) 
    at android.app.ActivityThread.-wrap12(ActivityThread.java) 
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1623) 
    at android.os.Handler.dispatchMessage(Handler.java:102) 
    at android.os.Looper.loop(Looper.java:186) 
    at android.app.ActivityThread.main(ActivityThread.java:6491) 
    at java.lang.reflect.Method.invoke(Native Method) 
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:914) 
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:804)

                                                                             --------- beginning of crash
    

    10-20 11:54:17.434 15079-15079/com.ifreetalk.ftalk E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.ifreetalk.ftalk, PID: 15079
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ifreetalk.ftalk/com.facebook.react.devsupport.DevSettingsActivity}: android.view.InflateException: Binary XML file line #29: Error inflating class com.android.ui.ManageSimPreference
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2825)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2886)
    at android.app.ActivityThread.-wrap12(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1623)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:186)
    at android.app.ActivityThread.main(ActivityThread.java:6491)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:914)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:804)
    Caused by: android.view.InflateException: Binary XML file line #29: Error inflating class com.android.ui.ManageSimPreference
    at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:443)
    at android.preference.GenericInflater.rInflate(GenericInflater.java:483)
    at android.preference.GenericInflater.rInflate(GenericInflater.java:495)
    at android.preference.GenericInflater.inflate(GenericInflater.java:327)
    at android.preference.GenericInflater.inflate(GenericInflater.java:264)
    at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:280)
    at android.preference.PreferenceActivity.addPreferencesFromResource(PreferenceActivity.java:1534)
    at com.facebook.react.devsupport.DevSettingsActivity.onCreate(DevSettingsActivity.java:28)
    at android.app.Activity.performCreate(Activity.java:6967)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2886) 
    at android.app.ActivityThread.-wrap12(ActivityThread.java) 
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1623) 
    at android.os.Handler.dispatchMessage(Handler.java:102) 
    at android.os.Looper.loop(Looper.java:186) 
    at android.app.ActivityThread.main(ActivityThread.java:6491) 
    at java.lang.reflect.Method.invoke(Native Method) 
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:914) 
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:804) 
    Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.ui.ManageSimPreference" on path: DexPathList[[zip file "/system/framework/org.simalliance.openmobileapi.jar", zip file "/data/app/com.ifreetalk.ftalk-1/base.apk"],nativeLibraryDirectories=[/vendor/lib/openssl, /data/app/com.ifreetalk.ftalk-1/lib/arm, /system/fake-libs, /data/app/com.ifreetalk.ftalk-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    at android.preference.GenericInflater.createItem(GenericInflater.java:376)
    at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:432)
    at android.preference.GenericInflater.rInflate(GenericInflater.java:483) 
    at android.preference.GenericInflater.rInflate(GenericInflater.java:495) 
    at android.preference.GenericInflater.inflate(GenericInflater.java:327) 
    at android.preference.GenericInflater.inflate(GenericInflater.java:264) 
    at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:280) 
    at android.preference.PreferenceActivity.addPreferencesFromResource(PreferenceActivity.java:1534) 
    at com.facebook.react.devsupport.DevSettingsActivity.onCreate(DevSettingsActivity.java:28) 
    at android.app.Activity.performCreate(Activity.java:6967) 
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119) 
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778) 
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2886) 
    at android.app.ActivityThread.-wrap12(ActivityThread.java) 
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1623) 
    at android.os.Handler.dispatchMessage(Handler.java:102) 
    at android.os.Looper.loop(Looper.java:186) 
    at android.app.ActivityThread.main(ActivityThread.java:6491) 
    at java.lang.reflect.Method.invoke(Native Method) 
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:914) 
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:804) 
    10-20 11:54:17.497 1584-1821/? E/ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ LISTEN id=685, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
    10-20 11:54:17.500 1584-1821/? E/ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ LISTEN id=684, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
    10-20 11:54:17.535 31249-15661/? E/ErrorSaveTask: /data/system/dropbox/data_app_crash@1508471657504.txt.gz log not found!
    10-20 11:54:17.535 31249-15661/? E/ErrorSaveTask: verifyError(): occur time is empty or app name is empty, return false
    10-20 11:54:17.963 15628-15663/? E/gpuinfo: glRenderer:Adreno (TM) 506, glVendor:Qualcomm, glVersion:OpenGL ES 3.2 V@145.0 (GIT@I23cc4685e6)
    10-20 11:54:18.311 15628-15704/? E/Volley: [5770] BasicNetwork.performRequest: Unexpected response code 500 for http://client.activity.ifreetalk.com/ActivityAnnounce/check/version/6.0.007/channel/20012/token/0/u/0/t/0/v/6.0.007/p/2/source/20012/r/0/s/0/section/0/protocol/86/c/1
    10-20 11:54:18.334 15628-15628/? E/ICU_PROXY_LOG(Java_ICUProxyUCharacter): getPropertyValueEnum:null
    10-20 11:54:18.372 15628-15739/? E/CheckPermission: _bluetooth code = 1
    10-20 11:54:18.531 1954-1954/? E/SOGOUIME_JNI: reset
    10-20 11:54:18.531 1954-1954/? E/SOGOUIME_JNI: getCandidates
    10-20 11:54:18.531 1954-1954/? E/SOGOUIME_JNI: ime_get_uncommitted_length
    10-20 11:54:18.531 1954-1954/? E/SOGOUIME_JNI: getCandidates
    10-20 11:54:18.531 1954-1954/? E/SOGOUIME_JNI: ime_get_uncommitted_length
    10-20 11:54:18.531 1954-1954/? E/SOGOUIME_JNI: ime_get_uncommitted_length
    10-20 11:54:18.531 1954-1954/? E/SOGOUIME_JNI: ime_get_committed_length
    10-20 11:54:18.531 1954-1954/? E/SOGOUIME_JNI: getComposingInfo
    10-20 11:54:18.531 1954-1954/? E/SOGOUIME_JNI: getComposingInfo
    10-20 11:54:18.531 1954-1954/? E/SOGOUIME_JNI: getCorrectInfo
    10-20 11:54:18.532 1954-1954/? E/SOGOUIME_JNI: getComposingInfo
    10-20 11:54:18.532 1954-1954/? E/SOGOUIME_JNI: invalidateCommitWordPinyinNative
    10-20 11:54:18.532 1954-1954/? E/SOGOUIME_JNI: ime_set_hard_kb_enable
    10-20 11:54:22.260 831-831/? E/cnss-daemon: Stale or unreachable neighbors, ndm state: 16
    10-20 11:54:30.204 831-831/? E/cnss-daemon: gateway mac address: %02x:%02x:%02x:%02x:%02x:%02x
    : 00:00:00:00:00:00
    10-20 11:54:30.205 831-831/? E/cnss-daemon: Invalid mac address: 0x555555f110M
    10-20 11:54:30.680 831-831/? E/cnss-daemon: Stale or unreachable neighbors, ndm state: 4


登录后回复