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.
Related
When I start a Genymotion emulator (Android studio emulators crash android studio and dont start), I have to run adb connect 192.168.56.101:5555 in order to connect adb to the emulator. Otherwise it doesn't show up when I use adb devices. I never had to do this before and I cannot figure out why.
Looks like it has something to do with recent update in android sdk platform tools. Downgraded mine from 28.0.2 to 28.0.1 and successfully got my genymotion emulator in adb devices back.
1): Try go to SDK MANAGER in folder EXTRAS and install GOOGLE USB DRIVER
If this happens on a Linux machine you could try to Uncheck the "Use Host GPU" checkbox - in the emulator settings**
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 am using Ubuntu operating system.
I installed Android Studio and Genymotion. I installed Genymotion plugin from Androis Studio. I created virtual device. When I click the Run button to run my program, I see the following message :
ADB not responding, if you would like to retry, then plase manually kill "adb, and click "Restart"
Because adb was not installed at my pc, I first installed adb.
I searched how to kill adb and tried following commands:
adb stop-server
adb start-server
But nothing changed. I saw lots of messages about this issue but non of them worked for me.
adb installation path: /usr/bin/adb
genymotion installation path: /home/myname/genymotion
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
I'm using Ubuntu 12.04, Eclipse 3.7.2 and Android SDK with the latest updates.
I develop Android Apps and when i want to start the app on my phone with adb or using the Android Emulator, Eclipse freezes and i can't do anything with eclipse. I hope you can help me.
thanks!
try to restart adb server
Using kill-server and start-server commands.