mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 10:30:44 +01:00
grab contents of edit area before run
This commit is contained in:
@@ -64,7 +64,8 @@ class AndroidBuild extends JavaBuild {
|
||||
|
||||
manifest = new Manifest(sketch);
|
||||
// grab code from current editing window (GUI only)
|
||||
sketch.prepareBuild(null);
|
||||
// prepareExport(null);
|
||||
|
||||
// build the preproc and get to work
|
||||
AndroidPreprocessor preproc = new AndroidPreprocessor(sketch, getPackageName());
|
||||
if (!preproc.parseSketchSize()) {
|
||||
|
||||
@@ -510,6 +510,7 @@ public class AndroidEditor extends JavaEditor implements DeviceListener {
|
||||
* Build the sketch and run it inside an emulator with the debugger.
|
||||
*/
|
||||
public void handleRunEmulator() {
|
||||
prepareRun();
|
||||
AVD.ensureEclairAVD(sdk);
|
||||
try {
|
||||
runSketchOnDevice(Environment.getInstance().getEmulator(), "debug");
|
||||
|
||||
Reference in New Issue
Block a user