Jump to content
Sign in to follow this  
dmitrybv

RAD Studio does not recognize an Android device like Xiaomi Mi Max 3.

Recommended Posts

Posted (edited)

Hello.

Tell me why RAD Studio may not see the connected Android device?

I have Xiaomi Mi Max 3.

The latest USB driver for the device has been updated.

Debugging is enabled on your phone.

Windows explorer sees the device.

Device Manager sees the device.

In RAD Studio, the device is not visible in the Target section.

When you click Target-Refresh, a message appears

Would you like to update the platform SDK now?

Yes No

When you click Yes or No, nothing happens.

 

 

Screenshot_2024-07-08-22-02-49-731_com.miui.home.jpg

Screenshot 2024-07-08 223211.png

Screenshot 2024-07-08 223250.png

Screenshot 2024-07-08 223456.png

Edited by dmitrybv

Share this post


Link to post

Xiaomi maintain their own Android fork. Can that be a factor?

Share this post


Link to post
2 hours ago, dmitrybv said:

When you click Target-Refresh, a message appears

Would you like to update the platform SDK now?

I suspect the Android SDK was not installed completely. Check the SDK settings (Tools | Options > Deployment > SDK Manager)

Share this post


Link to post
8 hours ago, Dave Nottage said:

I suspect the Android SDK was not installed completely. Check the SDK settings (Tools | Options > Deployment > SDK Manager)

I have Embarcadero RAD Studio 12 Version 29.0.51961.7529

It seems that the AndroidSDK-2525-23.0.51961.7529 folder does not contain all the necessary files.

Folder size C:\RADStudio\23.0\CatalogRepository\AndroidSDK-2525-23.0.51961.7529\ - 285 MB

No subfolders

C:\RADStudio\23.0\CatalogRepository\AndroidSDK-2525-23.0.51961.7529\platform-tools

AND

C:\RADStudio\23.0\CatalogRepository\AndroidSDK-2525-23.0.51961.7529\platforms

 

But how could this happen? When installing RAD Studio, I checked all the Target Platform boxes - Android, Android SDK and Eclipse Temurin OpenJDK.

Installation files:

radstudio_12_esd_117529a.exe │ 169 M

radstudio_12_esd_117529a.gof │7239 M

Bytes: 7 767 801 701, files: 2, folders: 0

 

Can this be fixed somehow?

Screenshot 2024-07-09 090550.png

Screenshot 2024-07-09 091201.png

Screenshot 2024-07-09 091420.png

Share this post


Link to post
59 minutes ago, dmitrybv said:

Can this be fixed somehow?

Possibly, via Tools | Manage Features:

  1. Ensure the OpenJDK is installed. (right hand side, scroll all the way down). If it is not, select it, and click Apply.
  2. Deselect the SDK/NDK, and click Apply
  3. Reselect the SDK/NDK, and click Apply.

During these steps, you might need to re-open Tools | Manage Features. I can't remember if it closes after clicking Apply.

 

Share this post


Link to post
2 hours ago, Dave Nottage said:

Possibly, via Tools | Manage Features:

  1. Ensure the OpenJDK is installed. (right hand side, scroll all the way down). If it is not, select it, and click Apply.
  2. Deselect the SDK/NDK, and click Apply
  3. Reselect the SDK/NDK, and click Apply.

During these steps, you might need to re-open Tools | Manage Features. I can't remember if it closes after clicking Apply.

 

Thanks Dave.
That helped.
Most likely adding/removing Features uses online downloads,
and the offline installation file RADStudio_12_1_61_7529.iso does not contain all files for AndroidSDK-2525.

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×