0

How can i get resources from JAR file? I include to main project JAR file, and try to call from main project resourse string from jar library like com.jarlibrary.R.string.test, but i have exception and main application crash.. other ways?

KV Prajapati
  • 93,659
  • 19
  • 148
  • 186
imike
  • 5,515
  • 2
  • 37
  • 44

1 Answers1

1

you can't access resource from jar file, you just put class file and access it, for resource you have to add separately folder of resources in your project.

user370305
  • 108,599
  • 23
  • 164
  • 151
  • I read that in the 14 version of ADT this possibility is, but google did not find examples. – imike Oct 20 '11 at 11:56