Home > Mobile >  Please answer Unable to start the activity ComponentInfo abnormal!!!!!!
Please answer Unable to start the activity ComponentInfo abnormal!!!!!!

Time:09-16

Use errors in baidu map is an XML file checked AdroidManifest there should be no problem. The XML document should be registered for the
Bosses genuflect is begged!!!!!!
Process: com. Example. R, PID: 4313
Java. Lang. RuntimeException: Unable to start the activity ComponentInfo {com. Example. R/com. Example, r.m. Ainpages LocMapActivity} : Java. Lang. NullPointerException: Attempt to invoke virtual method 'Java. Lang. String. Android OS. Bundle. Get String (Java. Lang. String)' on a null object reference
. An android app. ActivityThread. PerformLaunchActivity (ActivityThread. Java: 2327)
. An android app. ActivityThread. HandleLaunchActivity (ActivityThread. Java: 2392)
. An android app. ActivityThread. Access the $800 (153) ActivityThread. Java:
An android. App. ActivityThread $H.h andleMessage (ActivityThread. Java: 1305)
An android. OS. Handler. DispatchMessage (Handler. Java: 102)
. An android OS. Stars. Loop (135). Which Java:
. An android app. ActivityThread. Main (5293) ActivityThread. Java:
The at Java. Lang. Reflect. Method. Invoke (Native Method)
The at Java. Lang. Reflect. Method. Invoke (372) Method. The Java:
At com. Android. Internal. OS. $MethodAndArgsCaller ZygoteInit. Run (ZygoteInit. Java: 903)
At com. Android. Internal. OS. ZygoteInit. Main (ZygoteInit. Java: 698)
Under Caused by: Java. Lang. NullPointerException: Attempt to invoke virtual method 'Java. Lang. String. Android OS. Bundle. Get String (Java. Lang. String)' on a null object reference
At com.baidu.mapsdkplatform.com API. Util. PermissionCheck. Init (Unknown Source)
At com.baidu.mapsdkplatform.com API. A.c (Unknown Source)
At com.baidu.mapsdkplatform.com API. C.a. (Unknown Source)
At com. Baidu. Mapapi. SDKInitializer. The initialize (Unknown Source)
At com. Example. R.m ainpages. LocMapActivity. OnCreate (46) LocMapActivity. Java:
. An android app. Activity. PerformCreate (5990) Activity. Java:
. An android app. Instrumentation. CallActivityOnCreate (1106) Instrumentation. Java:
. An android app. ActivityThread. PerformLaunchActivity (ActivityThread. Java: 2280)
. An android app. ActivityThread. HandleLaunchActivity (ActivityThread. Java: 2392)
. An android app. ActivityThread. Access the $800 (153) ActivityThread. Java:
An android. App. ActivityThread $H.h andleMessage (ActivityThread. Java: 1305)
An android. OS. Handler. DispatchMessage (Handler. Java: 102)
. An android OS. Stars. Loop (135). Which Java:
. An android app. ActivityThread. Main (5293) ActivityThread. Java:
The at Java. Lang. Reflect. Method. Invoke (Native Method)
The at Java. Lang. Reflect. Method. Invoke (372) Method. The Java:
At com. Android. Internal. OS. $MethodAndArgsCaller ZygoteInit. Run (ZygoteInit. Java: 903)
At com. Android. Internal. OS. ZygoteInit. Main (ZygoteInit. Java: 698)

CodePudding user response:

To enter the code to see which object to null

CodePudding user response:

DBQ rookie don't know how to find the
Log in only one ats com. Example. R.m ainpages. LocMapActivity. OnCreate (LocMapActivity. Java: 46) points in
Corresponding is that a SDKInitializer. The initialize (getApplicationContext ());

CodePudding user response:

You baidu Android Studio how to Debug debugging code rookie? From this stage come calm calm calm

CodePudding user response:

Have a piece of code in this LocMapActivity called the null pointer exception so would go wrong a good debugging to calm down to find problems

CodePudding user response:

Well I don't worry thank you!

CodePudding user response:

The repetitive again:
NullPointerException: null pointer exception, for the caller to null, has pointed out the Bundle back. Get string is null, explain your getBundle is null, no judgment can directly get string, get string in LocMapActivity search to find the corresponding code changes

New blog still watch it again: https://blog.csdn.net/weimingjue/article/details/87921494,


Yung7086 reply is not very accurate, so deleted

CodePudding user response:

The Bundle is null null pointer

CodePudding user response:

reference 7 floor wang can reply:
long-winded again:
NullPointerException: null pointer exception, for the caller to null, has pointed out the Bundle back. Get string is null, explain your getBundle is null, no judgment can directly get string, get string in LocMapActivity search to find the corresponding code changes

New blog still watch it again: https://blog.csdn.net/weimingjue/article/details/87921494,


Yung7086 reply is not very accurate, so reply deleted


No less accurate say? This is what you call the moderator? Radical speak for themselves, and then delete the wow to reply finally put a pan for me?

CodePudding user response:

reference 13 floor yung7086 reply:
no less accurate say? This is what you call the moderator? Radical speak for themselves, and then delete the wow to reply finally put a pan for me?


I just feel like the original poster is to find problems, your reply some misleading, I point out that your mistakes directly, scene doesn't fit,
Don't push your luck, you put the words again to let everyone see, 5 words every sentence has a serious problem,

CodePudding user response:

reference 14 floor wang can reply:
Quote: refer to the 13th floor yung7086 response:


No less accurate say? This is what you call the moderator? Radical speak for themselves, and then delete the wow to reply finally put a pan for me?


I just feel like the original poster is to find problems, your reply some misleading, I point out that your mistakes directly, scene doesn't fit,
Don't push your luck, you put the words again to let everyone see, 5 words every sentence has a serious problem,


nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related