7

It is possible to edit and continue android code while debugging in AVD? If yes, how can I setup it?

2
  • 5
    I disagree with the question being closed. Netbeans, Visual Studio, lots of other IDEs all have edit-and-continue capabilities, it's perfectly valid to ask if IntelliJ does too. Commented Jul 11, 2014 at 8:35
  • see stackoverflow.com/questions/13893984/…
    – Jay Wick
    Commented Dec 19, 2014 at 0:42

3 Answers 3

4

No, you can't edit it while debugging. You'll have to re-make and launch.

1
  • this is also not exclusive to Android - IntelliJ with a simple Java project also suffers the same. You are unable to edit while debugging. For standard Java Projects you must also re-make and relaunch.
    – ddavison
    Commented Nov 9, 2015 at 15:51
1

It seems with Android Stuio v2.0 and above, this feature (called hot swap) is now available.

https://sites.google.com/a/android.com/tools/tech-docs/instant-run

0

Yes (now it is)!

To apply code changes while debugging, select menu 'Run -> Apply Code Changes'.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.