# Need to use uno/fuselibs on linux! need help

**URL:** <https://forums.fusetools.com/t/need-to-use-uno-fuselibs-on-linux-need-help/7753>\
**Category:** How-to Discussions\
**Created:** [May 27, 2019, 7:30am UTC](https://forums.fusetools.com/t/need-to-use-uno-fuselibs-on-linux-need-help/7753 "2019-05-27T07:30:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![MVONDO\_Yannick](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mvondo_yannick/32/214_2.png) [@MVONDO\_Yannick](https://forums.fusetools.com/u/MVONDO_Yannick)\
**Post date:** [May 27, 2019, 7:30am UTC](https://forums.fusetools.com/t/need-to-use-uno-fuselibs-on-linux-need-help/7753/1 "2019-05-27T07:30:25Z")

</div>

Hi!  
I have just install Uno ( sudo npm install -g @fuse-open/uno  
) and fuselibs (npm install @fuse-open/fuselibs). but now i want to use command like fuse preview -tandroid or fuse build -tandroid withoud fuseStudio. how can do? need help please.

- Installing mono

```auto
sudo apt install mono-devel

```

- Installing uno

```auto
sudo npm install -g @fuse-open/uno

```

- installing fuselibs

```auto
npm install @fuse-open/fuselibs

```

these are my errors when i try **uno build command**

```auto
/Documents/fuse/lorem$ uno build
Uno 1.11.1 (build 253) Linux 5.0 x86_64 376e6e9
Copyright © 2018-present Fuse Open

Configuring 0.55 s                                                                                                                                                          
Installing dependencies
stuff: GET https://www.nuget.org/api/v2/package/fuselibs-desktop-fonts/1.0.0
stuff: GET https://www.nuget.org/api/v2/package/FuseOpen.Xamarin.Mac/3.4.0.2                                                                                                 
13.72 s                                                                                                                                                                      

Compiling syntax tree 2.41 s                                                                                                                                                
Generating code and data                                                                                                                                                     
lorem.unoproj: E3503: No non-abstract application classes found in project
1.03 s                                                                                                                                                                       

Build completed in 17.72 seconds
    1 error

```

need help please!

Thanks

---

<div class="post-metadata">

**Author:** ![Hassan\_M](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/hassan_m/32/957_2.png) [@Hassan\_M](https://forums.fusetools.com/u/Hassan_M)\
**Post date:** [May 27, 2019, 9:11am UTC](https://forums.fusetools.com/t/need-to-use-uno-fuselibs-on-linux-need-help/7753/2 "2019-05-27T09:11:24Z")

</div>

Make sure you have `<App>` tag in your file inside your project

---

<div class="post-metadata">

**Author:** ![MVONDO\_Yannick](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mvondo_yannick/32/214_2.png) [@MVONDO\_Yannick](https://forums.fusetools.com/u/MVONDO_Yannick)\
**Post date:** [May 27, 2019, 5:41pm UTC](https://forums.fusetools.com/t/need-to-use-uno-fuselibs-on-linux-need-help/7753/3 "2019-05-27T17:41:45Z")

</div>

I don’t know where this error come from 😓

```auto
/Documents/fuse/lorem$ uno build -tandroid -vvv
Uno 1.11.1 (build 253) Linux 5.0 x86_64 376e6e9
Copyright © 2018-present Fuse Open

Configuring
Project file: lorem.unoproj
Search paths: ../node_modules/@fuse-open/fuselibs/Source/build, /usr/local/lib/node_modules/@fuse-open/uno/lib/build
include MainView.ux; type: UX                                                                                                                              
   76.35 ms Uno.Build.Packages.PackageCache                                                                                                               
  130.46 ms                                                                                                                                                

Target is up-to-date -- stopping build (pass --force to override)
Building Android app
bash build.sh (in build/Android/Debug)
                                                                                                                                                           
FAILURE: Build failed with an exception.

* What went wrong:
Could not determine java version from '11.0.2'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org
(exit code: 1)
(unknown): E0200: Android build failed
  754.94 ms

Build completed in 0.89 seconds
    1 error

```

This is my java version

```auto
$ java -version
java version "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)

```

My Java Installation PATH

```auto
$ echo $JAVA_HOME
/usr/bin/java

```

---

<div class="post-metadata">

**Author:** ![Hassan\_M](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/hassan_m/32/957_2.png) [@Hassan\_M](https://forums.fusetools.com/u/Hassan_M)\
**Post date:** [May 27, 2019, 10:42pm UTC](https://forums.fusetools.com/t/need-to-use-uno-fuselibs-on-linux-need-help/7753/4 "2019-05-27T22:42:15Z")

</div>

Development on Android only supports using java version \<=8. More info [here](https://developer.android.com/studio/write/java8-support)  
You have to downgrade your java

---

<div class="post-metadata">

**Author:** ![MVONDO\_Yannick](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mvondo_yannick/32/214_2.png) [@MVONDO\_Yannick](https://forums.fusetools.com/u/MVONDO_Yannick)\
**Post date:** [May 29, 2019, 12:35am UTC](https://forums.fusetools.com/t/need-to-use-uno-fuselibs-on-linux-need-help/7753/5 "2019-05-29T00:35:07Z")

</div>

I have installed OpenJDK-8 on my ubuntu, and now my problem with java 8 is resolve.  
But i have this

```auto
Warning: License for package Android SDK Build-Tools 27.0.3 not accepted.                                                                                                      
Warning: License for package Android SDK Platform 26 not accepted.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Failed to install the following Android SDK packages as some licences have not been accepted.
     platforms;android-26 Android SDK Platform 26
     build-tools;27.0.3 Android SDK Build-Tools 27.0.3
  To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
  Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html

  Using Android SDK: /home/dell/Documents/fuse/lorem/build/Android/Debug

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 0s

```

How can i accept Licence for Android SDK?

Thanks

---

<div class="post-metadata">

**Author:** ![Hassan\_M](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/hassan_m/32/957_2.png) [@Hassan\_M](https://forums.fusetools.com/u/Hassan_M)\
**Post date:** [May 29, 2019, 2:08am UTC](https://forums.fusetools.com/t/need-to-use-uno-fuselibs-on-linux-need-help/7753/6 "2019-05-29T02:08:18Z")

</div>

try this : `yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses`

---

<div class="post-metadata">

**Author:** ![MVONDO\_Yannick](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mvondo_yannick/32/214_2.png) [@MVONDO\_Yannick](https://forums.fusetools.com/u/MVONDO_Yannick)\
**Post date:** [June 1, 2019, 10:46pm UTC](https://forums.fusetools.com/t/need-to-use-uno-fuselibs-on-linux-need-help/7753/7 "2019-06-01T22:46:09Z")

</div>

Thanks, i have build my first android App with fuse on my Linux Ubuntu 🥰 .  
But now when i open my sublime Text 3 (with fuse sublime text package installed) i have this errors

 ![subl_fuse](https://canada1.discourse-cdn.com/flex035/uploads/fusetools1/original/1X/be45f930174fca74d41aae8898c3eccbcfbb6342.png) . How can i resolve it?

My Config:  
Linux Ubuntu 19.04  
Sublime text 3.2.1 Build 3207

Product information  
Product.Commit 376e6e921f0b3985e603bc1dd16517580ed8226e  
Product.Version 1.11.1.253

Runtime environment  
Environment.OSVersion Unix 5.0.0.15  
Environment.Version 4.0.30319.42000

fuselibs version “1.11.3”

Thanks

---

<div class="post-metadata">

**Author:** ![Hassan\_M](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/hassan_m/32/957_2.png) [@Hassan\_M](https://forums.fusetools.com/u/Hassan_M)\
**Post date:** [June 4, 2019, 9:31am UTC](https://forums.fusetools.com/t/need-to-use-uno-fuselibs-on-linux-need-help/7753/8 "2019-06-04T09:31:46Z")

</div>

Fuse Studio where Fuse command line live is not yet available in Linux

---

<div class="post-metadata">

**Author:** ![MVONDO\_Yannick](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mvondo_yannick/32/214_2.png) [@MVONDO\_Yannick](https://forums.fusetools.com/u/MVONDO_Yannick)\
**Post date:** [June 4, 2019, 10:38am UTC](https://forums.fusetools.com/t/need-to-use-uno-fuselibs-on-linux-need-help/7753/9 "2019-06-04T10:38:44Z")

</div>

ok, thanks 😞
