Bonjour je suis un tutoriel video pour debuter sous Android voila depuis que j'ai fait la mise a jour de eclipse galiléo vers eclipse indigo je rencontre pas mal de problème.
je crée un nouveau projet avec le SDK android 1.5
Dès que je crée un nouveau projet et que je lance dans l'emulateur cela fonctionne mais dès que j'ajoute un bouton sur mon layout cela ne compile plus du tout cela ne le faisait pas avant je ne comprends pas pourquoi.
maintenant je vois un fichier Main.out.xml alors que dans la version precedente il n'etait pas présent.
je mets le log de la console.
Merci à tous
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
29
30
31 [2011-09-11 14:25:46 - Bonjour] ------------------------------ [2011-09-11 14:25:46 - Bonjour] Android Launch! [2011-09-11 14:25:46 - Bonjour] adb is running normally. [2011-09-11 14:25:46 - Bonjour] Performing com.formation.bonjour.Main activity launch [2011-09-11 14:25:46 - Bonjour] Automatic Target Mode: launching new emulator with compatible AVD 'Emulateur1.5' [2011-09-11 14:25:46 - Bonjour] Launching a new emulator with Virtual Device 'Emulateur1.5' [2011-09-11 14:25:57 - Bonjour] New emulator found: emulator-5554 [2011-09-11 14:25:57 - Bonjour] Waiting for HOME ('android.process.acore') to be launched... [2011-09-11 14:27:08 - Bonjour] HOME is up on device 'emulator-5554' [2011-09-11 14:27:08 - Bonjour] Uploading Bonjour.apk onto device 'emulator-5554' [2011-09-11 14:27:08 - Bonjour] Installing Bonjour.apk... [2011-09-11 14:27:38 - Bonjour] Success! [2011-09-11 14:27:38 - Bonjour] Starting activity com.formation.bonjour.Main on device emulator-5554 [2011-09-11 14:36:19 - Bonjour] Error in an XML file: aborting build. [2011-09-11 14:36:20 - Bonjour] res\layout\main.xml:0: error: Resource entry main is already defined. [2011-09-11 14:36:20 - Bonjour] res\layout\main.out.xml:0: Originally defined here. [2011-09-11 14:36:20 - Bonjour] C:\Documents and Settings\Administrateur\workspace\Bonjour\res\layout\main.out.xml:1: error: Error parsing XML: no element found [2011-09-11 14:39:12 - Bonjour] res\layout\main.xml:0: error: Resource entry main is already defined. [2011-09-11 14:39:12 - Bonjour] res\layout\main.out.xml:0: Originally defined here. [2011-09-11 14:39:12 - Bonjour] C:\Documents and Settings\Administrateur\workspace\Bonjour\res\layout\main.out.xml:1: error: Error parsing XML: no element found [2011-09-11 14:44:52 - Bonjour] Error in an XML file: aborting build. [2011-09-11 14:44:52 - Bonjour] res\layout\main.xml:0: error: Resource entry main is already defined. [2011-09-11 14:44:52 - Bonjour] res\layout\main.out.xml:0: Originally defined here. [2011-09-11 14:44:52 - Bonjour] C:\Documents and Settings\Administrateur\workspace\Bonjour\res\layout\main.out.xml:1: error: Error parsing XML: no element found [2011-09-11 14:45:51 - Bonjour] res\layout\main.xml:0: error: Resource entry main is already defined. [2011-09-11 14:45:51 - Bonjour] res\layout\main.out.xml:0: Originally defined here. [2011-09-11 14:45:51 - Bonjour] C:\Documents and Settings\Administrateur\workspace\Bonjour\res\layout\main.out.xml:1: error: Error parsing XML: no element found [2011-09-11 14:45:52 - Bonjour] Error in an XML file: aborting build. [2011-09-11 14:45:52 - Bonjour] res\layout\main.xml:0: error: Resource entry main is already defined. [2011-09-11 14:45:52 - Bonjour] res\layout\main.out.xml:0: Originally defined here. [2011-09-11 14:45:52 - Bonjour] C:\Documents and Settings\Administrateur\workspace\Bonjour\res\layout\main.out.xml:1: error: Error parsing XML: no element found
Cordialement,
bypbop
Partager