NOTE: Please note that Delphi does not use the latest releases, but rather points to a certain version, so anything outside of that is up to you!Īs I said: if you used Android Studio to update your SDK/NDK -> you'll have an "incompatibility" if using "MANUAL UPDATES command-line" -> In this case, use "Android Studio" to avoid anything! Now, in Delphi, always prefer to delete the old settings and recreate them so that there is no question about the paths! You can find here on the forum a post of mine on how to manually update the Android SDK/NDK, instead of using Android Studio, as there is a small incompatibility of the configuration files generated by it, and, the manual update of Android ( SKDManager.bat) from the command line! However, if you don't mind some "Warnings", you can use any of the SDK/NDK update ways (I use the manual update)Īfter that, you can use JAVA JDK or AdoptOpenJDK, as specified by Embarcado: then follow the Embarcadero requirement (I use AdoptOpenJDK by default) What do I need to do to get this working properly? would try the following:įirst, update the Android SDK/NDK files for correct use in Delphi A thread mentioned that API level 30 or above must now be also signed using APK Signature Scheme v2 or hig h er. I did read that Delphi 10.4.2 is using Jarsigner instead of APKSigner, which is required for APKs with a target SDK of 30 or higher. In Delphi, I noticed on the Java tab of SDK Manager that the Jarsigner path shows C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\bin\JarSigner.exe. I tried pointing to this path showing in my Android Studio SDK Manager C:\Users\ standard user\AppData\Local\Android\Sdk\build-tools\33.0.2, and just C:\Users\ standard user\AppData\Local\Android\Sdk, which is where my Android Studio files reside, but I keep getting the invalid path error. NDK Base Path: C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidNDK-21-9.9797\android-ndk-r21 SDK Base Path: C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidSDK-2525-9.9797 My current paths in Delphi SDK Manager are: When I go to Tools->Options->Deployment-SDK Manager and attempt to modify the path for SDK Base Path to point to the new Android (API level 33) SDK I get an Invalid Path. I'm running Delphi 10.4.2 and trying to add in Android 13 (API level 33) via SDK Manager.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |