I'm using Delphi 11.1 / 11.2 within a VirtualBox (Host OS: Ubuntu). OS within the VirtualBox is Win11. My Problem: None of the USB attached Android devices are shown as build targets in the IDE project pane. On Windows 10 / Delphi 10.4 (also within VirtualBox) this worked perfectly.
I have tried the following:
Activated USB debugging on all devices
VirtualBox USB device settings forward all devices to the VM, Windows explorer allows browsing all the device file systems correctly
Samsung USB driver is installed
Google USB Driver from Android SDK is installed
adb devices lists all my devices from within the VM correctly
Running Delphi IDE from an elevated cmdln has no effect
I have a Samsung phone, Asus tablet and a CipherLab Android scanner device.
I have 3 commercial apps, and I am on a dead end now. There is very little (mostly outdated) content on that topic on Embt sites. All the guides point you to one of the above bullet points, but didn't help me.
As I'm working on X-platform projects, I post this on the Firemokey category. One could say it's more an IDE thing.
[EDIT1]: Using the context menu "Refresh" has no effect
[EDIT2]: adb devices lists all Android devices while Delphi IDE doesn't, added screenshot
Thank you for any help.
Related
What's done:
Enabled Developer settings and USB debugging.
Downloaded and installed SAMSUNG_USB_Driver_for_Mobile_Phones.
BTW, in the Device Manager I can see that winusb.sys provided by Microsoft is used for Samsung Android ADB Interface. Is it okay?
In Unity set up "Unity Remote->Device" to "Any Android Device"
Restarted adb server(adb kill-server/start-server), computer, phone, Unity many times.
I can see my phone in adb devices:
C:\Program Files\Unity\Hub\Editor\2019.2.13f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools>adb
devices List of devices attached
2a44edd8xxxxxxxx device
Tried different versions of Unity.
In all cases a game is not shown in Unity Remote 5. I wonder is there any log which I could see Unity tries to connect to a device in?
Found a solution to the problem:
I just unchecked "Android SDK tools" and filled up the path manually.
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.
I've installed Android studio on my home PC (running with windows 7 Professional), and tried to
use my Mobile Phone (Glalaxy Ace gt-s5830) for developement. Problem here is that neither android studio nor adb-tools find my device. I enabled USB-Debugging ofc, I have downloaded the USB-Driver from the sdk-studio-extras and tried to manually install my device following this: usb drivers
I searched for drivers specific for my device and found only KIES, and unfortunatly, this works like crap. Most versions of it won't even start, those that do don't do anything (every option I got either fails or feel like the buttons have no function at all).
The device itself is working fine on my Macs and Linux OS at work. What do I need to do get android studio to recognize it as a device to choose from?
I am embarking on Android application development for the first time but am running into an initial roadblock: getting my device connected and recognized by my Debian OS. As a matter of fact, Debian doesn't even recognize the device when I connect it via USB (probably a driver issue). I have been searching all morning and nearly every guide I find is for Ubuntu 12.10, back in Jan. 2013 and always ends with commentary about how unstable the method is! I will try to describe my problem as articulately as possible. Forgive me if I miss information or I am unclear.
Computer: Lenovo t410, i7, 4 GB ram
OS: debian 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3 x86_64 GNU/Linux, using XFCE
Samsung Galaxy S4:
Kernel Version: 3.4.0
Hardware: I545.07
Android Version: 4.4.2
Java is installed directly from Oracle.
Eclipse is Kepler service release 2
Everything should be the newest version as of May 15, 2014 (I just re-imaged my whole machine!)
What happens?
When I plug the USB cable into my laptop, Debian detects "Verizon Mobile," and Thunar lists such as a mounted device in the left pane of the file explorer. This stays for about 30 seconds then disappears if I don't touch anything (I can click on it and see some folders: autorun.ini and stuff). Alternatively, on my Android device can I choose to load as MTP or PTP. When I do this, "Verizon Mobile" disappears from Thunar immediately.
What do I want to happen?
1) I want to plug my S4 into my laptop and have Debian recognize/mount the device so I can browse the device from the file explorer.
2) I then want to have the Device integrated with Eclipse such that I can easily launch/migrate/debug/etc. my app as I develope.
What experience do I have?
0% developing Android applications. I am using this guide:https://developer.android.com/training/basics/firstapp/creating-project.html
I've been developing on Linux throughout school. However, I am not fluent on Linux at all. I can navigate/operate at a Low-Medium proficiency. I would love to keep my development compartmentalized and away from my Windows machine such that I can get more experience on a Linux box. My concern with the old guides is to go down a path that makes me junk up my laptop with random and no longer working installs.
Any help with this matter is appreciated. I continuously check this post for any updates and add required information if necessary. Thanks for taking the time to read this.
Guides I have found:
1. (2013) http://roger.steneteg.org/299/mount-mtp-device-on-debian-7-wheezy/
2. (2013) http://crunchbang.org/forums/viewtopic.php?id=29717
UPDATES (other information):
I have tried both enabling and disabling "USB debugging."
I have a web app that I need to tweak for Chrome on a tablet. I have a Samsung Galaxy Tab for testing. I'm trying to follow these famous instructions to use developer tools with Chrome for Android. I have downloaded and installed the Samsung USB driver from here, and it has sprayed 25 folders in C:\Program Files\SAMSUNG\USB Drivers. If there are further steps to identify and use the drivers in these folders, I haven't followed them.
My problem is that chrome:inspect is not finding my device. The device manager shows the device properly installed, but the driver tab says it's running a microsoft driver from 2006! All attempts to update the driver finish with "The best driver is already installed." I can browse the device in Windows explorer. What am I missing?
Chrome on my desktop: Version 36.0.1942.0 canary
Chrome on device: Version 34.0.1847.114
Galaxy Tab: GT-P7510
Android Version: 4.0.4
Thanks in advance :-)
For me (developing on windows 8, samsung S4 connected via USB ) chrome://inspect works, but only if I have adb running in the background. This was not mentioned in the documentation last time I checked.
Get android platform tools if you don't already have it. Then, from a command prompt in android-sdk/platform-tools > adb start-server.
You can do this as often as you like, and may need to do it every time you reconnect your phone, or wake your machine.