Jump to content
limelect

D12 sdk and Android

Recommended Posts

No SDK in the directory after installation of D12

C:\Users\Public\Documents\Embarcadero\Studio\23.0\CatalogRepository\AndroidSDK-2525-23.0.51961.7529

 

On my d10.2.3, there are a few exe files, including AVD Manager.exe

C:\Users\Public\Documents\Embarcadero\Studio\19.0\CatalogRepository\AndroidSDK-2433_19.0.27659.1188

SDK base path

 

I did choose Android during the installation

 Can I copy my d10 to my d12 ? or what

 

On compiling, I get initialization of VM error

D12 community edition

 

P.S I have seen this  

 

Edited by limelect

Share this post


Link to post

@Dave Nottage It is a mess; most directories are bad

On Java 32-bit, it does not allow me to change it 

Maybe because I put both 32 and 64 as the same directory?

The adb.exe does not exist

and so on

 

Up to today, I have bought all the Delphi. Should I buy now?

Is this a Delphi joke

Edited by limelect

Share this post


Link to post
1 minute ago, limelect said:

It is a mess; most directories are bad

Did you follow the instructions at that link I gave? First, you should check whether or not the settings on the Java tab of the Android SDK settings match. If installing Delphi 12 CE, the version for the Eclipse Adoptium JDK might be slightly different. If the path does not even point to an Eclipse Adoptium JDK, you will need to install it, based on the other instruction at that link, i.e.

"Use Tools | Manage Features in the Delphi menu to ensure that the Eclipse Temurin OpenJDK 17 (it appears on the right of the Manage Features window, towards the bottom)"

Once you have the correct JDK installed, Delphi should be able to install the SDK/NDK successfully. You may need to use Tools | Manage Features to remove the SDK/NDK first, then reinstall the SDK/NDK

Share this post


Link to post
3 minutes ago, Dave Nottage said:

Did you follow the instructions at that link I gave? First, you should check whether or not the settings on the Java tab of the Android SDK settings matc

Yes, I started by checking the Java path, but on the 32 it does not allow me to change

Furthermore, I tried to compile to 64, but it wants to update. I say ye,s it fails with no reason

 

Edited by limelect

Share this post


Link to post
1 minute ago, limelect said:

Yes, I started by checking the Java path but on the 32 it does not allow me to change

Not sure what you mean by: "does not allow me to change". The edits for the Java settings are read only? 

Share this post


Link to post

The error saise 

Cannot locate  sdk api level in this path.....

I geuss it is not 32 bit

Edited by limelect

Share this post


Link to post
2 hours ago, limelect said:

I will wait for Delphi 13, maybe it will be better

There are many developers using Delphi 12 (including CE, based on Delphi 12.1) including deploying to Android. Yes, there can be issues with setting up the Android SDK, however it appears you're not actually following instructions properly. Your previous message: 

12 hours ago, limelect said:

The error saise 

Cannot locate  sdk api level in this path.....

Has nothing to do with the problem being discussed at the time, namely the installation and configuring of the JDK (note: Not SDK/NDK - they are separate things). Once the supported JDK is installed, the SDK/NDK should install correctly. As mentioned before, it may involve having to uninstall the SDK/NDK item first, then reinstall. 

 

image.thumb.png.8681924bbc5f399328a434bfcbf77ee6.png

Share this post


Link to post

@Dave NottageWell, you might be right, but as a professional using Pascal even before

Delphi, I do not have the strength to use failing products.

For Android, I will stick with Android Studio even though Delphi

is better in that area and wait for a new version

 

Maybe I will give it one more shot

Edited by limelect

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

×