Konfiguracja SDK dla Androida

0

Mogę prosić o print screen konfiguracji z działającego Delphi 11.2 ?
W nowym NDK 25 juz nie ma strip.exe i gdbserver

A było tak:

  • zainstalowałem Delphi 11.2 bez SDK/NDK

A terach chciałem sobie to wyklinać

screenshot-20221018174319.png

2

ndk.pngsdk.pngjava.png

0

Dziekuję , konice końców mam tak samo jak Ty ale u mnie nie działa

Odnalazłem to:
Tools -> Manage platform -> Additional Options -> Android SDK 25.2.5 NDK r21

Po zainstalowaniu dodały mi się SDK (wersja 32 i 64 bit)
ale w IDE działa tylko 32bity A ja bym potrzebował 64bit :(

Ale zrobiłem jeszcze taki eksperyment:

  1. Skasowałem wszystkie targety oprocz Android64
  2. Zrobiłem plik BAT
cd /d %~dp0
call "C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\rsvars.bat"  
msbuild  /t:Build /p:config="Debug" HeaderFooterApplication.dproj
  1. Wynik "Kompilacja powiodła się." i na konsoli widze proces kompilacji

Tylko że to nie jest IDE i nie ma APK
czyli mam chyba wszystko poprawnie ustawione tylko IDE ma problem

Przy każdej probie zbudowania w IDE mam
screenshot-20221018193122.png

0

czy dobrze widzę że chcesz sdk androida Level 33? Te Delphi obsługuje maksymalnie Level 32 (czyli Android 12). Może to jest przyczyną problemów?

0

nie znalazłem jaka wersja jest możliwa to podałem taka jaka znalazłem na dysku
oczekiwał bym tego tutaj:
https://docwiki.embarcadero.com/RADStudio/Alexandria/en/SDK_Manager

1

tutaj masz to napisane:
https://docwiki.embarcadero.com/RADStudio/Alexandria/en/11_Alexandria_-_Release_2

dokładnie ten fragment:

Android Target API
This release targets Android API Level 32 (up from API level 30 in 11.1). The main reason is Google Play store mandates Android API Level 31 starting in August 2022 for new submissions and in November 2022 for updates.

There are several related changes to the Android toolchain for both Delphi (32-bit and 64-bit) and C++Builder (32-bit), including:

Updating the JDK version installed with RAD Studio to JDK 11 (required by the latest version of the Android SDK and tools).
Upgrading the default value for the 'targetSdkVersion' manifest attribute to 32.
Updating the 'AndroidManifest.xml' template to set a value for the 'exported' attribute in the declaration of the 'FMXNativeActivity' activity (required by API Level 31 support).
Rad Studio version 11.2 now supports generating a PKCS12 Keystore and also includes new permissions in the Application > Uses Permissions page of the Project Options dialog. And an update to the Android Java SDK finder so that if the Eclipse Adoptium JDK is available, it will be used in preference to other JDKs.

0

przetestowałem na innym komputerze i tam wszystko działa od pierwszego kliknięcia :D

1 użytkowników online, w tym zalogowanych: 0, gości: 1