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

Fails under Cordova because it has path ant-gen/R.java.d rather than the expected gen/R.java #32

Open
GoogleCodeExporter opened this issue Jun 14, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. build Cordova project with android platform (I did in win7).
2. cd to platorms/android
3. try to run the AndroidUnusedResources1.6.2.jar

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

I expected a list of removed resources.
I instead saw: -
Running in: c:\dev\projects\emgoddess\platforms\android
You must first build your project to generate R.java

What version of the product are you using? On what operating system?
AndroidUnusedResources1.6.2.jar in Windows7 with Cordova 3.5.0-0.2.6

Please provide any additional information below.

I looked at the AndroidUnusedResources1.6.2 source and I can see that its 
looking for a dir named 'gen', while in my Cordova build the gen dir is named 
'ant-gen'.
I would also note that there may be additional Cordova related files on the 
path for which AndroidUnusedResources may need to avoid removal.

I also googled for an equivalent solution (to AndroidUnusedResources) relating 
specifically to Cordova but could not find one.

There are a stack of default splash and icon resources related to Cordova on 
the build path, and once a developer has added their own icons/etc, he/she 
usually prefers to remove (manually at this stage) said Cordova resources to 
avoid the embarrassment of non app icons or splash screens showing up on users 
devices.  

If you would like to see the files and folders in my build path, or otherwise 
need any additional info please dont hesitate to email me.

Long live Apache.

Thank you and kind regards,
Eugene.

Original issue reported on code.google.com by ekerner....@gmail.com on 20 Sep 2014 at 4:04

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