Android Question Help with installation

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

anaylor01

Well-Known Member
Licensed User
Longtime User
I have been using that link to set this up.
C:\Android\bin\sdkmanager.bat
C:\Program Files\Java\jdk1.8.0_161\bin\javac.exe
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
C:\Android\bin\sdkmanager.bat
Do it again. in a new folder following the Instruction more exact.

You need to copy the hole content of the SDK Package downloaded to C:\Android\
After copying you then have C.\Android\Tools\

See Instructions:

2. Android SDK
The tools folder is in the zip you downloaded....
 
Upvote 0

anaylor01

Well-Known Member
Licensed User
Longtime User
Now I get this error in the window at the bottom of the B4A Sdk Manager:
Info: "Install Android SDK Tools (revision: 26.1.1)" failed.

Warning: File C:\Users\hggfr45fcxshft\.android\repositories.cfg could not be loaded.
Warning: An error occurred during installation: Failed to move away or delete existing target file: C:\Android\tools
Move it away manually and try again..
java.io.IOException: Failed to move away or delete existing target file: C:\Android\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:138)
at com.android.repository.impl.installer.AbstractPackageOperation.complete(AbstractPackageOperation.java:162)
at com.android.sdklib.tool.SdkManagerCli.applyPackageOperation(SdkManagerCli.java:523)
at com.android.sdklib.tool.SdkManagerCli.installPackages(SdkManagerCli.java:357)
at com.android.sdklib.tool.SdkManagerCli.run(SdkManagerCli.java:147)
at com.android.sdklib.tool.SdkManagerCli.main(SdkManagerCli.java:119)
at com.android.sdklib.tool.SdkManagerCli.main(SdkManagerCli.java:93)

There are no files under the .android folder. There are two folders AVD and Cache.
 
Upvote 0

anaylor01

Well-Known Member
Licensed User
Longtime User
It looked like it might have worked. The ONLY thing I did different was to sdk in the search window. I did get the error below at the very end of the install if you scroll to the bottom you can see it:
Warning: File C:\Users\hggfr45fcxshft\.android\repositories.cfg could not be loaded.

Info: Parsing legacy package: C:\Android
Info: Parsing legacy package: C:\Android
Info: Preparing "Install Android SDK Platform-Tools (revision: 27.0.1)".
Info: "Install Android SDK Platform-Tools (revision: 27.0.1)" ready.
Info: Finishing "Install Android SDK Platform-Tools (revision: 27.0.1)"
Info: Installing Android SDK Platform-Tools in C:\Android\platform-tools
Info: "Install Android SDK Platform-Tools (revision: 27.0.1)" complete.
Info: "Install Android SDK Platform-Tools (revision: 27.0.1)" finished.
Info: Preparing "Install Android SDK Platform 24 (revision: 2)".
Info: "Install Android SDK Platform 24 (revision: 2)" ready.
Info: Finishing "Install Android SDK Platform 24 (revision: 2)"
Info: Installing Android SDK Platform 24 in C:\Android\platforms\android-24
Info: "Install Android SDK Platform 24 (revision: 2)" complete.
Info: "Install Android SDK Platform 24 (revision: 2)" finished.
Info: Preparing "Install Android SDK Build-Tools 25.0.3 (revision: 25.0.3)".
Info: "Install Android SDK Build-Tools 25.0.3 (revision: 25.0.3)" ready.
Info: Finishing "Install Android SDK Build-Tools 25.0.3 (revision: 25.0.3)"
Info: Installing Android SDK Build-Tools 25.0.3 in C:\Android\build-tools\25.0.3
Info: "Install Android SDK Build-Tools 25.0.3 (revision: 25.0.3)" complete.
Info: "Install Android SDK Build-Tools 25.0.3 (revision: 25.0.3)" finished.
done

Warning: File C:\Users\hggfr45fcxshft\.android\repositories.cfg could not be loaded.
 
Upvote 0
Top