Jump to content
JohanSwart

Android not installing and being setup correctly

Recommended Posts

Hi,

I just bought Delphi Professional and downloaded the latest (11.3).

Using the online and offline installers I tried to install the Android SDK.

The install completes correctly, when I go through the set-up wiki pages it seems that some Android files were not installed.

I even tried installing Android separately (via the Android Studio) but could not figure out how to integrate it into Delphi.

I tried following the old YouTube video from Stephen Ball, but it seems too old to be relevant anymore.

 

Can anyone please provide me with a step-by-step to install the correct Android files and set them up in Delphi?

This is crucial for why I bought it.

 

Thanks,

Johan

Share this post


Link to post

I recommend strongly EITHER using the web installer OR using the ISO - never both.

 

Did you connect an Android device?

and read these?

https://docwiki.embarcadero.com/RADStudio/Alexandria/en/FireMonkey_Platform_Prerequisites

https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Android_Mobile_Application_Development

https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Creating_an_Android_App

 

Quote

 it seems that some Android files were not installed.

We are unable to guess which ones.

Share this post


Link to post

Here some that you can to do if needs update your SDK Android:

NOTE: Android Studio and Delphi is not tottally compatible when in installation files!!!

NOTE2: you DONT need use default folder to NDK/SDK Android, my preference is always create myself directory (like D:\MySDKs\Android\NDK/SDK for each IDE and just use it in my setup! - I always avoid use "System folders" or long-names)

NOTE3: you can have your ANDroid files in any place in your disk or system! Not needs any installation, just copy it!

 

look this  https://en.delphipraxis.net/topic/7949-problem-on-update-sdk-ndk-in-delphi-11/

Edited by programmerdelphi2k

Share this post


Link to post

Hi installed on a clean Win11 VM and Android SDK was not downloaded and correctly installed. It was from the web installer, despite the fact I picked the option to install it.
I've been suggested to use the platform management from the IDE to uninstall it (unselect). It worked a bit. Then I launched the IDE again and picked Android again from the Platform Manager. This time, it fully installed everything, and it's now working. 
The NDK was ok, but the SDK option page showed all paths missing (and they actually were missing from the out of the box install)

 

So try platform manager, uncheck Android and AdoptJDK, relaunch and check them back.
It may solve your problem.

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

×