f3hler / beginning-android-games

Automatically exported from code.google.com/p/beginning-android-games
0 stars 0 forks source link

error upon importing to eclipse. followed setup video and cleaned the projects but thrown an error. #49

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I followed your setup video and when i imported the projects i was presented 
with these errors. even after cleaning, can you please point me in the right 
direction thanks

"[2012-01-03 15:30:10 - ch10-gl-3d] Android requires compiler compliance level 
5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project 
Properties.
[2012-01-03 15:31:19 - ch02-hello-world] Android requires compiler compliance 
level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project 
Properties.
[2012-01-03 15:31:19 - ch04-android-basics] Android requires compiler 
compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > 
Fix Project Properties.
[2012-01-03 15:31:19 - ch06-mrnom] Android requires compiler compliance level 
5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project 
Properties.
[2012-01-03 15:31:19 - ch07-gl-basics] Android requires compiler compliance 
level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project 
Properties.
[2012-01-03 15:31:19 - ch08-2d-gamedev] Android requires compiler compliance 
level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project 
Properties.
[2012-01-03 15:31:19 - ch09-jumper] Android requires compiler compliance level 
5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project 
Properties.
[2012-01-03 15:31:19 - ch10-gl-3d] Android requires compiler compliance level 
5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project 
Properties.
[2012-01-03 15:31:42 - ch02-hello-world] Android requires compiler compliance 
level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project 
Properties.
[2012-01-03 15:31:42 - ch04-android-basics] Android requires compiler 
compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > 
Fix Project Properties.
[2012-01-03 15:31:42 - ch06-mrnom] Android requires compiler compliance level 
5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project 
Properties.
[2012-01-03 15:31:42 - ch07-gl-basics] Android requires compiler compliance 
level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project 
Properties.
[2012-01-03 15:31:42 - ch08-2d-gamedev] Android requires compiler compliance 
level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project 
Properties.
[2012-01-03 15:31:42 - ch09-jumper] Android requires compiler compliance level 
5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project 
Properties.
[2012-01-03 15:31:42 - ch10-gl-3d] Android requires compiler compliance level 
5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project 
Properties.
"
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

I am running latest eclipse and on windows 7

all files are uptodate as far as i am aware.

thanks

Daniel

Please provide any additional information below.

Original issue reported on code.google.com by inspired...@gmail.com on 3 Jan 2012 at 3:37

GoogleCodeExporter commented 9 years ago
I fixed the projects and still get errors.

these are the errors for 11 and 12
[2012-01-03 15:50:42 - ch12-droidinvaders] Unable to resolve target 'android-9'
[2012-01-03 15:50:42 - ch11-gl-advanced] Unable to resolve target 'android-9'
[2012-01-03 15:50:42 - ch12-droidinvaders] Unable to resolve target 'android-9'
[2012-01-03 15:50:42 - ch11-gl-advanced] Unable to resolve target 'android-9'

Original comment by inspired...@gmail.com on 3 Jan 2012 at 3:52

GoogleCodeExporter commented 9 years ago
i have attached 3 files with the error on for your reference.

Best Daniel

Original comment by inspired...@gmail.com on 3 Jan 2012 at 4:03

Attachments:

GoogleCodeExporter commented 9 years ago
same problm for me... anyone can resolve it?

Original comment by forsaken...@gmail.com on 5 Jan 2012 at 12:09

GoogleCodeExporter commented 9 years ago
to fix the 'android-9' error you need to go to the SDK manager and check the 
tick box 'obsolete'. Now find the 2.3.1 SDK platform and install.

Original comment by lukedeig...@gmail.com on 27 Jan 2012 at 5:18

GoogleCodeExporter commented 9 years ago
I am having the same problem and nothing that has been suggested works.  If 
there is anyone out there who can help, I would appreciate it.

Original comment by thestev...@gmail.com on 21 Jun 2012 at 1:47

GoogleCodeExporter commented 9 years ago
I think i fixed the issue by going into project properties (right click> 
properties> Java Compiler > select 1.6 from dropdown or select the tick box")  
This worked for me as by default it will import it as 1.7.

hope this helps

Best

Daniel

Original comment by inspired...@gmail.com on 21 Jun 2012 at 2:47