Problème pour débuter dans le développement Android
Bonjour,:)
je débute dans le développement Android. J'ai Windows XP,
j'ai installée JDK version 8, eclipse et SDK depuis du site www.eclipse.org.
Mon problème:
l'application avec la strind "Hellow Word!" ne se charge pas dans émulateur.
Message console:
Citation:
[2014-09-11 14:31:22 - FirstProg] ------------------------------
[2014-09-11 14:31:22 - FirstProg] Android Launch!
[2014-09-11 14:31:22 - FirstProg] adb is running normally.
[2014-09-11 14:31:22 - FirstProg] Performing com.sample.firstprog.MainActivity activity launch
[2014-09-11 14:31:58 - FirstProg] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'AVD442'
[2014-09-11 14:31:58 - FirstProg] Uploading FirstProg.apk onto device 'emulator-5554'
[2014-09-11 14:31:59 - FirstProg] Installing FirstProg.apk...
[2014-09-11 14:32:18 - FirstProg] Installation error: Unknown failure
[2014-09-11 14:32:18 - FirstProg] Please check logcat output for more details.
[2014-09-11 14:32:18 - FirstProg] Launch canceled!
Quand je regarde LogCat, il n'y a riens dedans, il est vide!
Eclipse voit mon émulateur:
je fait Window > Show View > Other >Device et il est là.
AndroidManifest.xml
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.sample.firstprog"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="19"
android:targetSdkVersion="19" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".MainActivity"></activity>
</application>
</manifest> |
Je fais ce tuto, il est en russe mais il y a plus de copies d'écrans que de texte:
http://startandroid.ru/ru/uroki/vse-...d-proekta.html
Merci pour toute l'aide que vous pourrez m'apporter.:)