Programming/Android

No Launcher activity found! 에러와 함께 실행되지 않을 경우

곰네Zip 2014. 7. 22. 14:52

안드로이드 앱을 실행할 때, "No Launcher activity found!"가 나올 경우...


아래와 같이 AndroidManifest.xml파일을 수정해 주면 된다.


AndroidManifest.xml파일에 메인 액티비티가 되어줄 액티비티에 다음 내용을 추가하면 해결

<activiry blabla..> 

<intent-filter>

      <action android:name="android.intent.action.MAIN"></action>

      <category android:name="android.intent.category.LAUNCHER"></category>

 </intent-filter>

</activity>


참조 URL :

http://sir.co.kr/bbs/board.php?bo_table=pg_tip&wr_id=12716

http://androidhuman.tistory.com/262 << 이건 intent-filter에 대한 설명.

반응형