For questions about custom firmware, please visit http://source.android.com.
2012/1/16 Jelly Chen <[email protected]>: > There are two ways to build apk: ( I don't have the source of > thirdparty.jar) > > 1. Use eclipse > I have put the thirdparty.jar to lib dir( or any other dir on the > filesystem). > and then "Add Library" in the Eclipse. and compile ok. > After building, i see all the content in thirdparty.jar are included in > classes.dex. > This is not expected, because i have put the thirdparty.jar to the device > /system/framework dir. > > 2. Use Android.mk > I use PREBUILT copy the thirdparty.jar to the intermediate dir. > and then use LOCAL_STATIC_JAVA_LIBRARY to include the jar to my project. > The result is the same as Use Eclipse. > > I want to know, how to build apk with the help of thirdparty.jar, but not > included it to classes.dex? > I want to know how to do it in Eclipse, and how to do it with Android.mk. > > Thanks! > 查词典 > > Dict.cn 海词 - 划词释义 > 已开启划词 > 设置 > 悬停发音即划即查 > 查词典 > > Dict.cn 海词 - 划词释义 > 已开启划词 > 设置 > 悬停发音即划即查 > > -- > 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http://marakana.com/training/android/ -- 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

