Android: “Path for project must have only one segment”

前端 未结 6 1647
渐次进展
渐次进展 2020-12-04 08:50

I just setup the NotePad sample project as described here, but when I try to launch it (Ctrl+F11) I received the following error message box:

Path for

6条回答
  •  有刺的猬
    2020-12-04 09:32

    I faced the same problem and resolved it in the following steps:

    1. Expand the src directory
    2. Expand com.example.Login (the app name)
    3. Right click on MainActivity.java
    4. Go to run as-> run configurations
    5. Browse your project
    6. Launch Default activity
    7. Run

    note: Before doing this, set an AVD by using Android virtual device manager.

提交回复
热议问题