Thanks. Can you please tell me how can I write/run a c++ hello world program on the android emulator (on linux). And how can i run gdb to debug it?
Thank you. On Tue, Dec 30, 2008 at 2:06 PM, AlexG <[email protected]> wrote: > > Hi > > A good way to start is running: > > ./adb shell ls / > So you can see all the fs structure which is a bit different then > Unix. > > you can do something like: > > ./adb push myapp /data/app/ > ./adb shell chmod 777 /data/app/myapp > ./adb shell /data/app/myapp > > > > On Dec 30, 12:40 pm, soumyaranjan <[email protected]> wrote: > > hi everybody > > i am trying to follow Aaron's documentation regarding the running of > > a c/c++ program on android emulator. but while i am not able to write > > onto the emulator disk > > or the file system path /system/sbin because sbin subfolder is not > > present inside /system folder. > > but i have a xbin subfolder but if i try to write onto it it doe'nt > > do, precisely this is what is the problem > > > > adb push prog /system/xbin > > failed to copy 'prog' to '/system/xbin/prog': Read-only file system > > > > also an attempt to modify the mode bits is failing > > > > adb shell chmod 777 /sbin > > Unable to chmod /sbin: Read-only file system > > > > pleazz help me out > > > > thanks and regards to all > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

