简体   繁体   中英

Eclipse android project error?

I have recently started learning android programming. I have set up Eclipse IDE for android but whenever I create a java project and click finish. It creates the project and shows the following error on the console while the Android project wizard does not close.

 Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.

I also select the theme to none on the project wizard but that doesn't work either.

Please help!!

You need to do Next in Eclipse:

  • File->Import (android-sdk\\extras\\android\\support\\v7). Choose "appcompat"
  • Project-> properties->Android. In the section library "Add" and choose "appCompat"

Note : for more see this example: http://developer.android.com/guide/topics/ui/actionbar.html

You can start by using Android Studio it's more cooool :)

hope this help!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM