Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run/compile source in Eclipse #68

Open
GoogleCodeExporter opened this issue Jul 6, 2015 · 2 comments
Open

Can't run/compile source in Eclipse #68

GoogleCodeExporter opened this issue Jul 6, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant