Einzelnen Beitrag anzeigen

nikosophi

Registriert seit: 8. Mai 2013
Ort: Weilerswist
47 Beiträge
 
Delphi 11 Alexandria
 
#1

Update ADB auf Version 32 will nicht

  Alt 19. Jan 2023, 11:17
Hallo an alle Android - Wissende,

um FMX Android Apps zu erstellen, wollte ich gemäß
https://blogs.embarcadero.com/de/dev...11-alexandria/
die ADB auf den neuesten Stand bringen.

Im CMD Fenster als Administrator bekomme ich:
ADB Version
Android Debug Bridge version 1.0.41
Version 31.0.3-7562133
Installed as c:\Users\Public\Documents\Embarcadero\Studio\22.0\ CatalogRepository\AndroidSDK-2525-22.0.42600.6491\platform-tools\adb.exe

Es sollte aber wohl mindestens 32.0.0-8006631 sein.
Also:
1) adb kill-server
geht
2) sdkManager -update
gibt Fehler: Warning: Failed to find package '-update'

Code:
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>sdkmanager -update
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>rem @if "" == "" @echo off
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>if "Windows_NT" == "Windows_NT" setlocal
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>set DIRNAME=c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin\
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>if "c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin\" == "" set DIRNAME=.
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>set APP_BASE_NAME=sdkmanager
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>set APP_HOME=c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin\..
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>set DEFAULT_JVM_OPTS="-Dcom.android.sdklib.toolsdir=c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin\\.."
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>if defined JAVA_HOME goto findJavaFromJavaHome
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>set JAVA_EXE=java.exe
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>java.exe -version 1>NUL 2>&1
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>if "0" == "0" goto init
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>if not "Windows_NT" == "Windows_NT" goto win9xME_args
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>set CMD_LINE_ARGS=
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>set _SKIP=2
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>if "x-update" == "x" goto execute
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>set CMD_LINE_ARGS=-update
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>set CLASSPATH=c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin\..\lib\sdkmanager-classpath.jar
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>"java.exe" "-Dcom.android.sdklib.toolsdir=c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin\\.."   -classpath "c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin\..\lib\sdkmanager-classpath.jar" com.android.sdklib.tool.sdkmanager.SdkManagerCli -update
Warning: Failed to find package '-update'
[===                                   ] 10% Computing updates...
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>if "1" == "0" goto mainEnd
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>rem Set variable SDKMANAGER_EXIT_CONSOLE if you need the _script_ return code instead of
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>rem the _cmd.exe /c_ return code!
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>if not "" == "" exit 1
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>exit /b 1
c:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.44500.8973\cmdline-tools\latest\bin>
Was mache ich da falsch?
Ich bin für jeden Hinweis dankbar!

Viele Grüße
  Mit Zitat antworten Zitat