I've already looked at other questions with the same issue, but they all say to update the device drivers, well the driver for my phone is fully updated and it still won't show up in Eclipse, also my USB debugging IS activated. I also tried to make a virtual device but whenever I run the project the virtual device just stays on the shining android screen, but I would rather have the project run on my phone than in a virtual environment.
Used PDANet and this guide http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/
Resolved the issue
I had also encountered that problem before but as installing Moborobo in my PC solved it.
try ---- first check ur phone is detect in DDMS if not then check ur mobile version then set mobile version to min target in android manifest ..
Related
I have updated my android studio to 2.2, Since then I get this strange issue when running the studio gives me error Instant Run requires that the platform corresponding to your target device (Android 1.0) is installed. I am using Note 4 on android 6.0.1. Why is this error happening ?
If you have connected your android device, unplug it then uninstall the current app. Then plug the usb back and click run. You good to go.
Am also facing similar issues since i downloaded the upgrade patch for android studio 2.2
i have noticed it happens when Android monitor says device offline Android device says offline yet connectet
The reason why the device goes offline and yet its connected properly i don't know yet. When i click download i get this error Package id platforms;android-1
I currently sole this temporarily by checking if android monitor says device offline, if yes i unplug the USB and plug it back in else it just runs fine
I had the same problems as you all and I solved it.
If you get an error like 'error Package id platforms;android-1 ' you must go to: Tools -> Android->SDK Manager, and thed to SDK Platforms. Make sure that 'Show Package Details' tab is checked (so that you can see all packages) and Android 1.1 package installed.
Otherwise just install it like all others packages. After you do this, restart Android Studio, unplug/plug phone. You will be asked then to conform something at your device, say ok and you fixet problem.
I got the same problem, but with an emulator.
So the answer of unplug/plug the device is not applicable to me.
I deleted my emulator and create a new one in Android Studio.
And, it's solved...
Connect to your computer as MTP. After this Android Studio will recognize your device and SKD could install for it.l
I've solved this by changing the USB cable. The one given by Samsung is useless.
I had the same problem but it solved after I approve the confirmation box for connecting the phone to the computer.
Running the android studio as sudo did the trick for me.
i got same problem , i have unplug my Device then uninstall the current app. Then plug the usb back and click run. i am good to go and my Problem
In this Video there is a Solution for Error running app: Instant Run requires 'Tools | Enable ADB integration' to be enabled. It worked for me to disable the instance run error messages.
In my case SDK location was incorrect.
I disabled Instant_Run option.
please check SDK version in local.properties file.
I'm learning How to develop App Android. I'm using Android Studio. I created a "HelloAndroid" as my first project, but I'd like that running in my Smartphone, but it doesnt't work. When I click in Run app, it open a window for choose a device, but nothing appear. I guess that it doesn't recognized my device. However, I enable developer mode in my cell phone. May anybody help me, please? I already tried all.
My Windows is 8.1 64-bit
Android Studio 1.3.2
I was stuck in this problem for like 2 days to solve it.
Yeah, there are few ways to resolve this problem.
Case 1. Enable the USB debugging option in your mobile. Setting > developer > Check "USB Debugging"
Case 2. Change from MTP to PTP.(sometimes vise versa works)
Case 3. If nothing worked then try to Install PdaNet+ in your system. This Actually worked for me.
PS: Let me know which of the above case solve your issue.
best wishes.
go to the device manager in windows. see whether USB driver is installed or not.If not installed install it otherwise update the driver. If installed already and your windows machine doesnot still show the device then you need to edit a usb driver file inside Google usb driver folder of android sdk directory...
UPDATE:
It's fixed! It turns out there was a driver on the LG site that, once downloaded, fixed the issue.
I've tried using both folders, including the usb_driver directory, but none of these directories work. It always gives me the same issue. As seen below, the 'ADB Interface' driver is most likely my android driver.
I've looked at this response to a very similar question, but none of these answers seem like they will work. I have an LG G4 phone and windows 8 on a Dell laptop. I would like to try running my application on my phone instead of an emulator, except whenever I plug in my phone, with developer mode turned on, I cannot seem to find or use my device on Android Studio. I run the application and get to the dialog that asks me to choose the device on which to run the application, but my device still does not show up. I have updated several packages on the SDK manager and tried manually installing the driver that's supposed to be in /extras/google/usb_driver/, but nothing has worked. Has anyone here been able to get their application running on their device while using Windows 8?
Make sure that USB debugging mode inside developer option is turned ON. After that you should see a dialog in your mobile to allow that computer for Debugging purpose. You can check always allow if it is your own PC
Just yesterday I updated Android Studio. Before I updated it everything was working fine, meaning I was able to use my Samsung Galaxy S4 to debug my apps with no problem. After the update, Android Studio no longer sees my device when I try to debug.
Furthermore when I type in adb devices on my terminal (I am using Ubuntu), my device doesn't show in the list of devices attached. Please help! I'm been trying to find a solution but most only talk about reinstalling drivers for Windows users.
Also, not sure if this may help but when I updated Android Studio, I was prompted to move the SDK folder to another location.
Thanks ahead of time!
Google's usb driver is located within the Android SDK folders, so perhaps in moving that, your computer can not find the driver anymore.
Try going to Device Manager (the windows one from the Control Panel), look for your mobile device and choose to re-install the driver, choosing one from your own disk.
It should be located at ~\android-sdk\extras\google\usb_driver
i have one doubt,i have created new project in eclipse with android 2.3.1 and try to debug directly from eclipse to device.and it's wokring well,it's debugg in device.now when i am converting that version of android 2.3.1 to GoogleApi 2.3.1 by right clicking project and changing android property.after that when i run my project i am getting such warrining kind of symbol as u can see in below image.
again when i am changing version to simple android 2.3.1 than it's get debugging from eclipse to device.
my device name is Sony Ericon Walk Man Live and ya one more thing Google API version working well when i copy apk to sd card directly and installed in device,but getting problem only when i am running from eclipse to device directly.
One another thing i noticed is that when i create a simple project than right clicking project and runing it's asking me to wether to run in device or emulator but in older one it's not even asking and directly running in emulator...in both's project manifest there is no tag like android:debuggable="true/false" also...
any one have idea what is a solution of this problem i have already insatlled device driver to pc as well.
please help me to short out this
Thanks in advance
Aamirkhan I.
Enabling USB debugging is key, but there's something else as well. Eclipse, by default, runs your application automatically after the first run. So, if you choose an emulator as your first run, Eclipse will default to run by emulator every run afterwards.To change this, go to your "Run Configurations".
There will be an option to run manually or automatically.
Choose "Manual" and you will prompted to choose between your emulator and device every time you decide to run. Otherwise, you can set whether to run automatically with your device or emulator.
try as in this link
If you already connected your mobile device with your computer via the USB cable, please unplug it from your phone, otherwise your device will prompt you a warning requesting to do so.