Recent

Author Topic: update sdk to api 30  (Read 665 times)

rsu333

  • Full Member
  • ***
  • Posts: 110
update sdk to api 30
« on: April 26, 2022, 03:46:32 pm »
If we uninstall and reinstall LAMW LAZARUS ,then it automatically upgrade sdk to api30  ?

jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: update sdk to api 30
« Reply #1 on: April 26, 2022, 06:36:05 pm »
Hi, rsu333!


How you got your LAMW LAZARUS?  ("Laz4Android?", "Lamw Manager?", or others?)

A quick and temporary solution is simply update your android sdk:

.on command line terminal go to folder "sdk/tools/bin"
.run the command >>sdkmanager --update
.run the command >>sdkmanager "build-tools;30.0.2" "platforms;android-30"
« Last Edit: April 26, 2022, 06:40:47 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

rsu333

  • Full Member
  • ***
  • Posts: 110
Re: update sdk to api 30
« Reply #2 on: May 01, 2022, 06:04:57 am »
Thanks for your kind guidance .I am using laz4andrid with LAMW_manager. i have try to update with LAMW_manager run as administratar. but still notice display

rsu333

  • Full Member
  • ***
  • Posts: 110
Re: update sdk to api 30
« Reply #3 on: May 01, 2022, 06:24:23 am »
This type of massage appear
"C:\lamw_manager\LAMW\sdk\tools\bin>sdkmanager "build-tools;30.0.2" "platforms;android-30"
Warning: java.io.FileNotFoundException: https://dl.google.com/android/repository/sys-img/android-desktop/sys-img2-1.xml
Warning: An error occurred while preparing SDK package Android SDK Build-Tools 30.0.2: Tag mismatch!.
done"

 

TinyPortal © 2005-2018