DandiGi
February 28, 2017, 12:10pm
1
I’m having issue when trying to update the android installation to 0.35 on OSX. I’ve tried on my Win 10, it runs smoothly.
On Sierra, it stuck at:
Installing build-tools;23.0.1 which may take a while...
Warning: File /var/root/.android/repositories.cfg could not be loaded.
any idea? thanks…
Hi, are you sure it’s stuck? The warning is expected on macOS, and is something the sdkmanager
, a tool made by Google, spits out.
DandiGi
February 28, 2017, 1:12pm
3
Well it was already more than half an hour, nothing happens… When I tried on my Win 10 PC, it’s progressing, even it was taking some time when installing the ndk-bundle…
I will try again on my osx, and wait longer…
Is there any kind of log or something that I can take a look to make sure it’s progressing?
Unfortunately we don’t have any progress, since we are actually waiting for the sdkmanager
to get progress support.
But have you tried running fuse install android
without root?
You may also try running
sdkmanager --no_https platform-tools build-tools;23.0.1 cmake;3.6.3155560 ndk-bundle platforms;android-21 platforms;android-23 extras;android;m2repository extras;google;m2repository
The sdkmanager is found by default at ~/Library/Android/sdk/tools/bin
.
DandiGi
February 28, 2017, 1:32pm
6
I have tried without root, but ‘failed to download any source lists’…
Android Platform 21 was not found and is required.
Installing platform-tools which may take a while...
Warning: java.nio.file.NoSuchFileException: /Users/xxxxxxxx/.android/cache/sdkbin-1_b735609c-repository2-1_xml
Warning: File /Users/xxxxxxxx/.android/repositories.cfg could not be loaded.
Warning: Failed to download any source lists!
Error: Failed to find package platform-tools
that’s why I decided to use root…
I will try the sdkmanager way that you mentioned…
DandiGi
February 28, 2017, 6:56pm
7
Emil Sandstø wrote:
You may also try running
sdkmanager --no_https platform-tools build-tools;23.0.1 cmake;3.6.3155560 ndk-bundle >platforms;android-21 platforms;android-23 extras;android;m2repository extras;google;m2repository
The sdkmanager is found by default at ~/Library/Android/sdk/tools/bin
.
Thanks for the suggestion, Emil…
Tried it, and it works, completed in around 15-20 minutes…
but it should be like this:
sdkmanager --no_https "platform-tools" "build-tools;23.0.1" "cmake;3.6.3155560" "ndk-bundle" "platforms;android-21" "platforms;android-23" "extras;android;m2repository" "extras;google;m2repository"
checked using ‘sdkmanager --list’, packages installed…
Installed packages:
Path | Version | Description | Location
------- | ------- | ------- | -------
build-tools;23.0.1 | 23.0.1 | Android SDK Build-Tools 23.0.1 | build-tools/23.0.1/
cmake;3.6.3155560 | 3.6.3155560 | CMake 3.6.3155560 | cmake/3.6.3155560/
extras;android;m2repository | 44.0.0 | Android Support Repository | extras/android/m2repository/
extras;google;m2repository | 44 | Google Repository | extras/google/m2repository/
ndk-bundle | 13.1.3345770 | NDK | ndk-bundle/
patcher;v4 | 1 | SDK Patch Applier v4 | patcher/v4/
platform-tools | 25.0.3 | Android SDK Platform-Tools 25.0.3 | platform-tools/
platforms;android-21 | 2 | Android SDK Platform 21 | platforms/android-21/
platforms;android-23 | 3 | Android SDK Platform 23 | platforms/android-23/
tools | 25.2.5 | Android SDK Tools 25.2.5 | tools/
Don’t know what really happen with the ‘fuse install android’, maybe something need to be checked?
I think it’s was an issue with using https
for accessing the package repository.
However good it worked out, but you should run fuse install android
again to make sure Fuse
knows about the dependencies. Please run without sudo
in that case.
Checked… I think it’s okay…
fuse install android
Fuse 0.35.0 (build 10867)
# Starting android installer
# Done installing android
Thanks for your support…
Great, a fix is scheduled for the next release
John
March 11, 2017, 3:03pm
12
Thank you, i got the same problem, and this solution worked for me too. Thank you very much!!
Sadly the fuse-Dashboard doesnt recognize it, and keeps saying to me that I need to redo the android setup…
I can not compile for android.
2/2: TTT.apk
Buildfile: /Users/aprzybecki/git/TTT/build/Android/Debug/TTT/app/src/main/build.xml
BUILD FAILED
/Users/aprzybecki/git/TTT/build/Android/Debug/TTT/app/src/main/build.xml:90: Cannot find /Users/aprzybecki/Library/Android/sdk/tools/ant/build.xml imported from /Users/aprzybecki/git/TTT/build/Android/Debug/TTT/app/src/main/build.xml
Total time: 0 seconds
(unknown): E0200: Android build failed
(28,632.45 ms)
Build completed in 39.38 seconds
8 warnings
1 error
fuse: Errors were encountered while building the project
Uno config
Uno 0.46.1 (build 4840) OS X 10.12 i386 3caace9
Uno settings
Android.NDK.Directory /Users/aprzybecki/Library/Android/sdk/ndk-bundle
Android.SDK.BuildToolsVersion (../../Library/Application Support/Fusetools/Fuse/Android) 23.0.1
Android.SDK.Directory /Users/aprzybecki/Library/Android/sdk
Ant.Directory /Users/aprzybecki/Library/Android/Ant
Apps.Disasm (/Applications/Fuse.app/Contents/Uno) Uno Disasm.app
Assemblies.PerfCmp (/Applications/Fuse.app/Contents/Uno) uno-perf-cmp.exe
Assemblies.PerfTest (/Applications/Fuse.app/Contents/Uno) uno-perf-test.exe
Assemblies.Plugins (/Applications/Fuse.app/Contents/Uno) Uno.Compiler.Extensions.dll
Assemblies.Test (/Applications/Fuse.app/Contents/Uno) uno-test.exe
Assemblies.TestGen (/Applications/Fuse.app/Contents/Uno) uno-test-gen.exe
Assemblies.Uno (/Applications/Fuse.app/Contents/Uno) uno.exe
CMake /Users/aprzybecki/Library/Android/sdk/cmake
Java.JDK.Directory /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
ModulesDirectory (/Applications/Fuse.app/Contents) Modules
Mono /Applications/Fuse.app/Contents/Mono/bin/mono
Packages.Default (/Applications/Fuse.app/Contents/Uno) Fuse
(/Applications/Fuse.app/Contents/Uno) FuseJS
Packages.Feeds https://api.fusetools.com/packages/v1/nuget/v2
Packages.InstallDirectory /Users/aprzybecki/Library/Application Support/Fusetools/Packages
Packages.LockFiles (/Applications/Fuse.app/Contents) uno.packages
(/Applications/Fuse.app/Contents) unolibs.packages
(/Applications/Fuse.app/Contents) fuselibs.packages
(/Applications/Fuse.app/Contents) Android.packages
Packages.SearchPaths /usr/local/share/uno/Packages
(/Applications/Fuse.app/Contents) ../../Packages
Paths.AppLoader (/Applications/Fuse.app/Contents/Uno) .
Paths.NativeLib (/Applications/Fuse.app/Contents/Uno) .
SdkConfig /Users/aprzybecki/Library/Application Support/Fusetools/Fuse/Android/.sdkconfig
TemplatesDirectory (/Applications/Fuse.app/Contents) Templates
Config files
/Applications/Fuse.app/Contents/Uno/.unoconfig
/Applications/Fuse.app/Contents/Uno/common.unoconfig
../../Library/Application Support/Fusetools/Fuse/Android/.sdkconfig
/Applications/Fuse.app/Contents/.unoconfig
/Applications/Fuse.app/Contents/Fuse.unoconfig
.NET assemblies
/Applications/Fuse.app/Contents/Mono/lib/mono/4.5/mscorlib.dll (4.0.0.0)
/Applications/Fuse.app/Contents/Mono/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll (4.0.0.0)
/Applications/Fuse.app/Contents/Mono/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll (4.0.0.0)
/Applications/Fuse.app/Contents/Uno/stuff.exe (1.2.5.0)
/Applications/Fuse.app/Contents/Uno/Mono.Options.dll (4.0.0.0)
/Applications/Fuse.app/Contents/Uno/AjaxMin.dll (5.14.5506.26196)
/Applications/Fuse.app/Contents/Uno/Microsoft.Web.XmlTransform.dll (2.1.0.0)
/Applications/Fuse.app/Contents/Uno/Minimatch.dll (1.1.0.0)
/Applications/Fuse.app/Contents/Uno/MonoMac.dll (0.0.0.0)
/Applications/Fuse.app/Contents/Uno/Newtonsoft.Json.dll (8.0.0.0)
/Applications/Fuse.app/Contents/Uno/NuGet.Common.dll (3.4.3.0)
/Applications/Fuse.app/Contents/Uno/NuGet.Core.dll (2.11.1.812)
/Applications/Fuse.app/Contents/Uno/NuGet.Frameworks.dll (3.4.3.0)
/Applications/Fuse.app/Contents/Uno/NuGet.Logging.dll (3.4.3.0)
/Applications/Fuse.app/Contents/Uno/NuGet.Packaging.Core.Types.dll (3.4.3.0)
/Applications/Fuse.app/Contents/Uno/NuGet.Packaging.Core.dll (3.4.3.0)
/Applications/Fuse.app/Contents/Uno/NuGet.Packaging.dll (3.4.3.0)
/Applications/Fuse.app/Contents/Uno/NuGet.Versioning.dll (3.4.3.0)
/Applications/Fuse.app/Contents/Uno/Uno.Native.dll (1.0.0.0)
/Applications/Fuse.app/Contents/Uno/Uno.Runtime.Core.dll (0.0.0.0)
I reinstall fuse but not help.
fuse install android
Fuse 0.35.0 (build 10867)
# Starting android installer
# Done installing android
Hi, can you please make your own thread, so that it’s easier to follow up the issue
haja
March 30, 2017, 8:42pm
15
I got this error too when installing android with “fuse install android” command, to solve i downloaded manually the android studio, get the path from the SDK manager, and past to terminal when he asks it