Eclipse ADT does not work

Asked

Viewed 511 times

-1

[2015-05-23 11:29:54 - Jokenpo] /home/gabriel/Área de Trabalho/Jokenpo/res/values/styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-05-23 11:29:54 - Jokenpo] 
[2015-05-23 11:29:54 - Jokenpo] /home/gabriel/Área de Trabalho/Jokenpo/res/values-v11/styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-05-23 11:29:54 - Jokenpo] 
[2015-05-23 11:29:54 - Jokenpo] /home/gabriel/Área de Trabalho/Jokenpo/res/values-v14/styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-05-23 11:29:54 - Jokenpo] 
[2015-05-23 11:29:57 - Jokenpo] /home/gabriel/Área de Trabalho/Jokenpo/res/values/styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-05-23 11:29:57 - Jokenpo] 
[2015-05-23 11:29:57 - Jokenpo] /home/gabriel/Área de Trabalho/Jokenpo/res/values-v11/styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-05-23 11:29:57 - Jokenpo] 
[2015-05-23 11:29:57 - Jokenpo] /home/gabriel/Área de Trabalho/Jokenpo/res/values-v14/styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-05-23 11:29:57 - Jokenpo] 

This is an error that is being sent to the Eclipse ADT console every time I create an Android project!

In addition, the entire project code is full of bugs and bugs.

  • On your Androidmanifest.xml what is the value that is assigned to android:targetSdkVersion?

1 answer

1

Maybe this will help: https://stackoverflow.com/questions/21059612/no-resource-found-that-matches-the-given-name-style-theme-appcompat-light

It goes something like this:

Lower the addCompat library here:

http://developer.android.com/tools/support-library/setup.html

go to Windows -> Android SDK Manager on tab extras select Android Support Library and confirm the installation. After this check if it has been installed with:

android-sdk/extras/android/support/v7/appcompat

Add the reference to your project:

  1. Right click on your project.
  2. Select properties.
  3. Click 'add...' below add library.
  4. Select the supported lib
  5. Clean and build your project

Browser other questions tagged

You are not signed in. Login or sign up in order to post.