java - Android Service Classpath -
i'm building application starts service uses internal android .jar file located @
/system/framework
the problem whenever try access class .jar file, classdefnotfound exception.
note: i'm able compile project stub'd version of .jar file, don't know how include internal library in application (service) classpath rid of exception.
(i'm not using eclipse)
add androidmanifest.xml
<uses-library android:name="com.android.library" />
from android documentation: http://developer.android.com/guide/topics/manifest/uses-library-element.html
this element tells system include library's code in class loader package.
Comments
Post a Comment