# fuse install android failed.

**URL:** <https://forums.fusetools.com/t/fuse-install-android-failed/5845>\
**Category:** Bug Reports\
**Created:** [February 28, 2017, 4:17am UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845 "2017-02-28T04:17:53Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![bugcaptor](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bugcaptor/32/271_2.png) [@bugcaptor](https://forums.fusetools.com/u/bugcaptor)\
**Post date:** [February 28, 2017, 4:17am UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/1 "2017-02-28T04:17:53Z")

</div>

Updated to Fuse 0.35 and my android sdk installation failing.

Perhaps it is because the SSL connection failed, so I need an option to force it to connect via HTTP. How can I adjust?

```auto
fuse install android
Fuse 0.35.0 (build 10867)
# Starting android installer
Installing platform-tools which may take a while...
Warning: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to fi
nd valid certification path to requested target
Warning: Failed to download any source lists!
Error: Failed to find package platform-tools
An error occurred during installation: Failed to install package 'platform-tools'
fuse: Failed to install android

```

I’m using Fuse in Windows 10 Environment.

---

<div class="post-metadata">

**Author:** ![Emil\_Sandsto](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/emil_sandsto/32/523_2.png) [@Emil\_Sandsto](https://forums.fusetools.com/u/Emil_Sandsto)\
**Post date:** [February 28, 2017, 11:48am UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/2 "2017-02-28T11:48:16Z")

</div>

Hi, can you please run

```auto
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 here `%localappdata%\Fusetools\Fuse\Android\AndroidSDK\tools\bin\sdkmanager`.

After you have ran this command, run `fuse install android` again.

---

<div class="post-metadata">

**Author:** ![Emil\_Sandsto](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/emil_sandsto/32/523_2.png) [@Emil\_Sandsto](https://forums.fusetools.com/u/Emil_Sandsto)\
**Post date:** [February 28, 2017, 11:55am UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/3 "2017-02-28T11:55:42Z")

</div>

A fix is also scheduled for next release 🙂

---

<div class="post-metadata">

**Author:** ![bugcaptor](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bugcaptor/32/271_2.png) [@bugcaptor](https://forums.fusetools.com/u/bugcaptor)\
**Post date:** [March 2, 2017, 2:37am UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/4 "2017-03-02T02:37:15Z")

</div>

Good to hear fixing in next release. 😃

By the way, cannot run that my “Fusetools\Fuse\Android” folder only has a file “.sdkconfig” and empty.

---

<div class="post-metadata">

**Author:** ![Emil\_Sandsto](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/emil_sandsto/32/523_2.png) [@Emil\_Sandsto](https://forums.fusetools.com/u/Emil_Sandsto)\
**Post date:** [March 2, 2017, 9:23am UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/5 "2017-03-02T09:23:30Z")

</div>

I see, you can locate the path to the _Android SDK_ by searching for `Android.SDK.Directory` in the `.sdkconfig` that you found.

Then run

```auto
[AndroidRoot]/tools/bin/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"

```

Where `[AndroidRoot]` is the path to the _Android SDK_.

---

<div class="post-metadata">

**Author:** ![taciosousa](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@taciosousa](https://forums.fusetools.com/u/taciosousa)\
**Post date:** [March 20, 2017, 8:10pm UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/6 "2017-03-20T20:10:33Z")

</div>

Hi guys,

I’m with the same problem, but when I try to execute the sdkmanager command I receive the follow error :

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/jlhzhIFsmIim-image-1490040465377.png)

And this is the same message I receive when trying to download the android :

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/7g3gNgiHvF4F-image-1490040585684.png)

Any ideas on how fix that?

Thanks!

---

<div class="post-metadata">

**Author:** ![Emil\_Sandsto](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/emil_sandsto/32/523_2.png) [@Emil\_Sandsto](https://forums.fusetools.com/u/Emil_Sandsto)\
**Post date:** [March 21, 2017, 10:04am UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/7 "2017-03-21T10:04:08Z")

</div>

Hi, please add `"` around the packages names, eg. `"platform-tools"` as in my post above.

---

<div class="post-metadata">

**Author:** ![taciosousa](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@taciosousa](https://forums.fusetools.com/u/taciosousa)\
**Post date:** [March 21, 2017, 12:33pm UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/8 "2017-03-21T12:33:46Z")

</div>

Hi Emil, I put the " as you said and apparently works, but my Java crashes right after the command runs…

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/Zoqu3kITWkpw-image-1490099499029.png)

The command is the same as you put above :

```auto
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"

```

I’m missing something?

---

<div class="post-metadata">

**Author:** ![Emil\_Sandsto](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/emil_sandsto/32/523_2.png) [@Emil\_Sandsto](https://forums.fusetools.com/u/Emil_Sandsto)\
**Post date:** [March 21, 2017, 1:12pm UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/9 "2017-03-21T13:12:18Z")

</div>

Which java version do you have? By default Java is installed at `C:\Program Files\Java`.

---

<div class="post-metadata">

**Author:** ![taciosousa](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@taciosousa](https://forums.fusetools.com/u/taciosousa)\
**Post date:** [March 21, 2017, 1:20pm UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/10 "2017-03-21T13:20:11Z")

</div>

The JDK is : jdk1.8.0\_45

And the JRE is : jre1.8.0\_121

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/Kv1mgT9dtuAQ-image-1490102394975.png)

---

<div class="post-metadata">

**Author:** ![Emil\_Sandsto](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/emil_sandsto/32/523_2.png) [@Emil\_Sandsto](https://forums.fusetools.com/u/Emil_Sandsto)\
**Post date:** [March 21, 2017, 2:32pm UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/11 "2017-03-21T14:32:04Z")

</div>

Can you try run `sdkmanager --list` instead?

---

<div class="post-metadata">

**Author:** ![taciosousa](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@taciosousa](https://forums.fusetools.com/u/taciosousa)\
**Post date:** [March 21, 2017, 2:38pm UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/12 "2017-03-21T14:38:47Z")

</div>

Same problem…=/

Java crashes after I run the command…

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/JPU4U4y0lWf9-image-1490107059003.png)

I need update my JDK version, or something like that?

---

<div class="post-metadata">

**Author:** ![Emil\_Sandsto](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/emil_sandsto/32/523_2.png) [@Emil\_Sandsto](https://forums.fusetools.com/u/Emil_Sandsto)\
**Post date:** [March 21, 2017, 3:48pm UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/13 "2017-03-21T15:48:30Z")

</div>

I think your JDK version and JRE version looks fine, anyways it doesn’t hurt to update JDK and JRE.

---

<div class="post-metadata">

**Author:** ![taciosousa](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@taciosousa](https://forums.fusetools.com/u/taciosousa)\
**Post date:** [March 21, 2017, 3:52pm UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/14 "2017-03-21T15:52:12Z")

</div>

I updated my JRE yesterday, so I’ll update my JDK now and try again, hope it works…

---

<div class="post-metadata">

**Author:** ![taciosousa](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@taciosousa](https://forums.fusetools.com/u/taciosousa)\
**Post date:** [March 21, 2017, 4:14pm UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/15 "2017-03-21T16:14:26Z")

</div>

Unfortunately…same problem =/

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/PU4aaovWR2my-image-1490112624365.png)

Sdkconfig

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/5cmzE4pafbkC-image-1490112691590.png)

Cmd command

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/ZVlLtTLku70g-image-1490112774439.png)

I was thinking on download a previous version of Fuse and try to download the android…

---

<div class="post-metadata">

**Author:** ![Emil\_Sandsto](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/emil_sandsto/32/523_2.png) [@Emil\_Sandsto](https://forums.fusetools.com/u/Emil_Sandsto)\
**Post date:** [March 21, 2017, 4:26pm UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/16 "2017-03-21T16:26:56Z")

</div>

The `sdkmanager` you are running, and which `fuse install android` as well is running, is a tool released by _Google_. It could be that there are issues in the latest version of Java SE, which causes the `sdkmanager` to crash.

Anyways, you may try to extract and run `tools/bin/sdkmanager --list` from [https://dl.google.com/android/repository/tools\_r25.2.3-windows.zip](https://dl.google.com/android/repository/tools_r25.2.3-windows.zip) to see if the problem is caused by a corrupt installation of `Android SDK`.

---

<div class="post-metadata">

**Author:** ![taciosousa](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@taciosousa](https://forums.fusetools.com/u/taciosousa)\
**Post date:** [March 21, 2017, 4:44pm UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/17 "2017-03-21T16:44:47Z")

</div>

Well…if I told you that even this new version of tools throws the same error, do you believe me? =/

And if I delete the Android fold on Fuse and try to download a new version, the download stops on the same point "failed to install package ‘platform-tools’ ".

---

<div class="post-metadata">

**Author:** ![Emil\_Sandsto](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/emil_sandsto/32/523_2.png) [@Emil\_Sandsto](https://forums.fusetools.com/u/Emil_Sandsto)\
**Post date:** [March 21, 2017, 5:20pm UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/18 "2017-03-21T17:20:33Z")

</div>

Oh, then I’m sorry, I don’t really know what else to do, than filing a bug report to _Google_ here [https://code.google.com/p/android/issues/entry?template=Developer%20bug%20report](https://code.google.com/p/android/issues/entry?template=Developer%20bug%20report)

An older version of `fuse` may work, since in older versions we didn’t depend on the latest things the `Android SDK` could provide us. The following version should work fine for example: [https://www.fusetools.com/downloads/0.34.0.10613](https://www.fusetools.com/downloads/0.34.0.10613)

---

<div class="post-metadata">

**Author:** ![taciosousa](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@taciosousa](https://forums.fusetools.com/u/taciosousa)\
**Post date:** [March 22, 2017, 3:12am UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/19 "2017-03-22T03:12:15Z")

</div>

Thanks for your patience Emil, I’ll try the older version.

---

<div class="post-metadata">

**Author:** ![taciosousa](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@taciosousa](https://forums.fusetools.com/u/taciosousa)\
**Post date:** [March 22, 2017, 3:41pm UTC](https://forums.fusetools.com/t/fuse-install-android-failed/5845/20 "2017-03-22T15:41:48Z")

</div>

Hey Emil,

Just to let you know, I finally did it! I installed the 0.34 version and the android install ran without any problem, thank you!

I hope that can this problem be fixed in the next release.

Thanks!

[Next page](https://forums.fusetools.com/t/fuse-install-android-failed/5845.md?page=2)
