You need to restart the system for it to be seen...  if you reboot the
emulator, any changes you made to the system image will be lost (you really
should just build this stuff into your system image), but you can probably
work around this with "adb shell stop" "adb shell start" to get the system
to restart.

On Wed, May 13, 2009 at 10:47 AM, MannyNS <[email protected]> wrote:

>
> PlatformLibrary example does not work on 1.5 emulator, as advertised.
>
> I did the following:
>
> 1. Compiled the projects
>
> $ source build/envsetup.sh
> $ cd development/samples/PlatformLibrary/
> $ mm
>
> Resulted in:
> 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
>
> 2. Run android1.5 emulator and did adb remount
>
> 3. pushed libplatform_library_jni.so in system/lib/
>
> 4. pushed com.example.android.platform_library.jar in system/
> framework/
>
> 5. changed platfrom.xml in system/etc/permissions/ to include content
> of com.example.android.platform_library.xml
>
> 6. tried to install PlatformLibraryClient.apk
>
> Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
>
> What am I doing wrong?
>
>
> MannyNS
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to