Bonjour à tous j'aurais besoin de votre aide s'il vous plaît voici mon problème,j'ai des problème pour compilé sur android studio je suis débutant ,voici mon fichier xml peut-être sa vient de la :
Code xml : 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_gravity="top" android:layout_weight="1.1"> </LinearLayout> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="emoticone" android:id="@+id/emoticone" android:singleLine="false" android:background="#ffff8516" android:textColor="#fffeffe7" android:layout_alignParentBottom="true" android:layout_alignParentRight="true" android:layout_alignParentEnd="true" android:layout_marginLeft="15dip" android:layout_marginRight="15dip" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Image" android:id="@+id/Image" android:singleLine="false" android:background="#ffff8516" android:textColor="#fffeffe7" android:layout_alignParentBottom="true" android:layout_alignParentRight="true" android:layout_alignParentEnd="true" android:layout_marginLeft="15dip" android:layout_marginRight="15dip" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Fichier" android:id="@+id/fichier" android:singleLine="false" android:background="#ffff8516" android:textColor="#fffeffe7" android:layout_alignParentBottom="true" android:layout_alignParentRight="true" android:layout_alignParentEnd="true" android:layout_marginLeft="15dip" android:layout_marginRight="15dip" /> </LinearLayout> <EditText android:id="@+id/message" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="Votre texte" android:inputType="numberDecimal" android:layout_weight="1" /> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="A : " android:textStyle="bold" android:textColor="#FF0000" android:gravity="center" /> <EditText android:id="@+id/Contact" android:layout_width="fill_parent" android:layout_height="wrap_content" android:String="Contact" android:inputType="numberDecimal" android:layout_weight="1" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Envoyer" android:id="@+id/button" android:singleLine="false" android:background="#ffff8516" android:textColor="#fffeffe7" /> </LinearLayout> </LinearLayout>
voici la sortie de la console :
Merci de prendre de votre temps pour m'aider n'hésiter pas pour les questions bonne journée .
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 Information:Gradle tasks [:app:generateDebugSources] :app:preBuild :app:preDebugBuild :app:checkDebugManifest :app:prepareDebugDependencies :app:compileDebugAidl UP-TO-DATE :app:compileDebugRenderscript UP-TO-DATE :app:generateDebugBuildConfig UP-TO-DATE :app:generateDebugAssets UP-TO-DATE :app:mergeDebugAssets UP-TO-DATE :app:generateDebugResValues UP-TO-DATE :app:generateDebugResources UP-TO-DATE :app:mergeDebugResources :app:processDebugManifest UP-TO-DATE :app:processDebugResources C:\Users\kevin\AndroidStudioProjects\Tealsms\app\src\main\res\layout-w20dp\activity_main.xml Error:(89) No resource identifier found for attribute 'String' in package 'android' Error:(89) Execution failed for task ':app:processDebugResources'. > com.android.ide.common.internal.LoggedErrorException: Failed to run command: C:\Program Files\adt-bundle-windows-x86_64-20140702\sdk\build-tools\android-4.4W\aapt.exe package -f --no-crunch -I C:\Program Files\adt-bundle-windows-x86_64-20140702\sdk\platforms\android-21\android.jar -M C:\Users\kevin\AndroidStudioProjects\Tealsms\app\build\intermediates\manifests\full\debug\AndroidManifest.xml -S C:\Users\kevin\AndroidStudioProjects\Tealsms\app\build\intermediates\res\debug -A C:\Users\kevin\AndroidStudioProjects\Tealsms\app\build\intermediates\assets\debug -m -J C:\Users\kevin\AndroidStudioProjects\Tealsms\app\build\generated\source\r\debug -F C:\Users\kevin\AndroidStudioProjects\Tealsms\app\build\intermediates\res\resources-debug.ap_ --debug-mode --custom-package com.example.kevin.tealsms -0 apk Error Code: 1 Output: C:\Users\kevin\AndroidStudioProjects\Tealsms\app\build\intermediates\res\debug\layout-w20dp-v13\activity_main.xml:89: error: No resource identifier found for attribute 'String' in package 'android' Information:BUILD FAILED Information:Total time: 25.27 secs Information:2 errors Information:0 warnings Information:See complete output in console
Partager