I installed flutter for vscode and all the other dependencies without using Android Studio. I have a Xiaomi POCO F1 and I wanted to use it for debugging and running the app.
I switched to developer mode on my android device and enabled USB debugging, connected my device to the laptop via a USB cable downloaded the usb driver for the device and ran the flutter devices command but it shows that only chrome is connected.
I tried to update the driver for the device from the device manager but it does not get installed. Instead there is a MTP Device Driver pre installed and it doesn't allow any other driver to get installed.
I tried a lot of articles from Google and StackOverflow but none seems to work.
Could anyone please help me figure out what I'm missing out or doing wrong.
For more clarity on your issue result of command flutter doctor is required.
flutter doctor
Related
my android studio is not showing virtual devices upon running a project including my usb connected android phone and Genymotion virtual devices. I have tried Android studio versions 3.3 , 2.3 and 3.1 but still facing problem. i have installed genymotion plugin and all sdk tools but still its showing "No connected devices". Please help
It can either be an adb problem or a driver problem (for Samsung devices you have to install drivers).
You also have to set your devices in Developer mode and have USB debugging enabled on them.
You don't have the required drivers. Just search for the ADB drivers of your PC. If you have the Offline Drivers bundle just run it.
You can manually add genymotion devices to android studio using below command from terminal
adb connect 192.168.74.101:5555
Change the IP of your device as you've got in the genymotion device title
if successful, it returns:
connected to 192.168.74.101:5555
in the last week, I've been trying to connect my Meizu m2 phone to my computer for debugging purposes (running an app from the android studio) without any success.
I've enabled my USB debugging mode on my device, I've connected it to be on MTP rather than PTP, and I've also taken a look at my computer's device manager, and seen that the device wasn't listed under other devices category, and honestly I couldn't tell where was he listed.
In addition, I've opened an android studio and pressed the run-app button, but my phone wasn't recognized by the android studio.
Please help me fix this issue.
Follow these steps:
Try installing PdaNet+ Windows app
http://pdanet.co/a/
Install PdaNet+ Android app on your device. Download from Play Store https://play.google.com/store/apps/details?id=com.pdanet&hl=en
Now connect your phone to PC/Laptop
Open Android Studio and check device connected or not
Hope this will be helpful...
There is many reasons and some instructions :
1- disable driver signature enforcement and connect again
2- install Universal Driver
3- install another ADB Driver
I am developing apps for android and I bought an bq Maxwell 2 Lite, and I wanted to test them in the device, but i can't seem to do it... can somebody help me with that?
The android version on the device is 4.1.1 and I have enabled debugging throw USB.
Thank you all for your time and thanks for all the help
Carlos Morgado
So to test with any device you need
Install the driver for the device on your OS.
Enable USB debugging on your device.
Plug-in the device through an USB.
Run the app through the IDE and select the configured device to run the application
This should help you get started.
For using USB debugging in eclipse, make sure that you have all the drivers installed. Open sdk manager, under extras you can see Google USB drivers, make sure that this is downloaded.
If after this also it didn't work, go to device management if you are using windows and find your device. Right click on your device and update device drivers, update from my computer and give this folder sdk folder\sdk\extras\google\usb_driver. Set platform-tools folder in your path variables and run these commands:
adb kill-server
adb start-server
You can see list of attached devices using this command:
adb devices
I am trying to test my android app (android 2.3.3) via my karboon A1+ phone. However, I cannot get Eclipse to recognize my device on the debug config menu. My phone is recognized by my computer when I connect via the usb cable. I can access my phone via windows but not Eclipse. Also, the karboon A1+ driver has been recently updated when I updated to android 2.3.4.
The reason I am using my phone to debug is b.c the emulator keeps crashing/failing to install my app. I am running Windows Vista 32bit. Any help would be appreciated. Thanks in advance.
Are you in developer mode on your phone?
This might help - Android devices
You would possible need to install the android drivers called ADB
This is also how to install the android driver from your SDK - Installing Drivers
Don't forget to enable apps from 'unknown sources' and enable ADB debugging.
Without both of those you can't install and get the console output from your app, which is pretty essential.
Those devices from small manufacturers are really tricky to get the drivers to work.
Apparently this guy got it working, it's a very hacky way, but I'll put his text:
I downloaded Zte n721 USB driver for my mobile. ( It
requires speecific driver for your device. Google usb drivers works
for very few mobiles. ) Then I put vender ID for Zte 0x19d2 to my
adb_usb.inf. ( You can not save in edit but you have to use : echo
0x19d2 >> adb_usb.inf ( use your vendor id you can get it from net I
got it from mypcdrivers.com) When you allow debugging on the mobile,
it works.
Apart from that the best thing is try to contact directly with your device manufacturer via this link http://www.karbonnmobiles.com/contact_us.php and demand an ADB Driver.
I'm running Windows 7, trying to connect my Android phone by USB so I can start developing in Eclipse. The phone is a Huawei Prism running Android version 2.3.6, and I've set it to USB debug mode. The phone's driver failed to install and I got the following error message:
Device driver software was not successfully installed
Android Adapter No driver found
I Googled around but couldn't find anything on this error. The Device Manager shows a yellow exclamation point.
I'm not sure if this is a device usage question or a development question. My goal is to get my phone to be available under Run As... in Eclipse.
Download and install Hi Suite. It's used for syncing Huawei devices, it'll have the driver you need.
http://www.huaweidevice.com/resource/mini/201105239635/hi_suite_en/
You must always install your specific phone USB Driver before being able to debug by USB.
So generally a " USB driver" search on Google does work.
I did it for you and found this page : http://www.huaweidevice.com/worldwide/downloadCenter.do?method=toDownloadFile&flay=software&softid=Mzk1MzA=
Is it the driver you tried ?
A more flexible way is to install the Adb Driver Installer: http://adbdriver.com/downloads/
Once you download it, enable USB debugging on your phone and plug it to your computer. Then, use the Adb Driver Installer to install the required driver. It works for any Android device! Hope this was helpful. :)
I recently found the right way to address this USB issue with Huawei.
Go to http://consumer.huawei.com/en/?method=toDownloadFile&flay=software&softid=Mzk1MzA=
Search: USB Driver
It will be the option HUAWEI Android Phones USB Driver
Make sure it is version v1[1].0 and file size 7.76 MB
Download zip, extract, proceed with usb download
Note: Make sure you debug and keep "stay awake" on before hooking up your device.