Home > Net >  Connect to an Empty Activity app to a physical device
Connect to an Empty Activity app to a physical device

Time:10-11

Recently, I tried to build an empty activity app using Android Studio for some poc purposes. I connected the app to a physical device through USB. When running the app, it is working on the device just fine except that it does not save the app to the device. Whereas when I created the app using basic activity and run in the device, it saves the app on my device's screen and installed it into the memory. Does anybody know the reason and solution for this?

FYR, I am using Huawei VOG-L29 as the device for testing.

CodePudding user response:

You missed the app in the device somehow. The template you use to create the initial project doesn't matter- its not part of the final build. Android Studio doesn't even remember it once it's done generating the initial files. When you upload an app to the device, it will be saved to internal storage and should appear in settings.

  • Related