manuelnaranjo / replicaisland

Automatically exported from code.google.com/p/replicaisland
Apache License 2.0
0 stars 0 forks source link

Can't run/compile source in Eclipse #68

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Opening and selecting the checked-out source into Eclipse and selecting Run 
> Run. 

What is the expected output? What do you see instead?
I expect the application to compile and run on the Android emulator or on a 
device.

What version of the product are you using? On what operating system?
Replica Island source v1.4, Eclipse Helios Service Release 2, and OS X 10.6.8

Please provide any additional information below.
Eclipse tells me to fix the errors in the application when attempting to run. 
The error is in Game.java, line 84, and the red line is under VERSION_CODES.

final int sdkVersion = Integer.parseInt(Build.VERSION.SDK);
            if (sdkVersion < Build.VERSION_CODES.ECLAIR) {
                mTouchFilter = new SingleTouchFilter();
            } else {
                mTouchFilter = new MultiTouchFilter();
            }

Original issue reported on code.google.com by karl.ehl...@gmail.com on 15 Jul 2011 at 11:33

GoogleCodeExporter commented 8 years ago
It seems that the R.java file is missing. It should be under the gen/ folder. 
Currently I have the same problem. As long as I know, it should be 
auto-generated at build time with the ANT tool but it doesn't.

Original comment by irvingvl...@gmail.com on 6 Aug 2011 at 5:12

GoogleCodeExporter commented 8 years ago
It worked for me (svn rev 7). I added the project under Eclipse, and when I got 
the errors related to R.java, I simply cleaned and rebuilt it.

Original comment by far...@gmail.com on 9 Jan 2012 at 1:17