Running app in Android Studio

倾然丶 夕夏残阳落幕 提交于 2020-06-29 12:05:53

问题


I have an Asus Zenfone 2 Laser and I'm using android studio to create apps. When I load an application stored in the hard disk of my computer for debugging, no problems, but when the application is stored in a USB device, at first android studio warns that there is already a version of the same app in my phone and asks if it has to uninstall it in order to install the new version; when I click the button to uninstall it, it doesn't install the new one...

How can I fix the problem? Thanks


回答1:


You can - Try these steps one by one

  1. Completely uninstall the app from your phone
  2. On Android Studio click on BUILD->CLEAN PROJET
  3. On Android Studio click on BUILD->BUILD APK
  4. An APK will be created on your HardDisk at the save location
  5. Copy and Paste the newly created APK from COMPUTER to PHONE using USB cable
  6. Install the new App manually
  7. Now try to build and launch the app to phone via Android Studio
  8. From now, it will be automatically installed and loaded

Hope it solves...



来源:https://stackoverflow.com/questions/44247144/running-app-in-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!