Hi, PlatformLibrary is a sample of JNI on Android. You will need to install .so, .jar and permission file as well as client apk.
Try, $ cd your/mydroid $ source build/envsetup.sh $ cd development/samples/PlatformLibrary/ $ mm You will get following message which shows where each file should be installed to. Install: out/target/product/generic/system/app/ PlatformLibraryClient.apk Install: out/target/product/generic/system/etc/permissions/ com.example.android.platform_library.xml Install: out/target/product/generic/system/framework/ com.example.android.platform_library.jar Install: out/target/product/generic/system/lib/ libplatform_library_jni.so Copy: out/target/product/generic/system/etc/apns-conf.xml Cheers, On 5ζ6ζ₯, εεΎ3:53, sumit <ssssssum...@gmail.com> wrote: > I am unable to install and run PlatformLibrary example provided under > the srource path ../development/samples/PlatformLibrary > > These are the steps I followed > 1. build the library with full source using "make" > 2. run the emulator with the built images > 3. issue "adb install ./out/target/product/generic/obj/APPS/ > PlatformLibraryClient_intermediates/package.apk" > > I get the following error - > pkg: /data/local/tmp/package.apk > Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY] > > I could find similar postings in other Android mailing lists but have > not found any conclusion for the same. > > Is my approach OK? > > Regards, > Sumit --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---