I meet a problem for JAR in android.
1. I create a new folder and add some java file and .mk file to compile
the JAR file, it can successfully compiled and output into /system/frameworks.
2. Then, in my Client apk, I just import the package name, and found it
compiled failed, cannot found the package, then, I add LOCAL_JAVA_LIBRARIES :=
<jar name> in my Client apk’s mk file. Now it can compiled successfully.
3. BUT, in runtime, VM still occurred exception that can not found the
Class, and the JAR file already in system/framework/
4. Then, I create a xml file, contain below info to register jar, and add
it into system/etc/permissions. BUT, in run time, still VM said class not
found.
<permissions>
<library name="xxxx"
file="/system/framework/xxx.jar" />
</permissions>
What is the matter??
Since I want to add the jar as plug in, so I did not want to add it into
bootclasspath in initial.rc
Thx a lot.
Send from my IPad
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en