There is no resource in eclipse

I am getting this error when creating a new android app project in eclipse Juno in mac

.

Description Type of resource path location error: Error: No resource found that matches the given name (at 'theme' with value '@style/AppTheme'). AndroidManifest.xml /testProject line 10 Android AAPT Problem

It also does not create the main activity as it did before. Recently I've upgraded android SDK tools to rev 24.0.1.

Please help me.

+3


source to share


1 answer


To fix this problem, follow these steps.



  • Updating the ADT Plugin eclips

  • Make sure AppTheme is defined in styles.xml file.

  • Use the latest AppCompat library when considering backward compatibility.

  • Make sure your compilation and target versions are set to 21. This is because the new AppCompat only compiles to 21.

    Right click on the project and select Properties. Then select "Android" from the tree on the left. Then you can select the target target version on the right.

    Note. Make sure your project properties, classpath and files are writable, otherwise it won't work.

+2


source







All Articles