Corona on device debugging

Hi friend

In android sdk we can do on device debugging (ie when we  launch our app.we can launch directly on device)…

Am using windows os and am developing corona app

and my question is how we can launch app directly in on device like android sdk …kindly help me friends

Thanks in advance

Solution for your question , please look in this http://forums.coronalabs.com/topic/24633-debugging-on-device-tips-and-tricks/

Corona is not native thing for Android so one button solution as in android sdk to run on device is not possible. However in article mentioned above is written how use android sdk’s Android Debug Bridge tool to install and debug app built with Corona (yes, you must first build apk and then install with adb tools as any ordinary apk)

sorry dude am not clear can u explain me step by step

thanks in advance

Read article under the link

Might want to read this one too:

http://www.coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/

Assuming you have the Android SDK installed, the process is something like this (I’m on a Mac, but I assume the process is similar):

  1. emulator-x86 -avd phone
  2. assumes the emulator is in the path
  3. assumes a pre-defined set of target devices (I have some like ‘phone’ and ‘tablet’) … defining these takes some time (see Android docs for more info)
  4. wait for the emulator to boot-up 
  5. build the app through the Corona simulator
  6. adb install myapp.apk
  7. first time, it will say something about starting a server in the background
  8. adb logcat
  9. you’ll see log messages from any previous apps, boot-up, etc.
  10. on the emulator, find the app and launch it
  11. you’ll see any print statements and log messages from your app
  12. they may be intermixed with other log messages
  13. when you’re done:   adb kill-server

Solution for your question , please look in this http://forums.coronalabs.com/topic/24633-debugging-on-device-tips-and-tricks/

Corona is not native thing for Android so one button solution as in android sdk to run on device is not possible. However in article mentioned above is written how use android sdk’s Android Debug Bridge tool to install and debug app built with Corona (yes, you must first build apk and then install with adb tools as any ordinary apk)

sorry dude am not clear can u explain me step by step

thanks in advance

Read article under the link

Might want to read this one too:

http://www.coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/

Assuming you have the Android SDK installed, the process is something like this (I’m on a Mac, but I assume the process is similar):

  1. emulator-x86 -avd phone
  2. assumes the emulator is in the path
  3. assumes a pre-defined set of target devices (I have some like ‘phone’ and ‘tablet’) … defining these takes some time (see Android docs for more info)
  4. wait for the emulator to boot-up 
  5. build the app through the Corona simulator
  6. adb install myapp.apk
  7. first time, it will say something about starting a server in the background
  8. adb logcat
  9. you’ll see log messages from any previous apps, boot-up, etc.
  10. on the emulator, find the app and launch it
  11. you’ll see any print statements and log messages from your app
  12. they may be intermixed with other log messages
  13. when you’re done:   adb kill-server