fuse install android?

image How to solve? 我等了好久,起码有1个小时了。求解决办法!

image oh no!

Hi, could you please try to do C:\ProgramData\Uno\SDKs\AndroidSDK\tools\android update sdk -a -u -t android-21 and see what happens?

Refresh Sources:
    Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml

Wait a little longer.

Does it just stop there?

I tried it again when I got home.

# Starting JDK installer
Sequence contains no elements
fuse: Failed to install JDK

fuse install android

# Installing required Android SDK components

Stopped…

Why?

When you tried C:\ProgramData\Uno\SDKs\AndroidSDK\tools\android update sdk -a -u -t android-21, and got to Fetching [https://dl-ssl.google.com/android/repository/addons_list-2.xml](https://dl-ssl.google.com/android/repository/addons_list-2.xml), did it just stop there? What happened next?

Can you try running that command at home as well?


C:\Users\Administrator>C:\Users\Administrator\AppData\Local\Android\sdk\tools\an
droid update sdk -a -u -t android-21
Refresh Sources:
  Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
  Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2
.xml, reason: Connection to https://dl-ssl.google.com refused
  Fetched Add-ons List successfully
  Refresh Sources
  Fetching URL: https://dl-ssl.google.com/android/repository/repository-10.xml
  Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-10
.xml, reason: HttpHostConnect Connection to https://dl-ssl.google.com refused
Refresh Sources:
  Fetching URL: https://dl-ssl.google.com/android/repository/repository-10.xml
  Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-10
.xml, reason: HttpHostConnect Connection to https://dl-ssl.google.com refused
There is nothing to install or update.

C:\Users\Administrator>

It looks like you aren’t able to connect to https://dl-ssl.google.com at all. Could it be that you’re being blocked by a firewall or something?

Hey,

I found a guide that may help http://www.programgo.com/article/22103159763/ (I don’t understand chinese, however this article looks like a solution for your issue, thanks to google translate)

Yes,Firewall of China。Need VPN ,I need to find out

E:\fuse\Myfuse>fuse preview --target=Android
Build started: FullCompile
Configuring
(1,186.51 ms)
Parsing source code
(1,515.11 ms)
Compiling syntax tree
(6,666.82 ms)
Generating code and data
(10,903.97 ms)
Building native target
1/2: libMyfuse.so
2/2: Myfuse-debug.apk
BUILD FAILED
C:\Users\Administrator\AppData\Local\Android\sdk\tools\ant\build.xml:720: The fo
llowing error occurred while executing this line:
C:\Users\Administrator\AppData\Local\Android\sdk\tools\ant\build.xml:734: Unable
 to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre1.8.0_66"
Total time: 0 seconds
(unknown): E0000: Native build failed
?: Error E0000: Native build failed
(7,042.27 ms)
Build completed in 27.32 seconds.
    0 Warning(s)
    1 Error(s)
Error Summary
(unknown): E0000: Native build failed
Build ended
Checking if C:\Program Files\Java exists.
C:\Program Files\Java was found.
Checking if JDK is corrupt
The jmc executable was expected to be found here C:\Program Files\Java\bin\jmc.e
xe
jdk was not found.
Checking if C:\Users\Administrator\AppData\Local\Android\sdk\ndk-bundle\ndk-buil
d exists.
C:\Users\Administrator\AppData\Local\Android\sdk\ndk-bundle\ndk-build was found.
androidndk was found.
Checking if C:\ProgramData\Uno\SDKs\Ant exists.
C:\ProgramData\Uno\SDKs\Ant was found.
Checking if Ant is corrupt
ant was found.
Android: ERROR: Looks like Android is not installed. Please run 'fuse install an
droid' first.
fuse: Failed to compile project

WTF? Why?

fuse install android

Do you accept the license (y/n)?
y
Installing Java Development Kit and Java Runtime Environment
Java Development Kit was successfully installed
Done installing JDK
Starting AndroidSDK installer
Verifies that Android SDK is installed and valid.
Checking if C:\Users\Administrator\AppData\Local\Android\sdk exists.
C:\Users\Administrator\AppData\Local\Android\sdk was found.
Checking if C:\Users\Administrator\AppData\Local\Android\sdk\tools exists.
C:\Users\Administrator\AppData\Local\Android\sdk\tools was found.
Checking if Android SDK is corrupt.
Android SDK was found here 'C:\Users\Administrator\AppData\Local\Android\sdk'
Checking if all required Android components are installed.
Done installing AndroidSDK
Starting AndroidNDK installer
Verifies that Android NDK is installed and valid.
Checking if C:\Users\Administrator\AppData\Local\Android\sdk\ndk-bundle\ndk-buil
d exists.
C:\Users\Administrator\AppData\Local\Android\sdk\ndk-bundle\ndk-build was found.
Android NDK was found here 'C:\Users\Administrator\AppData\Local\Android\sdk\ndk
-bundle'
Done installing AndroidNDK
Starting Ant installer
Verifies that Ant is installed and valid.
Checking if C:\ProgramData\Uno\SDKs\Ant exists.
C:\ProgramData\Uno\SDKs\Ant was found.
Checking if Ant is corrupt
Ant was found here 'C:\ProgramData\Uno\SDKs\Ant'
Done installing Ant

There seems to have no problem

Hi,

I found a bug in this release related to your issue with JAVA_HOME not found, however the solution should be to simply run fuse install android once more. Thank you for reporting!

Also while running fuse install android set path to JDK to be C:\Program Files\Java\jdk1.8.0_40 (this location may differ on your computer).

Do I need to download Installing Android Studio ?

There is no need to install Android Studio, fuse install android installs everything you need (as long as it gets through the firewall).

Sorry, because the VPN network is too slow。I’m here to download the [http://wear.techbrood.com/tools/sdk/ndk/](http://wear.techbrood.com/tools/sdk/ndk/) Download completed how to install it?

OK, I installed it, but there was a problem.

D:\My\Myfirst>fuse preview --target=Android
"Administrator" Sid: S-1-5-21-763582840-4289058887-574694772-500
Build started: FullCompile
Configuring
(2,131.14 ms)

Parsing source code
(2,545.22 ms)

Compiling syntax tree
(15,554.14 ms)

Generating code and data
(19,200.73 ms)

Building native target
1/2: libMyfirst.so
2/2: Myfirst-debug.apk

BUILD FAILED
C:\Users\Administrator\AppData\Local\Android\sdk\tools\ant\build.xml:538: Unable
 to resolve project target 'android-19'

Total time: 1 second
(unknown): E0000: Native build failed
?: Error E0000: Native build failed
(1,890.28 ms)

Build completed in 41.33 seconds.
    0 Warning(s)
    1 Error(s)

Error Summary
-------------

(unknown): E0000: Native build failed
Build ended
Checking if C:\Program Files\Java\jdk1.8.0_40 exists.
C:\Program Files\Java\jdk1.8.0_40 was found.
Checking if JDK is corrupt
jdk was found.
Checking if C:\Users\Administrator\AppData\Local\Android\sdk exists.
C:\Users\Administrator\AppData\Local\Android\sdk was found.
Checking if C:\Users\Administrator\AppData\Local\Android\sdk\tools exists.
C:\Users\Administrator\AppData\Local\Android\sdk\tools was found.
Checking if Android SDK is corrupt.
Checking if all required Android components are installed.
androidsdk was found.
Checking if C:\Users\Administrator\AppData\Local\Android\sdk\ndk-bundle\ndk-buil
d exists.
C:\Users\Administrator\AppData\Local\Android\sdk\ndk-bundle\ndk-build was found.

androidndk was found.
Checking if C:\ProgramData\Uno\SDKs\Ant exists.
C:\ProgramData\Uno\SDKs\Ant was found.
Checking if Ant is corrupt
ant was found.
fuse: Failed to compile project

D:\My\Myfirst>