# 64-bit warning when releasing an Android app

**URL:** <https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733>\
**Category:** General\
**Created:** [May 3, 2019, 7:23am UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733 "2019-05-03T07:23:13Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Stefan\_13](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@Stefan\_13](https://forums.fusetools.com/u/Stefan_13)\
**Post date:** [July 17, 2019, 11:20am UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/21 "2019-07-17T11:20:13Z")

</div>

It’s crazy…I did not change anything, but now it displays the correct version 👍  
Maybe there was a Process wich needs to be restarted, or I had to reboot the system…  
But Thank you very much 🙂 (=

---

<div class="post-metadata">

**Author:** ![mortend](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mortend/32/917_2.png) [@mortend](https://forums.fusetools.com/u/mortend)\
**Post date:** [July 17, 2019, 11:46am UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/22 "2019-07-17T11:46:27Z")

</div>

Oh yeah, `cmd.exe` must be restarted after making changes in your environment.

Cheers!

---

<div class="post-metadata">

**Author:** ![team](https://avatars.discourse-cdn.com/v4/letter/t/b5a626/32.png) [@team](https://forums.fusetools.com/u/team)\
**Post date:** [July 20, 2019, 7:47am UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/23 "2019-07-20T07:47:29Z")

</div>

![Capture](https://canada1.discourse-cdn.com/flex035/uploads/fusetools1/original/1X/af712616ae534644dfff768707012690d76d2a6c.png)  
i compiled my project into 64 bit then i upload into production i got this warning.  
what can i do?  
“SDK”: {  
“CompileVersion”: 28,  
“MinVersion”: 19,  
“TargetVersion”: 28  
},  
“Architectures”: {  
“Release”: [“armeabi-v7a”, “arm64-v8a”]  
},  
i included this in my uno project.is this correct?

---

<div class="post-metadata">

**Author:** ![aeq](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/aeq/32/129_2.png) [@aeq](https://forums.fusetools.com/u/aeq)\
**Post date:** [July 22, 2019, 3:13pm UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/24 "2019-07-22T15:13:42Z")

</div>

Its a warning for reducing the APK size via “Android App Bundle techniques”, your app will still roll out to production.

---

<div class="post-metadata">

**Author:** ![forza](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@forza](https://forums.fusetools.com/u/forza)\
**Post date:** [August 20, 2019, 12:40pm UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/25 "2019-08-20T12:40:37Z")

</div>

I got now the same issue…

> C:\WINDOWS\system32\>npm install -g android-build-tools
> 
> > android-build-tools@1.0.0 install C:\Users\lucien.ngameleu\AppData\Roaming\npm\node\_modules\android-build-tools  
> > xbash install.bash
> 
> Found JDK8 at C:\Program Files\Java\jdk1.8.0\_221  
> Accepting licenses
> 
> ERROR: Install failed.
> 
> Please read output for clues, or open an issue on GitHub ([Pull requests · mortend/android-build-tools · GitHub](https://github.com/mortend/android-build-tools/issues)).
> 
> Please note that JDK8 (not 9+) is required to install Android SDK. Get OpenJDK8 from [https://adoptopenjdk.net/](https://adoptopenjdk.net/) and try again.  
> npm ERR! code ELIFECYCLE  
> npm ERR! errno 1  
> npm ERR! android-build-tools@1.0.0 install: `xbash install.bash`  
> npm ERR! Exit status 1  
> npm ERR!  
> npm ERR! Failed at the android-build-tools@1.0.0 install script.  
> npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
> 
> npm ERR! A complete log of this run can be found in:  
> npm ERR! C:\Users\lucien.ngameleu\AppData\Roaming\npm-cache\_logs\2019-08-20T12\_32\_32\_073Z-debug.log

Does anyone got an Idea? Nodejs and JDK 8 is installed…  
😕

---

<div class="post-metadata">

**Author:** ![mortend](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mortend/32/917_2.png) [@mortend](https://forums.fusetools.com/u/mortend)\
**Post date:** [August 20, 2019, 2:49pm UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/26 "2019-08-20T14:49:16Z")

</div>

Hi @forza,

Your installation fails immediately when trying to accept licenses. This makes me think that you have an old version of Android SDK installed already, that needs an upgrade.

I recommend deleting your old SDK and reinstalling `android-build-tools`. Your SDK is located at `%LOCALAPPDATA%\Android\sdk`.

---

<div class="post-metadata">

**Author:** ![forza](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@forza](https://forums.fusetools.com/u/forza)\
**Post date:** [August 24, 2019, 2:20pm UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/27 "2019-08-24T14:20:20Z")

</div>

Thx mortend! But it doesnt work…

> C:\WINDOWS\system32\>npm install -g android-build-tools
> 
> android-build-tools@1.0.0 install C:\Users\lucien.ngameleu\AppData\Roaming\npm\node\_modules\android-build-tools  
> xbash install.bash
> 
> Found JDK8 at C:\Program Files\AdoptOpenJDK\jdk-8.0.222.10-hotspot  
> Downloading [https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip](https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip)  
> ######################################################################## 100.0%  
> Accepting licenses
> 
> ERROR: Install failed.
> 
> Please read output for clues, or open an issue on GitHub ([Pull requests · mortend/android-build-tools · GitHub](https://github.com/mortend/android-build-tools/issues)).
> 
> Please note that JDK8 (not 9+) is required to install Android SDK. Get OpenJDK8 from [https://adoptopenjdk.net/](https://adoptopenjdk.net/) and try again.  
> npm ERR! code ELIFECYCLE  
> npm ERR! errno 1  
> npm ERR! android-build-tools@1.0.0 install: `xbash install.bash`  
> npm ERR! Exit status 1  
> npm ERR!  
> npm ERR! Failed at the android-build-tools@1.0.0 install script.  
> npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Maybe another Solution?😕

---

<div class="post-metadata">

**Author:** ![aeq](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/aeq/32/129_2.png) [@aeq](https://forums.fusetools.com/u/aeq)\
**Post date:** [August 26, 2019, 7:19am UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/28 "2019-08-26T07:19:29Z")

</div>

Did you try getting OpenJDK8 that is mentioned in the error message?

---

<div class="post-metadata">

**Author:** ![mortend](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mortend/32/917_2.png) [@mortend](https://forums.fusetools.com/u/mortend)\
**Post date:** [August 26, 2019, 10:46am UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/29 "2019-08-26T10:46:51Z")

</div>

Now you have AdoptOpenJDK and the most recent Android SDK but it still fails in the same way, hmm…

What does it say if you invoke `sdkmanager` directly?

```auto
"%LOCALAPPDATA%\Android\sdk\tools\bin\sdkmanager" --licenses

```

Also, do you have Git for Windows installed?

---

<div class="post-metadata">

**Author:** ![forza](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@forza](https://forums.fusetools.com/u/forza)\
**Post date:** [August 26, 2019, 6:40pm UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/30 "2019-08-26T18:40:31Z")

</div>

yes i tried it. i installed it. When i open my cmd it shows me C:\WINDOWS\system32\>. should i need to change this path or leave it like is it?

---

<div class="post-metadata">

**Author:** ![mortend](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mortend/32/917_2.png) [@mortend](https://forums.fusetools.com/u/mortend)\
**Post date:** [August 26, 2019, 8:53pm UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/31 "2019-08-26T20:53:47Z")

</div>

You can leave the path like it is when running the command.

---

<div class="post-metadata">

**Author:** ![forza](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@forza](https://forums.fusetools.com/u/forza)\
**Post date:** [August 27, 2019, 7:22am UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/32 "2019-08-27T07:22:39Z")

</div>

It’s just saying 100% Computing updates as you can see in the second line.

> Blockquote

C:\WINDOWS\system32\>%LOCALAPPDATA%\Android\sdk\tools\bin\sdkmanager  
[=======================================] 100% Computing updates…  
C:\WINDOWS\system32\>npm install -g android-build-tools

> android-build-tools@1.0.0 install C:\Users\lucien.ngameleu\AppData\Roaming\npm\node\_modules\android-build-tools  
> xbash install.bash

Found JDK8 at C:\Program Files\AdoptOpenJDK\jdk-8.0.222.10-hotspot  
Accepting licenses

ERROR: Install failed.

Please read output for clues, or open an issue on GitHub ([Pull requests · mortend/android-build-tools · GitHub](https://github.com/mortend/android-build-tools/issues)).

Please note that JDK8 (not 9+) is required to install Android SDK. Get OpenJDK8 from [https://adoptopenjdk.net/](https://adoptopenjdk.net/) and try again.  
npm ERR! code ELIFECYCLE  
npm ERR! errno 1  
npm ERR! android-build-tools@1.0.0 install: `xbash install.bash`  
npm ERR! Exit status 1  
npm ERR!  
npm ERR! Failed at the android-build-tools@1.0.0 install script.  
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:  
npm ERR! C:\Users\lucien.ngameleu\AppData\Roaming\npm-cache\_logs\2019-08-27T07\_18\_59\_135Z-debug.log

C:\WINDOWS\system32\>

---

<div class="post-metadata">

**Author:** ![mortend](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mortend/32/917_2.png) [@mortend](https://forums.fusetools.com/u/mortend)\
**Post date:** [August 27, 2019, 3:29pm UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/33 "2019-08-27T15:29:33Z")

</div>

Make sure to pass the `--licenses` argument. It seems you forgot that when you ran sdkmanager.

On my machine I get this output.

```auto
C:\Users\morten>%LOCALAPPDATA%\Android\sdk\tools\bin\sdkmanager --licenses
All SDK package licenses accepted.======] 100% Computing updates...

C:\Users\morten>echo %ERRORLEVEL%
0

```

---

<div class="post-metadata">

**Author:** ![forza](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@forza](https://forums.fusetools.com/u/forza)\
**Post date:** [August 28, 2019, 7:13am UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/34 "2019-08-28T07:13:01Z")

</div>

Hello Mortend, thanks once more for your help but i’m still having the same error.  
C:\WINDOWS\system32\>“%LOCALAPPDATA%\Android\sdk\tools\bin\sdkmanager” --licenses  
All SDK package licenses accepted.======] 100% Computing updates…

C:\WINDOWS\system32\>npm install -g android-build-tools

> android-build-tools@1.0.0 install C:\Users\lucien.ngameleu\AppData\Roaming\npm\node\_modules\android-build-tools  
> xbash install.bash

Accepting licenses

ERROR: Install failed.

Please read output for clues, or open an issue on GitHub ([Pull requests · mortend/android-build-tools · GitHub](https://github.com/mortend/android-build-tools/issues)).

Please note that JDK8 (not 9+) is required to install Android SDK. Get OpenJDK8 from [https://adoptopenjdk.net/](https://adoptopenjdk.net/) and try again.  
npm ERR! code ELIFECYCLE  
npm ERR! errno 1  
npm ERR! android-build-tools@1.0.0 install: `xbash install.bash`  
npm ERR! Exit status 1  
npm ERR!  
npm ERR! Failed at the android-build-tools@1.0.0 install script.  
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:  
npm ERR! C:\Users\lucien.ngameleu\AppData\Roaming\npm-cache\_logs\2019-08-28T07\_10\_06\_932Z-debug.log

C:\WINDOWS\system32\>

> Blockquote

---

<div class="post-metadata">

**Author:** ![mortend](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mortend/32/917_2.png) [@mortend](https://forums.fusetools.com/u/mortend)\
**Post date:** [August 28, 2019, 7:26am UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/35 "2019-08-28T07:26:01Z")

</div>

Licenses look OK but installer still fails on your machine. Unfortunately, I don’t understand why…

At this point it’s probably easier to create the config file manually, instead of installing `android-build-tools`.

Add the following contents to `C:\Users\lucien.ngameleu\.unoconfig`:

```auto
Android.SDK.Directory: `C:\Users\lucien.ngameleu\AppData\Local\Android\sdk`
Android.NDK.Directory: `C:\Users\lucien.ngameleu\AppData\Local\Android\sdk\ndk-bundle`
Java.JDK.Directory: `C:\Program Files\AdoptOpenJDK\jdk-8.0.222.10-hotspot`

```

Make sure the following SDK components are installed: `ndk-bundle`, `"cmake;3.6.4111459"`. Install using `sdkmanager`:

```auto
%LOCALAPPDATA%\Android\sdk\tools\bin\sdkmanager ndk-bundle
%LOCALAPPDATA%\Android\sdk\tools\bin\sdkmanager "cmake;3.6.4111459"

```

Hope this helps!

---

<div class="post-metadata">

**Author:** ![forza](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@forza](https://forums.fusetools.com/u/forza)\
**Post date:** [August 30, 2019, 12:44pm UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/36 "2019-08-30T12:44:12Z")

</div>

Thanks mortend. I created a .unoconfig file in path C:\Users\lucien.ngameleu\ in Notepad++ and in the .unoconfig file, i added the code you sent but it’s not working. I reran the others command on a new path C:\Users\lucien.ngameleu\> as you can see below but i’m still receiving the same erros

C:\Users\lucien.ngameleu\>“%LOCALAPPDATA%\Android\sdk\tools\bin\sdkmanager” --licenses  
All SDK package licenses accepted.======] 100% Computing updates…

C:\Users\lucien.ngameleu\>%LOCALAPPDATA%\Android\sdk\tools\bin\sdkmanager ndk-bundle  
[=======================================] 100% Computing updates…  
C:\Users\lucien.ngameleu\>%LOCALAPPDATA%\Android\sdk\tools\bin\sdkmanager “cmake;3.6.4111459”  
[=======================================] 100% Computing updates…  
C:\Users\lucien.ngameleu\>npm install -g android-build-tools

> android-build-tools@1.0.0 install C:\Users\lucien.ngameleu\AppData\Roaming\npm\node\_modules\android-build-tools  
> xbash install.bash

Accepting licenses

ERROR: Install failed.

Please read output for clues, or open an issue on GitHub ([Pull requests · mortend/android-build-tools · GitHub](https://github.com/mortend/android-build-tools/issues)).

Please note that JDK8 (not 9+) is required to install Android SDK. Get OpenJDK8 from [https://adoptopenjdk.net/](https://adoptopenjdk.net/) and try again.  
npm ERR! code ELIFECYCLE  
npm ERR! errno 1  
npm ERR! android-build-tools@1.0.0 install: `xbash install.bash`  
npm ERR! Exit status 1  
npm ERR!  
npm ERR! Failed at the android-build-tools@1.0.0 install script.  
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:  
npm ERR! C:\Users\lucien.ngameleu\AppData\Roaming\npm-cache\_logs\2019-08-30T12\_38\_59\_907Z-debug.log

C:\Users\lucien.ngameleu\>

---

<div class="post-metadata">

**Author:** ![mortend](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mortend/32/917_2.png) [@mortend](https://forums.fusetools.com/u/mortend)\
**Post date:** [August 30, 2019, 12:53pm UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/37 "2019-08-30T12:53:07Z")

</div>

When you have created your .unoconfig file manually you no longer need to install `android-build-tools`. 🙂

---

<div class="post-metadata">

**Author:** ![forza](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@forza](https://forums.fusetools.com/u/forza)\
**Post date:** [August 30, 2019, 1:26pm UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/38 "2019-08-30T13:26:16Z")

</div>

After deinstalling android-build-tools,  
:\Users\lucien.ngameleu\>npm install -g android-build-tools

> android-build-tools@1.0.0 install C:\Users\lucien.ngameleu\AppData\Roaming\npm\node\_modules\android-build-tools  
> xbash install.bash

ls: cannot access ‘C:\Program Files\Java’: No such file or directory  
ERROR: The JAVA\_HOME variable is not set, and JDK8 was not found in PATH or ‘C:\Program Files\Java’.

Please get OpenJDK8 from [https://adoptopenjdk.net/](https://adoptopenjdk.net/) and try again.  
npm ERR! code ELIFECYCLE  
npm ERR! errno 1  
npm ERR! android-build-tools@1.0.0 install: `xbash install.bash`  
npm ERR! Exit status 1  
npm ERR!  
npm ERR! Failed at the android-build-tools@1.0.0 install script.  
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:  
npm ERR! C:\Users\lucien.ngameleu\AppData\Roaming\npm-cache\_logs\2019-08-30T13\_23\_31\_527Z-debug.log

C:\Users\lucien.ngameleu\>

---

<div class="post-metadata">

**Author:** ![forza](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@forza](https://forums.fusetools.com/u/forza)\
**Post date:** [September 4, 2019, 11:24am UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/39 "2019-09-04T11:24:40Z")

</div>

If I try the following, it asks again for android-build-tools to install…I have set the .unoconfig file as you can see below…  
Hope for help!!

Command:

> C:\WINDOWS\system32\>npm install -g fuse-sdk  
> C:\Users\lucien.ngameleu\AppData\Roaming\npm\uno → C:\Users\lucien.ngameleu\AppData\Roaming\npm\node\_modules\fuse-sdk\node\_modules@fuse-open\uno\bin\uno.js
> 
> fuse-sdk@1.12.0-rc.4 install C:\Users\lucien.ngameleu\AppData\Roaming\npm\node\_modules\fuse-sdk  
> node install.js
> 
> android-build-tools could not be found
> 
> If you want to build Android apps it is recommended to install this package using the following command:
> 
> ```
> npm install -g android-build-tools
> 
> ```
> 
> - fuse-sdk@1.12.0-rc.4  
> updated 1 package in 1.076s

the .unoconfig file:

> Android.SDK.Directory:“C:\Users\lucien.ngameleu\AppData\Local\Android\sdk”  
> Android.NDK.Directory:“C:\Users\lucien.ngameleu\AppData\Local\Android\sdk\ndk-bundle”  
> Java.JDK.Directory:“C:\Program Files\AdoptOpenJDK\jdk-8.0.222.10-hotspot”

Thanks! 🙂

---

<div class="post-metadata">

**Author:** ![mortend](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mortend/32/917_2.png) [@mortend](https://forums.fusetools.com/u/mortend)\
**Post date:** [September 16, 2019, 4:28am UTC](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733/40 "2019-09-16T04:28:50Z")

</div>

@forza, Sorry about my late response.

When you have set up `.unoconfig` manually you can safely ignore the warning from `fuse-sdk` installer.

To check if Android tools are installed properly, you can build an empty project.

```auto
uno create app123 -capp
uno build android app123

```

If this builds successfully you’re all good. 🙂

[Previous page](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733.md?page=1)

[Next page](https://forums.fusetools.com/t/64-bit-warning-when-releasing-an-android-app/7733.md?page=3)
