Android Studio Can Not Find My Device - Lenovo Yoga - android

I have a problem connecting my Lenovo Yoga tablet with Android Studio. I am using AS 1.5 and the Yoga is with 4.2.2 Android. My Machine is using Windows 10 the latest iteration. So on the problem, I made completely new and blank project trying to run it on the device in order to make sure everything is conneceted right before start the project. When i press run AS only finds the emulator and not the Yoga device. My friend is able to run the same exact project with the same configs at her computer, but I can't. Please assist. If you need any further information I'll provide it.

You can download your ADB driver from here :
http://androidmtk.com/download-lenovo-usb-drivers
install that and android studio will find your device.
That works for me

Related

Android Studio: Running application in emulator not working

Today I downloaded Android Studio for my Debian Testing system. I wanted to run a HelloWorld application but weren't able to run it. With adb I can install it without having any problems.
However, if I try to do it with Android Studio, it gets stuck on 'Installing APKs'. The same happens when I try to start it in an emulator (gets stuck on 'Waiting for target device to come online').
My device is a Samsung Galaxy S3 with LineageOS (Android 7.1.2) and root permissions. Android Studio recognizes my phone properly.
What I've already done:
installed openjdk
set android_home
installed all the SDK-platforms since Android 4.3 and Android Emulator from SDK tools
enabled USB-debugging
tried with MTP and PTP
tried another emulated phone
installed lib32stdc++6
restarted my computer
and probably much more
I tried to do it the whole evening and couldn't find a solution. Is there something Debian-specific because I can only find instructions for Ubuntu? I have never experienced anything close to this on other systems.
Thank you in advance.
EDIT: I am now able to use my phone to run the android application by using USB 2.0 instead of USB 3.0! Is that a normal behavior since it works with native adb? I mean, if I buy a new PC after some years which has got only USB 3.0 ports, will I not be able to use phone debugging with Android Studio or is this just an issue? It is still known since 2014 (https://stackoverflow.com/a/9548311/8292104).
However, I still cannot get the app running on an AVD. I changed graphics to software, now it shows the phone but the screen remains black and the phone won't start. What can I do to fix it?
Try to completely delete and install Android Studio again, I think that it will solve the problem
Another possible solution that worked for me is to, in the application, go to
app - build - intermediates - split-apk - debug - slices
and then delete all of the contents within this folder. Then again, this only worked for me, so I would duplicate the document in case of corruption.

Appcellerator Titanium not finding Android devices

I'm having a lot of trouble getting Appcelerator studio to recognize any devices on Windows 10.
Situation is this, have recently upgraded to Windows 10 from 7 in order to have a go at Windows phone development.
I was able to detect and deploy to Android devices fine on my Windows 7 setup.
ADB finds the Android devices ok in command line mode.
Using the Titanium CLI, "Ti info" states "no android devices connected".
Have set up Android studio as a test, Android devices show up successfully and I've been able to run a "hello world" app to them.
Have set up Appcelerator studio on another Win 10 machine as a test, no joy there either
SDK's seem to be set up ok, can run apps on emulator.
Has anyone out there had any trouble deploying to android on Win 10, are there any known bugs or quirks that could be blocking communication between ADB and Appcelerator studio?
Devices used are LG G3 and Galaxy S6
Any help much appreciated!

connecting a tablet to android studio on windows 7

I am new to android studio and have been having trouble connecting my tablet to android studio so i can test my apps. My tablet is an filemate x2 that runs on android 4.4.2 and i've changed android studio to 4.4.2 from 6.0 . My computer im using is too old so i cant run a virtual machine because of multiple issues(intel HAXM, etc) but i run on windows 7. Its an off brand tablet and i tried to find the OEM driver and thought i found something like it on Wintec(filemate's company) website but it didnt work. anyone have any ideas?
Many times it will not recognize the device and because of driver issues, the device won't show up.
go to settings -> control panel -> hardware and sound -> device manager
check for any devices showing an error. Many androids will show as an unknown USB device.
try to update the drivers for it.
Hope this helps.

Unable to select my Android device when running project in Eclipse

I'm trying to develop an Android app using the Eclipse IDE and I want to debug using my physical Moto X (2nd gen, Android version 4.4.4). I thought it was as easy as turning on USB debugging on the phone, plugging it into my macbook (OS X Yosemite 10.10.1), running my Android application from eclipse, and selecting my device.
However when the device chooser dialogue comes up, it doesn't show my moto x in there. It shows all the Android Virtual Devices I have set up, but nothing under running Android device. What's particularly mind-blowing about this to me is that I can clearly see my device in the eclipse device view as online. I can also see it by going into the sdk folder and running adb devices. The only time to doesn't show up is when I try to run the application and select what to run it on.
Has anyone ever encountered this problem before? Is there something here I'm missing? I have the latest Android SDK all up to date, as well as my Eclipse (I'm running Juno if that matters). My Min SDK version is 11, and the Target is 21, so my device should be in that range. I have also tried restarting the device, eclipse, and even my macbook with no luck.
If you are on Yosemite, try to drag corner of one of the column headers in the device chooser box and it will show the device. This is a hilariously stupid bug on eclipse for Mac. Check this answer.
There might be something wrong with eclipse. Sometimes the only solution to fix eclipse is to redownload a fresh copy of ADT from website.
You say that you can see your device when you run adb devices.
In this case use eclipse to build your project then use adb to install the apk on the phone:
adb install /path/to/projectRoot/bin/myBuild.apk
Better yet I would take this as a sign to forget Eclipse and move to Android Studio. Version 1.0 was released today (no more beta).

Developing for Android on Windows 7 using Eclipse

I have followed all the necessary installation and setup steps for Eclipse 3.4 + ADT + Android SDK on Windows 7.
I followed the Hello, Android tutorial in Eclipse and code-completion also works like a charm. No errors shown.
unfortunately the emulator never shows up.
When I run the project. I have fullfilled the same steps in a virtual Windows XP machine and - though very slow - it does work there.
I have not found anything about known problems with Windows 7. What can I do?
Try launching the emulator from the command line with the -verbose option as this may help determine why it is failing:
emulator -verbose -avd <avd name>
To a get a list with the names of AVDs you've set up enter:
android list avd
(If nothing shows up when you list your AVDs that's your problem.)
Ensure you are running the app as an android app and as Dave Webb suggest ensure you have an emulator "profile" created. I created one to meet my HTC Hero and I use Windows 7 (x64).
NOTE: You might also want to unplug your HTC device, if its connected to the PC. I've noticed that if its plugged in the apps will download and run directly on the real device. Thats probably by design and intentional. ;-)
HTH
Philip
I am developing on Windows 7 Pro with no issues. Eclipe and Emulator are all working OK.

Categories

Resources