It is possible to edit and continue android code while debugging in AVD? If yes, how can I setup it?
2
-
5I 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.– Seb CharrotCommented Jul 11, 2014 at 8:35
-
see stackoverflow.com/questions/13893984/…– Jay WickCommented Dec 19, 2014 at 0:42
Add a comment
|
3 Answers
No, you can't edit it while debugging. You'll have to re-make and launch.
-
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.– ddavisonCommented Nov 9, 2015 at 15:51
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
Yes (now it is)!
To apply code changes while debugging, select menu 'Run -> Apply Code Changes'.