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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -