How to remove the Appcompat error from the app?

Asked

Viewed 427 times

6

I had to reinstall the Eclipse and import mine app, he makes a mistake of Styles of AppCompat. I imported the AppCompat and the very AppCompat gives the same error. How can I fix?

screenshot

  • 3

    Not a duplicate of http://answall.com/questions/37437/erro-no-v7-appcompatnos-themes-v21?

  • Hello William! You could provide more information, such as how you imported it, how you are referencing it, snippets of code, or a more complete description of the error (the screenshot is cutting the description)

  • Face if it is project below 4.0, I could not run anymore, the eclipse was suddenly like this, projects below 4.0 it already generates without class R, see in the directory gen, if you are missing class R, I created theme here but without success, the solution was to work on projects above 4.0

  • @Guilherme Bueno your image does not clearly show the error, but still you can "say" that it is the same error: http://answall.com/questions/37437/erro-no-v7-appcompat-nos-themes-v21

  • Access this link and follow step by step the "Adding Support Libraries" section. I hope I’ve helped!

  • I suggest you use Android Studio, Google will stop with the Supports for the eclipse so in case you are making a big project migrate soon to Android Studio, just a tip.

  • I suggest you migrate to android studio since google has been out of eclipse support for years, Appcompat is part of the support library v7 https://developer.android.com/topic/libraries/support-library/packages

Show 2 more comments

2 answers

2

I’ve been through this problem, and it was not long ago. I tried everything,took a look even on Youtube.

And I think there’s no way, so I ended up migrating to Android Studio. I believe that the occurrence of these errors is the lack of support. Since Google abandoned Eclipse for development on Android and opted for Android Studio.

0

Do not import appcompat, remove this appcompat that you imported.

Create a new Test project and appcompat will create automatically. Then clean up the project.

Browser other questions tagged

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