Wish Compile Only

techknight

Well-Known Member
Licensed User
Longtime User
There may be something already and I have not found it, But I would like to have a feature to do an APK compile only, without sending it to an attached android device.
 

DonManfred

Expert
Licensed User
Longtime User
Compile it like if a device is connected... B4A will create the apk and then it will install it on the device. If no device is connected you get an error "No device connected" or something similar... But at this point the apk is already available in objects-folder
 

techknight

Well-Known Member
Licensed User
Longtime User
I know, but I dont like this. I would rather have a compile only with NO APK install. Why? because I leave my phone connected to my machine to charge, and its USB debugging is on, i leave it on. Well every time I have to do a bugfix and re-upload the app to my dropbox, it pushes it to my phone and I hate that.

Of course i could simply disable the USB debugging, or unplug the phone. but eh.. Just a minor inconvenience, not the end of the world.
 

ac9ts

Active Member
Licensed User
Longtime User
If you are looking to just test that there are no errors, you can turn on "Test Compile When Saving" (Tools -> IDE Options). It does a compile when you save the project. I don't think it does a full (asset, apk, etc.) compile but it checks syntax, displays un-used variable and subs, a few other items.
 
Top