Please visit http://source.android.com, click on the Community tab,
find a Google Group relevant for your firmware questions, and ask
there. This list is for developing with the Android SDK.

On Tue, Nov 1, 2011 at 10:39 AM, Nicefuture <nicefut...@126.com> wrote:
> 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 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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 4.0 Available!

-- 
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