Jump to content
rudy999

Delphi 12.3 web install - I selected Android as well as Windows but did not install Android SDK NDK

Recommended Posts

I just finished updating from 12.2 to 12.3.

I selected Windows and Android (and IOS).

The installation seemed to download what was selected, but I could not compile or build for Android.  (win32 or win64 ok)..

The files I was expecting in the Catalog Repository were not there..

I manually downloaded (maybe a mistake) the Android SDK and NDK (via Android Studio, which I downloaded and installed..)

then tried to 'Edit SDK' in Rad Studio setting. No more exclamation marks, but clearly there is a mismatch somewhere..

 

I get this error message with a previously compiling app or a new project (Android 64)

Is it now a PATH issue?  - or should I 'reinstall' rad studio?

[DCC Error] E2597 ld.lld: error: unable to find library -ldl

ld.lld: error: unable to find library -lc
  ld.lld: error: unable to find library -lm
  ld.lld: error: unable to find library -landroid
  ld.lld: error: unable to find library -llog
  ld.lld: error: unable to find library -ljnigraphics
  ld.lld: error: unable to find library -lEGL
  ld.lld: error: unable to find library -lGLESv2

 

Back to square 1

Share this post


Link to post

I have the same issue.

All the paths in the SDK Manager are set to the default and there is no indication that any are invalid.

 

Would love to know how to fix it.

Share this post


Link to post

Hade the same. Use the Platform manager, deselect the Android SDK (Uninstall) it. After uninstall, select the checkbox and install the SDK again. 

Share this post


Link to post
59 minutes ago, rudy999 said:

platform manager

No, i mean that in delphi directly

image.thumb.png.cd3c463a4d9c85a627a7bbcf7dbeec94.png

 

image.thumb.png.df2a6dd0b492404ccf320b33733b06c5.png

 

Then uncheck the Android SDK, after uninstall it, check it again.

Share this post


Link to post

Ok, so something strange is going on my dev PC.

Un installing and re installing the platforms - the folders and files in the catalog repository for Android do NOT appear, though there are no errors during 'install'.

I have a test PC where I FIRST updated 12.2 to 12.3 and the Android folders and files were where they were supposed to be.

I COPIED them from that PC to my Dev PC and finally got it all working.

In 12.2 the FMX app for Android was looking for the Android SDK 25.2, now it is using Android SDK 35.02, as far as I can tell. That was probably part of the issue in regards to the ld.lld issue.

 

Now I am afraid when 12.3+ comes out....

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

×