My device is not found
I have been trying to run my first mobile app but Qt pops up a dialog "Select Android Device" stating that no compatible device was found, my phone is not listed.
I installed Android SDK, Android NDK, Java SE Development Kit (JDK) , and Apache Ant.
I read online that I have to install Google USB Driver in order for my phone to be recognized. I ran the SDK manager and selected the Google USB Driver form the SDK Tools tab and it was installed.
I also selected application development and selected USB debugging on my phone and still my phone is not listed.
Would greatly appreciate your assistance
@WhatIf Is your device not listed at all, or is it listed as incompatible?
Here is a screenshot:
What are your phone specifications ?
As written here, the minimum API level is 16 which means Android 4.1. Yours is at 2.3.4.
The other alternative to getting a new phone is to Create Android Virtual Device. When I click the button I get "Cannot create a AVD for ABI armeabi-v7a. Install an image for it."
When I searched online, they mention that armeabi-v7a is listed under SDK Tools in SDK Manager. That doesn't seem to be the case.
How can I get a virtual device to work?
This is one of the website I came a cross while searching for a solution. I'm running Windows and here is what my SDK Manager displays
No ARM EABI v7a
Please follow below steps
Turn on developer options
Turn on adb debugging
Please use below commands
Always use adb from latest android SDK installed
If on windows just run command prompt by run as administrator
On Linux systems use sudo.
Always remember run qt by admin rights. I.e sudo in linux
After this your device will start showing up
If still after running commands there is no device shown change cable and try different USB port
Tried running adb devices as administrator and got
'adb' is not recognized as an internal or external command,
operable program or batch file.
ran the command from inside C:\Users\Mike\AppData\Local\Android\sdk\tools>
@WhatIf Please check the "Show Package Details" check-box in "SDK-Tools"...
Yes ofcourse you to run it from path. Else you can add path to System Environment variables if you don't want to navigate to directory.
So did you finally got your device working?
As for the minimum requirements of Api level 16 . You can updgrade the device Android version by taking latest os from Cyanogen mod .
I kept trying until I found that the images are now under SDK Platforms not SKD Tools. The following image shows what I have installed
I thought this would fix the problem but I still get
Cannot create a AVD for ABI armeabi-v7a. Install an image for it
@WhatIf What API level do you use? You installed the image for 25.
@WhatIf Can you create avd in android studio.