So, I've been searching for 2 hours, and I still don't find an answer to my problem.
I run my android project (Eclipse Luna) with the AVD, the emulator works but here are the logs:
adb is running normally.
Performing sync
Automatic Target Mode: Preferred AVD 'test1' is not available. Launching new emulator.
Launching a new emulator with Virtual Device 'test1'
New emulator found: emulator-5554
Waiting for HOME ('android.process.acore') to be launched...
HOME is up on device 'emulator-5554'
Uploading FindThem.apk onto device 'emulator-5554'
Done!
I know it may be a problem in the AndroidManifest, but i've checked, and the code is ok:
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.app.findthem.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.action.LAUNCHER"/>
</intent-filter>
</activity>
(and it's followed by the others activity's).
I don't get it, can someone help me please? Sorry for my english, i'm french native. And sorry if the answer is already post somewhere, but I searched and found nothing that solve my issue.
Thanks for reading and helping.
<category android:name="android.intent.action.LAUNCHER"/>
应该
<category android:name="android.intent.category.LAUNCHER" />
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.