Now if you want to uninstall your apk you can do that too: adb shell pm uninstall -k Īgain, is the default name of the package. The great thing about the -r is it works even if it wasn’t already installed. ![]() If your apk is already installed, then use the following command to “reinstall” it, leaving the data intact: adb install -r path\ProjectName.apk The apk usually has the same name as the project. In this example path\ProjectName.apk is the full relative path to the apk. ![]() See the end for notes on multiple devices or if you are running both an emulator and device.įirst to install your app: adb install path\ProjectName.apk They should work on both Mac and Windows. These all assume adb (Android Debug Bridge) is on your system path and you only have one Android device (or emulator) attached. Delphi automatically installs and runs your app for you, but sometimes it is nice to do manually from the command-line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |