-1

When I make a android app project in AndroidManifest.xml error ecure in android:theme="@style/AppTheme"

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.azzzz"
    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" >
    </application>

</manifest>

I think this error happen because styles.xml dose not exist in res/values. how I can fix it?

Ehsan
  • 1
  • 2
  • 2
    if its not there then create one.. with name "AppTheme" ..in style.xml – Ajay P. Prajapati Jun 17 '15 at 14:59
  • That is styles.xml with an extra 's'. Can you list the files within res/values. Maybe your styles.xml has a reference to another file `style.xml' and thats causing the error. Just check the contents of /res/values folder – Psypher Jun 17 '15 at 15:12
  • The name of xml file could be anything you want. What you have to follow is xml tags name in xml file. – Phuc Tran Jun 17 '15 at 15:16

1 Answers1

0

i find it! the ADT(android development tools) and sdk tools does not match. all my problem solved by change and match them

Ehsan
  • 1
  • 2