Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Discussion > Android Lounge

Android Lounge A place for general Android discussion and questions.



Reply
 
LinkBack Thread Tools
Old October 3rd, 2010, 12:55 AM   #1 (permalink)
New Member
 
Join Date: Jun 2010
Posts: 1
 
Device(s):
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

Bookmarks

Tags
android-ndk-r4b, ndk, ndk-gdb


Go Back   Android Forums > Android Discussion > Android Lounge User CP
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Motorola Devour - Root Attained, Thanks rainabba. ADB and SHELL with SU, and /system mounted as R/W. ZanzDroid Devour - All Things Root 23 August 13th, 2011 11:10 PM
Detecting if System Apps are running asamma Android Lounge 1 October 11th, 2010 08:20 PM
Detecting if System Apps are running asamma Android Applications 0 October 11th, 2010 06:51 PM
mobile shell 5 promised soon. awesome shell replacment. hogjowlz HTC Droid Eris 9 March 25th, 2010 04:14 PM



All times are GMT -5. The time now is 09:51 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo