Hey guys I am facing Some problem I am using gionee elife e 7 mini android phone I have tried almost everything to connect it with eclipse IDE I install many drivers but none of them worked but .
But when I installed Moborobo it detected my device and it was working very well untill install genymobile emulator now neither genymobile emulator is working nor my device get detected . I don't want to uninstall genymobile is this common is there any solution please reply
Restart your eclipse or go to command line navingate to android sdk tool directory and run following commands.
adb kill-server
adb start-server
Related
I am starting my first android project using nativescript.
I want to run my project with genymotion.
In genymotion GUI settings/ADB I am using custom Android SDK tools and genymotion tells me the android SDK tools are found. Also the VirtualBox path is valid, and when I renamed the device the VirtualBox name and Genymotion name both changed. The Virtualbox VM is powered down.
I start genymotion and get the emulator open with a black screen. I then run:
tns run android
per the nativescript docs
I get as output:
Cannot find connected devices. Reconnect any connected devices, verify that your system recognizes them, and run this command again.
I then tried running:
adb devices
and got an empty list so it seems my device is not being recognized, I just don't know why.
I have also tried running:
tns run android --emulator --geny nameOfDevice
This starts the emulator but again just a blank screen. So I guess nativescript knows about the device but adb doesnt?
Any help would be greatly appreciated and apologies in advance if I am missing some obvious android issue.
You should also make sure that your GenyMotion is using the right SDK.
Go to: >> Settings >> ADB
And choose Use custom Android SDK Tools
If the SDk path is found it will be marked with
Android SDK Tools successfully found!
Do not open genymotion before adb initialisation.
Start adb server first
by adb start-server
and then open genymotion to initialise emulator.
After that you should be able to see emulator in list of running devices through adb command. I ran into the same scenario where adb does not list emulators if genymotion is opened before adb initialisation. I hope it helps.
My working solution is:
cd /opt/genymobile/genymotion/tools
./adb devices
You have to use its own adb tool.
I'm new on Ubuntu and install Ubuntu 14.04 LTS and for framework I download non-installable Android Studio and SDK tools separately.
I tried this link for Installing USB device on Ubuntu. I succeed in installing USB as MTP. but it wont load in Android Studio. when I run my app "waiting for adb" dialog is shown and finnaly says ADB not responding.
first I thought this is because I don't install adb so I install it with command:
sudo apt-get install android-tools-adb
but still phone wont load for launch app. is this ADB issue or cause my Android Studio is wont installed or some thing else.
in Ubuntu you have to create a rules file called 51-android.rules.
here is the details link: Unable to use my Android device as Android emulator using Android studio
here is the gitHub links: 51-android or
51-android.rules
if you have tried many terminal commands to connect your physical device to android studio in ubuntu and you failed to connect try this :-
Connect your device and change your USB preference(device notification) to PTP,android studio will detect your device.
I tried to use the remote debugging tool of Google Chrome for my Samsung Galaxy S4 (https://developers.google.com/chrome-developer-tools/docs/remote-debugging?hl=nl). But my Chrome does not found my device after i used about:inspect. The list stays empty.
I already install the newest driver on my computer and both devices running Chrome version 32. On my phone the USB debugging checkbox is checked.
Does someone know what i can do to view my phone trough Chrome debugging?
Do you have ADT (Android Development Toolkit) installed? If so, you may have to restart the ADB server. Follow these steps: (from this answer).
Open a command prompt (Win+R, "cmd.exe", Enter)
Go to the platform-tools directory of your locally installed ADT. In my case:
cd /d D:\apps\adt-bundle-windows-x86_64-20131030\sdk\platform-tools
Restart the ADT server by running the following commands:
adb.exe kill-server
adb.exe start-server
Now observe that your tablet will ask for remote debugging permission (by checking a fingerprint) upon connection.
The device should now be found if you open chrome://inspect.
workaround if you don't have ADT (Android Development Toolkit) installed:
Managed to detect android based Samsung Galaxy phone after downloading andorid SDK platform-tools.zip and running the following command: "adb devices".
It started some deamon, found attached device, and I was also able to see it in chrome canary inspect tab.
previously I also installed "Universal ADB driver" but not sure if this was required
I stumbled over this exact problem. The solution above work's like a charm for me.
But I'm lazy as hell, so I created a .bat file:
#ECHO OFF
cmd.exe /K "cd C:\Users\YOUR_USERNAME\AppData\Local\Android\sdk\platform-tools && C: & adb.exe kill-server & adb.exe start-server"
The directory depends on your installation of your ADT.
Save as killstart_adb.bat and run this.
Works for me.
Eclipse is in another hard drive (e:). While avd are in c:/Users/Myname/Android.
Problem is that when I run as android application, nothing happens, though the emulator is running. The app is working on the physical phone. I've read several answers, all vague. Help?
I suspect the Android Debug Bridge (adb) isn't running or isn't correctly running. Try running
adb devices
If your emulator is not listed, try running
adb kill-server
adb devices
Note that adb is installed in the platform-tools subdirectory within your android sdk installation.
I was developing an android application from Eclipse, connecting my Acer ICONIATAB A 500, with Android 3.0.1. And I did not have any problem.
Now I'm trying to developing the same application on Acer ICONIATAB A 501, with Android 3.2
and my ADB can't find the new device, while Windows can find it! I set in my tablet Debug USB option active, and I installed the appropriate driver on Windows.
I installed even the last Google USB driver (Rev. 7)
I tried to list the device find form adb with command
adb devices
from command line, but List of devices attached is empty.
What can i do?
execute these line
adb kill-server
adb start-server
if it is mobile device check that in settings, developers options , debugging mode is checked or not
You need to install LGUnitedMobileDriver package from the LG website, even though Windows 7 automatically installed USB drivers for the phone.
Try to update your Android-SDK on your computer (in Eclipse or whatever IDE you are using), this helped me solve a similar Problem.