Go Back   Android Forums > Android Discussion > Android Lounge
Android Lounge A place for general Android discussion and questions.
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

test: Reply
 
LinkBack Thread Tools
Old October 3rd, 2010, 12:55 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jun 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default adb shell run-as com.example.hellojni /system/bin/sh -c pwd return corrupt installation when running

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

chatnis is offline  
Reply With Quote
Sponsors
Reply
Tags
android-ndk-r4b, ndk, ndk-gdb


Go Back   Android Forums > Android Discussion > Android Lounge
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:20 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.