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

后端 未结 10 2261
野趣味
野趣味 2021-01-18 04:38

My android project was compiling well but suddenly it stopped launching. Then I tried to launch other projects from Project Explorer and all project threw same exception:

10条回答
  •  甜味超标
    2021-01-18 05:31

    This is a cause of AVD is not picked because you might delete it or it is not picked up correctly ... in other words deployment target is not specified or it has some problem in picking up a device.

    To Resolve this:

    • Right click your project and choose "Properties"
    • From "Run/Debug" Settings, Highlight over your application name then hit "Edit..."
    • In "Target" tab, you have to choose a virtual device to be picked automatically under option named "Automatically pick compatible device..."
      • to avoid such prompt you could choose the first option "Always prompt to pick device" that will ask you everytime to choose or pick a device inside which you want to run your app.

    If it still not working restart Eclipse

提交回复
热议问题