IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Android Studio Java Discussion :

Erreur dans Android Studio


Sujet :

Android Studio Java

  1. #1
    Membre chevronné

    Homme Profil pro
    développeur
    Inscrit en
    Octobre 2013
    Messages
    1 576
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Oise (Picardie)

    Informations professionnelles :
    Activité : développeur

    Informations forums :
    Inscription : Octobre 2013
    Messages : 1 576
    Points : 1 989
    Points
    1 989
    Par défaut Erreur dans Android Studio
    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 :

    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
    Merci de prendre de votre temps pour m'aider n'hésiter pas pour les questions bonne journée .

  2. #2
    bm
    bm est déconnecté
    Membre confirmé

    Homme Profil pro
    Freelance
    Inscrit en
    Octobre 2002
    Messages
    874
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Drôme (Rhône Alpes)

    Informations professionnelles :
    Activité : Freelance
    Secteur : Tourisme - Loisirs

    Informations forums :
    Inscription : Octobre 2002
    Messages : 874
    Points : 556
    Points
    556
    Billets dans le blog
    6
    Par défaut
    J'utilise aussi Andro St , et attention au fait que c'est un outil en phase de développement ( donc encore insuffisant ) .

    Eclipse est plus fiable , mais la machine virtuelle peut aussi partir en erreur .
    C'est souvent le fichier de production apk sur le smartphone , qui va contredire les tests
    et fonctionnera parfaitement .

    Android est une API spéciale et imprévisible pendant la phase de développement .

  3. #3
    Membre chevronné

    Homme Profil pro
    développeur
    Inscrit en
    Octobre 2013
    Messages
    1 576
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Oise (Picardie)

    Informations professionnelles :
    Activité : développeur

    Informations forums :
    Inscription : Octobre 2013
    Messages : 1 576
    Points : 1 989
    Points
    1 989
    Par défaut
    Merci de votre réponse,Vous me conseillez de biffurquer sur eclipse ?

  4. #4
    bm
    bm est déconnecté
    Membre confirmé

    Homme Profil pro
    Freelance
    Inscrit en
    Octobre 2002
    Messages
    874
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Drôme (Rhône Alpes)

    Informations professionnelles :
    Activité : Freelance
    Secteur : Tourisme - Loisirs

    Informations forums :
    Inscription : Octobre 2002
    Messages : 874
    Points : 556
    Points
    556
    Billets dans le blog
    6
    Par défaut
    En effet , conseil relatif n'est pas négligeable , mais tout peut changer dans 6 mois .


  5. #5
    Membre chevronné

    Homme Profil pro
    développeur
    Inscrit en
    Octobre 2013
    Messages
    1 576
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Oise (Picardie)

    Informations professionnelles :
    Activité : développeur

    Informations forums :
    Inscription : Octobre 2013
    Messages : 1 576
    Points : 1 989
    Points
    1 989
    Par défaut
    d'accord merci beaucoup

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Intégration librairie "Wheel" dans Android Studio
    Par griff dans le forum Android Studio
    Réponses: 5
    Dernier message: 22/04/2014, 22h15
  2. Réponses: 1
    Dernier message: 03/02/2014, 16h45
  3. [Débutant] Erreur Dans Visual Studio 2010
    Par boby15000 dans le forum VB.NET
    Réponses: 4
    Dernier message: 13/02/2012, 18h02
  4. Arret sur toutes les erreurs dans visual studio .net
    Par ramzio dans le forum Windows Forms
    Réponses: 4
    Dernier message: 26/05/2009, 12h50
  5. Message d erreur dans Visual Studio 2005
    Par idream dans le forum VB.NET
    Réponses: 7
    Dernier message: 03/03/2008, 10h16

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo