Jump to content

package R does not exist

Recommended Posts

I'm trying to build classicSkin from git sources.
Following the tutorial, I changed data in manifest and strings

Tried to build with simple typing ant and it compiles to jar file.
But when I try to compile with ant apkpush I got an error:

package R does not exist




building and cleaning project in Eclipse did not help

any suggestions? thanks

Share this post

Link to post
Share on other sites

Do you see 

-code-gen:     [echo] SKIN: Generating R.java / Manifest.java from the resources...

during build process? There should be R.java generated automatically, but it's not in default (empty) package, it's always in "your package name as specified in AndroidManifest.xml). Make sure to add appropriate import then.


For the github sources, it's generated into package com.maxmpz.poweramp.skins.classic.

InfoActivity is in the same package, but you may need to change it or import package com.maxmpz.poweramp.skins.classic



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...