A anaylor01 Well-Known Member Licensed User Longtime User Jan 22, 2018 #1 I was getting these errors: Error: org.apache.commons.exec.executeexception:The stop timeout of 500 ms was exceeded (exit value: -559038737) java.ioexception:C:\tools\lib is not a folder I created the folder structure but am still getting the first error. I replied to this thread. https://www.b4x.com/android/forum/t...ons-of-android-tools.80090/page-6#post-560705
I was getting these errors: Error: org.apache.commons.exec.executeexception:The stop timeout of 500 ms was exceeded (exit value: -559038737) java.ioexception:C:\tools\lib is not a folder I created the folder structure but am still getting the first error. I replied to this thread. https://www.b4x.com/android/forum/t...ons-of-android-tools.80090/page-6#post-560705
DonManfred Expert Licensed User Longtime User Jan 22, 2018 #2 Post the path to the sdkmanager.bat inside the B4A SDKManager. Post the paths you set in Tools-Configure paths. You can see all Steps here: For B4A Version <7.8 https://www.b4x.com/android/forum/t...ewer-versions-of-android-tools.80090/#content For 7.8+ https://www.b4x.com/b4a.html Upvote 0
Post the path to the sdkmanager.bat inside the B4A SDKManager. Post the paths you set in Tools-Configure paths. You can see all Steps here: For B4A Version <7.8 https://www.b4x.com/android/forum/t...ewer-versions-of-android-tools.80090/#content For 7.8+ https://www.b4x.com/b4a.html
A anaylor01 Well-Known Member Licensed User Longtime User Jan 22, 2018 #3 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
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
DonManfred Expert Licensed User Longtime User Jan 22, 2018 #4 anaylor01 said: C:\Android\bin\sdkmanager.bat Click to expand... 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 Download Android SDK command line tools. Unzip it in a folder such as C:\Android The tools folder is in the zip you downloaded.... Upvote 0
anaylor01 said: C:\Android\bin\sdkmanager.bat Click to expand... 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 Download Android SDK command line tools. Unzip it in a folder such as C:\Android The tools folder is in the zip you downloaded....
A anaylor01 Well-Known Member Licensed User Longtime User Jan 23, 2018 #6 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
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.
A anaylor01 Well-Known Member Licensed User Longtime User Jan 23, 2018 #7 Info: Failed to sort dependencies, returning partially-sorted list. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 23, 2018 #8 You shouldn't install this component. Upvote 0
A anaylor01 Well-Known Member Licensed User Longtime User Jan 23, 2018 #9 You mean this one? Install Android SDK Tools (revision: 26.1.1). Well that isn't listed Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 24, 2018 #10 You don't need to install any other component not listed in the recommended items list. Upvote 0
A anaylor01 Well-Known Member Licensed User Longtime User Jan 24, 2018 #11 That is all i am installing Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 24, 2018 #12 Search for Android SDK Tools and make sure that it is not selected. Then try to install. Upvote 0
A anaylor01 Well-Known Member Licensed User Longtime User Jan 24, 2018 #13 This is the only ones Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 24, 2018 #14 What happens after you try to install them? Upvote 0
A anaylor01 Well-Known Member Licensed User Longtime User Jan 24, 2018 #15 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
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.