An internal error occurred during: "Starting a project". java.lang.NullPointerException

My Android project compiled well, but suddenly it stopped launching. Then I tried to start other projects from Project Explorer, and the whole project threw the same exception:

An internal error occurred during: "Launching Project". java.lang.NullPointerException

But the console always shows that everything is fine.

Android Launch!
adb is running normally.
Performing com.mmcolrev.LoginActivity activity launch

Here is a screenshot of the error.

enter image description here

+5
source share
9 answers

- , , , - eclipse ADT. , , , . , :

  • Eclipse.
  • Android.
  • .metadata(, ).
  • .metedata.
  • Eclipse ( , , ) .
+10

Gen/R.java eclipse, .

+1

, AVD , ... , .

:

  • ""
  • "/" "..."
  • "" , " ..."
    • , " ", , .

, Eclipse

+1

, Android- . , . , , . , .

/ , IDE , Eclipse .

+1

.

, " ...", - Nullpointer. , , .

, :

(Run Configuration...), , "Project" . , . , .

+1

, Debug As -> Android Native Application, ( , ).

Debug As -> Android Application, Debug As -> Android Native Application.

, . , Debug As -> Android Native Application , .

0

NDK (eclipse mars, ant) , (google tango yellowstone), Debug As -> Android Native Application. , .

Debug As -> Android Application, :

- . . : !

?

"" , Debug As -> Android Native Application .

0

. , Debug, ... Run → Remove All Breakpoints. , .

0

, JRE JRE.

0
source

All Articles