开发者

Application not running on Android device

开发者 https://www.devze.com 2023-01-30 05:39 出处:网络
My application is running properly on emulator but not on device. Earlier I have run the same app on device many a times. I have turned USB- Debugging on my device, also set debuggable to true in mani

My application is running properly on emulator but not on device. Earlier I have run the same app on device many a times. I have turned USB- Debugging on my device, also set debuggable to true in manifest.

When I try to use command adb devices, it's showing me an empty 开发者_运维知识库list of devices.

Has anybody encountered same problem anytime?

Thanx in advance.


Keep ur phone connected with the system and then restart ur system. I think it will work then.


While connecting your device to desktop/laptop don't connect the device as a mass storage.


This is just a list of things to try/check

-> Unknown Source to true

-> Debuggable requires USB Debugging

-> Non Mass Storage mode/USB connect to access the SD Card

-> unplug replug

-> reboot the phone (to be sure you can unplug the usb and remove the battery)

-> restart adb

Can you see an emulator ? can you launch your app on the emulator? can you launch a different project on the phone?

0

精彩评论

暂无评论...
验证码 换一张
取 消