1. Check out our app, Forums for Android! Download and leave feedback here!

adb shell run-as com.example.hellojni /system/bin/sh -c pwd return corrupt installation when running

Discussion in 'Android Lounge' started by chatnis, Oct 3, 2010.

  1. chatnis

    chatnis New Member
    Thread Starter
    5

    Jun 10, 2010
    1
    0
    5
    Hi,

    I am trying to debug NDK sample "hellojni" using the command ndk-gdb that come with android-ndk-r4b
    Any attempt to run it on the device fail

    The log difference between running the same command on emulator/device

    1. command script
    "adb shell run-as com.example.hellojni /system/bin/sh -c pwd"

    emulator log "/data/data/com.example.hellojni"
    deivce log "Package 'com.example.hellojni' has corrupt installation

    i run this on HTC desire.

    any idea how to solve this problem?

    BR
    chatnis
     

    Advertisement

Share This Page

Loading...