Home > Mobile >  Android studio debugging always said am start - n error what reason, for a great god give advice or
Android studio debugging always said am start - n error what reason, for a great god give advice or

Time:10-16

Android studio real machine debugging has been an error, under the guidance of the great god, and see what the problem out?



Error while executing: am start - n ". Com. Quanziben zengyinbao. The activity/com. Quanziben. Zengyinbao. Activity. SplashActivity "- a android. Intent. Action. The MAIN - c android. Intent. The category. The LAUNCHER
Starting: to the Intent {act=android. Intent. Action. The MAIN cat=[android. Intent. The category. The LAUNCHER] CMP=com. Quanziben. Zengyinbao. The activity/SplashActivity}
The Error type 3
Error: Activity class {com. Quanziben. Zengyinbao. The Activity/com. Quanziben. Zengyinbao. Activity. SplashActivity} does not exist.

Error while Launching the activity



CodePudding user response:

According to the tip is said you this path SplashActivity class does not exist, under his control,

CodePudding user response:

Checked, it's not the problem, pack out apk is no problem, but not a debug directly on the phone, good strange questions

CodePudding user response:

For since,,,,,,,,

CodePudding user response:

Change a phone line, I was drunk, don't understand what's the problem

CodePudding user response:

Indeed. I also met the same problem, change the cell phone is ok

CodePudding user response:

reference 5 floor ygswine reply:
indeed. I also met the same problem, change the cell phone can

Very has no language problem, can you solve it?

CodePudding user response:

May be Android Studio automatically generated configuration,
The solution: the project folder from computer deleted, the backup project update to the original directory with respect to OK!

CodePudding user response:

Had to change the SDK is estimated AS a bug

CodePudding user response:

Did solve the building Lord, I met the same problem also

CodePudding user response:

No problem, looking forward to have directly

CodePudding user response:

To open a simulator with high SDK is ok,

CodePudding user response:

Thank you for you a blessing,

CodePudding user response:

It is ok to find Clean Project

CodePudding user response:

CodePudding user response:

+ 1 in a mobile phone

CodePudding user response:

Estimation is caused by manually uninstall the application, the clear project, effective measurement

CodePudding user response:

Pure clean project is no good, you choose File - Invalidate Caches/Restart, clear the cache and Restart the AS, can run normally,

CodePudding user response:

refer to 17th floor Butterfly_lily1204 response:
pure clean project is no good, you choose File - Invalidate Caches/Restart, clear the cache and Restart the AS, can run normally,
I tried or not

CodePudding user response:

Close test, the clean project can

CodePudding user response:

references the 19th floor wwlwwy89 response:
measurement, the clean project can
for MAO I tried not?

CodePudding user response:

It can be seen by your log is written wrong, your path - n behind the path of the quotes are divided into two parts, separated by "/" in the first part is the application of the package name, by the adb shell package check PM list
, are generally com. * * *. * * *, the second part is the activity of the path name, is under the SRC directory under the com directory, has been to your class name,


For example a Settings that I am start -n ". Com. Android Settings/com. Mycode. HMI. MainActivity "

Your this com. Quanziben. Zengyinbao. The activity/com. Quanziben. Zengyinbao. Activity. SplashActivity should be the first part is wrong, under your control

CodePudding user response:

refer to 21st floor dsa15654 response:
log by you can see that is your path to write wrong, -n behind the path of the quotes are divided into two parts, separated by "/" in the first part is the application of the package name, by the adb shell package check PM list
, are generally com. * * *. * * *, the second part is the activity of the path name, is under the SRC directory under the com directory, has been to your class name,


For example a Settings that I am start -n ". Com. Android Settings/com. Mycode. HMI. MainActivity "

Your this com. Quanziben. Zengyinbao. The activity/com. Quanziben. Zengyinbao. Activity. SplashActivity should be the first part is wrong, you control the



Embarrassed, the second picture should be the

CodePudding user response:

Equipment factory default, no problem to solve the problem

CodePudding user response:

Meet installation without a try clean engineering then close AS basic can solve and restart the phone

CodePudding user response:

Manually delete the Android build in the studio project files, and rebulid again, this is done,

CodePudding user response:

Pro measuring effective cleaning project! Thanks for sharing!

CodePudding user response:

Put his hand on the original this app delete, you can run, I is this kind of situation,

CodePudding user response:


Click the File Setting the first) RUN

CodePudding user response:

nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related