0

Im new to programming and am trying to make a game for Android. When I try to make a new Android Application Project, it lets me fill in the form and everything but when Eclipse is creating the project, I get this error: https://gyazo.com/1b875ce753ccf2aab85359b567abdba5

S Paudel
  • 1
  • 2
  • 1
    Possible duplicate of http://stackoverflow.com/questions/21900853/no-resource-found-theme-appcompat-light-darkactionbar – Jehy Aug 12 '16 at 14:22

1 Answers1

0

you need to import appcompat-v7 or check this video

updated - another option - not use templates when create new project: means doesn't create activity, and ect via constructor. in this case you need to create it manualy. guess it simpliest that switch off appcompat.

btw. is better to use Android Studio, as for ex. latest adt not supported by eclipce

Community
  • 1
  • 1
Siarhei
  • 2,358
  • 3
  • 27
  • 63
  • When I try to select a project in the library pane there are no projects – S Paudel Aug 12 '16 at 14:34
  • at first you need to import appcompat code to your workplase `Eclipse -> Import -> Existing Android Code into workspace.` select ` /extras/android/support/v7/appcompat ` but i guess you don't need this lib. try to create project without templates – Siarhei Aug 12 '16 at 14:51
  • But on the tutorial I am using it tells me to make the android app project – S Paudel Aug 12 '16 at 15:12
  • And in the android folder I don't have the support folder either – S Paudel Aug 12 '16 at 15:15
  • *Option 1*: 1) File->New->Android App Project. 2) [Fill Names] -> Next button 3) uncheck "Create Activity" -> Next button -> Finish 4) right click on src folder -> create new package-> enter your package name. 5) Create class (Extends Activity) in this package. 6) declare class in manifest *Option 2* remove lib but in this case you need to change code (extends from activity), changes styles, ect. so, i prefer option 1; *Option 3* use Android studio - in all newest lessons AS is used. Google cancel eclipce support. so there is some problems to use new libs, new adt, ect – Siarhei Aug 12 '16 at 20:10