>            Thanks for your reply.Right now we are not using the R file of
> that project whose jar file is created.Jar file does not contains R files
> of
> that project.So R.layout and R.id's are created in the client project
> where
> i am using jar file.

And that is precisely your problem, if the Java code in the JAR file tries
using R.layout, R.id, and kin.

Go through the Java code that is going into the JAR. Remove all references
to R.layout, R.id, R.drawable, and so on. Augment your API such that those
values are passed in as parameters.

If your Java code in the JAR does not reference R.layout, R.id,
R.drawable, and so on, then your JAR is fine. Do a clean build of your
project (e.g., get rid of the contents of gen/ and bin/), and you should
be OK.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to