Derek Johnson Active Member Licensed User Longtime User Jun 29, 2018 #1 I'd like to automatically create different installed versions of my app when I run in Debug mode or Release mode eg Install MyApp.apk in release mode and MyApp-Debug.apk in Debug mode. This is so that when I disconnect my USB connection to the device I can still run the last Release version of the code that I created. I'm pretty certain that this can be done with Custom Build Actions, after the complile but I'm unsure exactly what to specify. Derek
I'd like to automatically create different installed versions of my app when I run in Debug mode or Release mode eg Install MyApp.apk in release mode and MyApp-Debug.apk in Debug mode. This is so that when I disconnect my USB connection to the device I can still run the last Release version of the code that I created. I'm pretty certain that this can be done with Custom Build Actions, after the complile but I'm unsure exactly what to specify. Derek
R RichardN Well-Known Member Licensed User Longtime User Jun 29, 2018 #2 Small problem Derek..... The device must remain connected to B4A in both USB debug mode and Bridge debug mode, otherwise it won't run. Upvote 0
Small problem Derek..... The device must remain connected to B4A in both USB debug mode and Bridge debug mode, otherwise it won't run.
Derek Johnson Active Member Licensed User Longtime User Jun 29, 2018 #3 RichardN said: Small problem Derek..... The device must remain connected to B4A in both USB debug mode and Bridge debug mode, otherwise it won't run. Click to expand... Yes, that is the point. When I'm making frequent changes to the code during development, I often disconnect my device from the PC but want to try a reasonably up to date version, and then I could run the last version created in Release mode. Upvote 0
RichardN said: Small problem Derek..... The device must remain connected to B4A in both USB debug mode and Bridge debug mode, otherwise it won't run. Click to expand... Yes, that is the point. When I'm making frequent changes to the code during development, I often disconnect my device from the PC but want to try a reasonably up to date version, and then I could run the last version created in Release mode.
Erel B4X founder Staff member Licensed User Longtime User Jul 1, 2018 #4 Derek Johnson said: I'm pretty certain that this can be done with Custom Build Actions, after the complile but I'm unsure exactly what to specify. Click to expand... No. It should be done with multiple build configurations (Project - Build Configurations). Upvote 0
Derek Johnson said: I'm pretty certain that this can be done with Custom Build Actions, after the complile but I'm unsure exactly what to specify. Click to expand... No. It should be done with multiple build configurations (Project - Build Configurations).