Can a Chinese tablet be used as an Android emulator device?
Because my eclipse cannot detect any device, and the same with Samsung Kies.
Does anyone know how it can be connected?
Yes you can, it's not dependent on what make the tablet is, it has everything to do with what Android version is running.
Just connect it to your PC and make sure in the Android settings that debugging on the device is allowed.
Check this out for example: http://www.groovypost.com/howto/mobile/how-to-enable-usb-debugging-android-phone/
The emulator is just the virtual device used from the sdk to allow you to develop without a real device, so actually you're asking to us if you can run your apps with your device.
Yes, obviously.
If you're running Android you can install your apks on your tablet, just connect it and select "USB device" instead of "emulator", otherwise the emulator will start. Don't forget to add "Debugging" in your settings.
If you cannot interface your tablet with your pc (due to usb drivers issues, or others) you can still upload your apk somewhere and install it (like send it to you by mail, or upload it on your Dropbox folder).
Yes. Just like what Gerald says, it is not dependent to the device but to the OS.
To use an Android device as an emulator, you need to:
Install the ADB driver corresponding to your device on your PC. If you didn't install it, then your device won't be recognized on your PC. The ADB drivers for Samsung devices can be found on Samsung Kies.
USB debugging must be enabled on your phone. To enable USB debugging on your phone, go to > Settings > Applications > Development and check "USB Debugging". If you don't enable it, then you can't use your phone/ table as an Android Emulator Device.
Related
I want to debug my Android app with my tablet(Samsung). I enabled usb debugging in Developer Options. When I connect my tablet to my PC, I click 'Allow' for enabling access to the device. But the device doesn't show on Android Studio. I click 'Troubleshoot Device Connections' and it says 'Device is waiting for you to grant permission.' under 'Found 1 device with possible problems. Also, under that there are 12 devices under 'Found 12 devices not recognized as Android devices' and my device also is shown there.
I tried to install Samsung Usb Driver via Device Manager and it says MTP drive is already installed. May this MTP drives be problem when connecting device to Android Studio? If so, how can I delete this MTP driver and install Samsung USB driver?
Try to check if the settings install via usb is enabled too.
Android Studio is not recognizing any external emulators (phones) connected to it.
I have tried the following mentioned things without any success:
Installed the device driver. (It is working fine. The device recognizes my
phone.)
Turned on USB Debugging.
Kill-server and then start-server commands.
I am using Android Studio for Windows.
Probably you haven't installed the driver for your phone (if you use Windows). For instance, if you use Nexus or Pixel phones, you should install this. If you use Samsung phones, try this link.
It worked for me. If you still cannot see any of the devices, try calling 'Invalidate Caches / Restart' in the File menu in the Android Studio and restarting the system.
Hope it helps!
I had the same problem, my problem was I was using a cable that cam with the phone that acsually would not transfer any data from\to the phone, the moment I changed the cable it worked like magic.
Just try changing a cable 1st, the PC has to recognize the device even if You have no drivers, if Your phone doesnt ask You to give permission to access from PC than the cable is just a charging cable!
Hope it helps.
Set up a device for development (android documentation) :
On the device, open the Settings app, select Developer options, and
then enable USB debugging.
Set up your system to detect your device.
For Windows: Install a USB driver for Android Debug Bridge (adb). For an installation guide and links to OEM drivers, see the
Install OEM USB Drivers document.
When you connect a device running Android 4.2.2 (API level 17) or
higher to your computer, the system shows a dialog asking whether to
accept an RSA key that allows debugging through this computer. This
security mechanism protects user devices because it ensures that USB
debugging and other adb commands cannot be executed unless you're able
to unlock the device and acknowledge the dialog.
I'm trying to test an Android application and have a device connected via USB. The device detects (and charges off) the USB connection but I can't seem to find any record on the computer (running Windows 7) that the device is connected. I looked in Device Manager and did not see an "Android Devices" category, nor did I see an "Other Devices" category. I looked on the device manufacturer's website to see if they had drivers; I could not find any. Does anyone have any idea as to how I could get the device to show on the computer? Thanks!
Most probably windows and especially android adb will see your android device after installing the Google USB Driver
I had the same problem for many of my android devices and most of them are running fine with the driver from google. Only for some sony devices I had to install special drivers.
In Android Studio go to Tools -> Android -> Android Device Monitor. Once it opens close it, this will reset your adb and you should be able to see your device
Your problem sounds related with drivers
the Google USB Driver works only for some android models, some other drivers are installed as plug and play but some others you have to install manually.
http://developer.android.com/intl/es/tools/extras/oem-usb.html
Also sometimes it happened to me that the adb didn't recognize the device while the screen was locked so you could also check that out.
It turned out that the USB cable I was using was a charge-only cable. After switching the cable out, the device showed on ADB.
I'm trying to run just the intro "Hello World!" app on my phone (Droid Razr Maxx) which is running android 4.1.2 jelly bean using Eclipse. I have USB Debugging enabled, have tried updating the drivers/reinstalling the drivers for my phone (I have the Google USB driver also), and have tried changing the type of device the computer reads it as from mass storage to media device to camera. Restarts haven't been working for anything (computer, eclipse, phone, meh). When I go to look for my device it doesn't even show up, the form is blank: pic of Android Device Chooser window. Any clue as to what may be happening?
You need to install the Motorola device manager. With this the driver of your phone will be installed, i was having the same issue you have with Motorola devices. You can download the device manager from here: https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481
Assuming you have the drivers installed correctly and your computer reads your phone as an external device, I would recommend enabling "Unknown Sources" or something to that affect in the Security section of your Settings.
Also, for some reason when I was researching this stuff about my S3, I was told to enable "Stay Awake", which can be found in the Developer Options section of your Settings.
Let me know if it works.
Check HERE for installation of your mobile driver.
ADB should detect your device, to check this, open window command prompt change directory to android sdk folder by cd command, then go to platform-tools then this command adb kill-server then adb devices.
Unplug the Device from your Computer.On your handset, go to Settings then click on Security. Make sure the Unknown sources checkbox is ticked. Go back. Scroll down to Developer Options. Make sure the USB Debugging and allow mock locations is ticked.
Re-plug your Device back to your computer. It should find your Device now.
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.