Fuse Community

How to install fusetools 1.14

I used fusetools 1.5
and I need android build arm64
so I found fusetools 1.14 and this version build posible arm64

but I don’t find install guide 1.14 from fuseopen.com
there are only 1.10

i’m tried setup node, npm.
but I don’t know
It’s very defficulte

ps. my os is windows

You need to install it via npm (local, in the same folder of the .unoproj)


npm install @fuse-open/fuselibs


npm install @fuse-open/uno

Then in package.json in scripts you need something like this:

"scripts": {
    "uno": "node_modules/.bin/uno",
    "android": "uno build -t=android -r",
    "androidRelease": "uno build -t=android --configuration=Release",
    "ios": "uno build ios --run",
    "iosRelease": "uno build -t=iOS -DCOCOAPODS -d --configuration=Release",
    "dotnet": "uno build dotnet --run",
    "native": "uno build native --run"

So, to compile on android for example you type npm run android, npm run ios, npm run uno clean for example

1 Like

Don’t forget to make all the Uno calls in those scripts like the first one node_modules/.bin/uno

Also if you’re doing a new install, you probably want to install the Android SDK, NDK, etc. which requires OpenJDK v8:

npm install android-build-tools -g

If Uno is pointing to things like the NDK to the wrong directory, you will have to just add the config to the directory in a .unoconfig file like so (https://github.com/fuse-open/uno/blob/master/docs/configuration.md#android):


Android.NDK.Directory: `%LOCALAPPDATA%\Android\sdk\ndk-bundle`
Android.SDK.Directory: `%LOCALAPPDATA%\Android\sdk`
Java.JDK.Directory: `%PROGRAMFILES%\Java\jdk1.8.0_40`


Android.NDK.Directory: ~/Library/Android/sdk/ndk-bundle
Android.SDK.Directory: ~/Library/Android/sdk

You can find all the .unoconfigs that affect your Uno with this command:

uno config

or if its in a node_modules folder:

node_modules/.bin/uno config