Android Question B4A SDK Manager Update error

rdkartono

Member
Licensed User
Downloaded the newest B4A SDK Manager version 3.60.

When it tried to update Android Emulator to version 29.3.4, it could not replace "...\android-sdks\tools" and required us to move / delete "...\android-sdks\tools" manually.
Logs :
B4A SDK Manager error log:
Loading package information...                                                  Loading local repository...                                                     Info: Parsing C:\Users\rdkartono\android-sdks\build-tools\27.0.1\package.xml
Info: Parsing C:\Users\rdkartono\android-sdks\build-tools\28.0.3\package.xml
Info: Parsing C:\Users\rdkartono\android-sdks\emulator\package.xml
Info: Parsing C:\Users\rdkartono\android-sdks\extras\google\usb_driver\package.xml
Info: Parsing C:\Users\rdkartono\android-sdks\extras\intel\Hardware_Accelerated_Execution_Manager\package.xml
Info: Parsing C:\Users\rdkartono\android-sdks\patcher\v4\package.xml
Info: Parsing C:\Users\rdkartono\android-sdks\platform-tools\package.xml
Info: Parsing C:\Users\rdkartono\android-sdks\platforms\android-23\package.xml
Info: Parsing C:\Users\rdkartono\android-sdks\platforms\android-28\package.xml
Info: Parsing C:\Users\rdkartono\android-sdks\platforms\android-29\package.xml
Info: Parsing C:\Users\rdkartono\android-sdks\sources\android-28\package.xml
Info: Parsing C:\Users\rdkartono\android-sdks\system-images\android-28\default\x86_64\package.xml
Info: Parsing C:\Users\rdkartono\android-sdks\tools\package.xml
[                                       ] 3% Loading local repository...        [                                       ] 3% Fetch remote repository...         [                                       ] 3% Fetch remote repository...         [=                                      ] 4% Fetch remote repository...         [=                                      ] 4% Fetch remote repository...         [=                                      ] 4% Fetch remote repository...         [=                                      ] 5% Fetch remote repository...         [=                                      ] 5% Fetch remote repository...         [=                                      ] 5% Fetch remote repository...         [=                                      ] 5% Fetch remote repository...         [=                                      ] 5% Fetch remote repository...         [=                                      ] 5% Fetch remote repository...         [==                                     ] 5% Fetch remote repository...         [==                                     ] 5% Fetch remote repository...         [==                                     ] 5% Fetch remote repository...         [==                                     ] 5% Fetch remote repository...         [==                                     ] 5% Fetch remote repository...         [==                                     ] 5% Fetch remote repository...         [==                                     ] 5% Fetch remote repository...         [==                                     ] 6% Fetch remote repository...         [==                                     ] 6% Fetch remote repository...         [==                                     ] 6% Fetch remote repository...         [==                                     ] 6% Fetch remote repository...         [==                                     ] 6% Fetch remote repository...         [==                                     ] 6% Fetch remote repository...         [==                                     ] 6% Fetch remote repository...         [==                                     ] 6% Computing updates...               [===                                    ] 8% Computing updates...               [===                                    ] 8% Computing updates...               [===                                    ] 10% Computing updates...              [===                                    ] 10% Installing Android SDK Tools                                                                                      Info: Preparing "Install Android SDK Tools (revision: 26.1.1)".
[===                                    ] 10% Installing Android SDK Tools                                                                                      Info: Found existing prepared package.
[===                                    ] 10% Installing Android SDK Tools                                                                                      Info: "Install Android SDK Tools (revision: 26.1.1)" ready.
[===                                    ] 10% Installing Android SDK Tools                                                                                      Info: Installing Android SDK Tools in C:\Users\rdkartono\android-sdks\tools
[===                                    ] 10% Installing Android SDK Tools                                                                                      [===                                    ] 10% Installing Android SDK Tools      [=====================                  ] 55% Installing Android SDK Tools                                                                                      Info: "Install Android SDK Tools (revision: 26.1.1)" complete.
[=====================                  ] 55% Installing Android SDK Tools      [=====================                  ] 55% Installing Android SDK Tools                                                                                      Info: "Install Android SDK Tools (revision: 26.1.1)" failed.
[=====================                  ] 55% Installing Android SDK Tools     
Warning: An error occurred during installation: Failed to move away or delete existing target file: C:\Users\rdkartono\android-sdks\tools
Move it away manually and try again..
java.io.IOException: Failed to move away or delete existing target file: C:\Users\rdkartono\android-sdks\tools
Move it away manually and try again.
    at com.android.repository.io.FileOpUtils.safeRecursiveOverwrite(FileOpUtils.java:131)
    at com.android.repository.impl.installer.BasicInstaller.doComplete(BasicInstaller.java:145)
    at com.android.repository.impl.installer.AbstractPackageOperation.complete(AbstractPackageOperation.java:169)
    at com.android.sdklib.tool.sdkmanager.SdkPackagesAction.applyPackageOperation(SdkPackagesAction.java:39)
    at com.android.sdklib.tool.sdkmanager.InstallAction.execute(InstallAction.java:98)
    at com.android.sdklib.tool.sdkmanager.SdkManagerCli.run(SdkManagerCli.java:103)
    at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:80)
    at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48)
\
I even tried to clear Read-Only attribute from "..\tools" folder, by using File explorer, and by using command prompt (administrative mode), yet can't be done.
Is it safe to delete "..\android-sdks\tools" manually ? since it has 522 folders, 2,454 files, and size 541 MB .
 

rdkartono

Member
Licensed User
Well actually my path "C:\Users\rdkartono\android-sdks\tools" is not read-only folder.
But somehow after update, it become read only.
Even after I clear read-only attribute in folder properties, it become read-only again after update.

But I think if Android Emulator 29.3.4 is not mandatory update, I will leave it behind.
 
Top