Jump to content

Problème eclipse : No Launcher activity found!


Recommended Posts

Voila, j'ai crée une application android, au début aucun soucis a la compilation !

Mais depuis que j'ai exporté mon application en .apk, voila ce que j'obtient a la compilation :

[2011-04-19 12:40:43 - monAppli] No Launcher activity found!

[2011-04-19 12:40:43 - monAppli] The launch will only sync the application package on the device!

Et l'application n'a pas été mis a jour sur le téléphone.

Quelqu'un aurait-il une idée ? :)

Link to comment
Share on other sites

  • 2 weeks later...

As-tu bien déclarer ton Activity dans le androidManifest.xml ? Parce qu'il semble indiquer qu'il ne trouve aucune Activity à lancer...

Link to comment
Share on other sites

  • 1 month later...

en effet, ton activité doit être correctement déclarée dans le manifest :

<activity
   android:name=".MyActivity"
   android:label="@string/app_name">
   <intent-filter>
       <action android:name="android.intent.action.MAIN" />
       <category android:name="android.intent.category.LAUNCHER" />
   </intent-filter>
</activity>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...