Project in Android Studio won't start - Activity Class Not Specified

前端 未结 4 1367
有刺的猬
有刺的猬 2021-01-04 01:54

According to new IDE for android I decided to import projects from my old eclipse. Unfortunatelly I cannot run them because of information Error: Activity Class not sp

4条回答
  •  说谎
    说谎 (楼主)
    2021-01-04 02:30

    You may have to edit the launch configuration to tell it what Activity to run, or if it is running your default activity, ensure your Manifest is correctly stating this Activity.

    Click the dropdown next to the Green Run Arrow on the top bar. And press 'Edit configurations':

    enter image description here

提交回复
热议问题