# I am having problem with preview and export app. i have tried this cmd "fuse install android" as of console instruction but it's not working. even local preview not showing.  

**URL:** <https://forums.fusetools.com/t/i-am-having-problem-with-preview-and-export-app-i-have-tried-this-cmd-fuse-install-android-as-of-console-instruction-but-its-not-working-even-local-preview-not-showing/4973>\
**Category:** Bug Reports\
**Created:** [January 20, 2017, 6:47am UTC](https://forums.fusetools.com/t/i-am-having-problem-with-preview-and-export-app-i-have-tried-this-cmd-fuse-install-android-as-of-console-instruction-but-its-not-working-even-local-preview-not-showing/4973 "2017-01-20T06:47:24Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amit](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/amit/32/390_2.png) [@Amit](https://forums.fusetools.com/u/Amit)\
**Post date:** [January 20, 2017, 6:47am UTC](https://forums.fusetools.com/t/i-am-having-problem-with-preview-and-export-app-i-have-tried-this-cmd-fuse-install-android-as-of-console-instruction-but-its-not-working-even-local-preview-not-showing/4973/1 "2017-01-20T06:47:24Z")

</div>

```auto
Fuse version 0.32.0 (build 9613) /Windows 8.1

Build started: FullCompile
Configuring (1.0 s)
Compiling syntax tree (2.8 s)
Generating code and data (24.1 s)
Building Android app
1/2: libMaterialTransition.so
2/2: MaterialTransition.apk

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

Total time: 2 seconds
## 1/2: libMaterialTransition.so

## 2/2: MaterialTransition.apk
Buildfile: C:\Users\amitg\Downloads\material-transition\material-transition\build\Android\Preview\MaterialTransition\app\src\main\build.xml

-set-mode-check:

-set-debug-files:

-check-env:
 [checkenv] Android SDK Tools Revision 25.2.5
 [checkenv] Installed at C:\Users\amitg\AppData\Local\Android\sdk

-setup:
     [echo] Project Name: MaterialTransition
  [gettype] Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 25.0.2
     [echo] Resolving Build Target for MaterialTransition...
(unknown): E0200: Android build failed
?: Error E0200: Android build failed
(9.0 s)

Build completed in 36.87 seconds
    1 error
Checking if C:\Program Files\Java\jdk1.8.0_51 exists.
C:\Program Files\Java\jdk1.8.0_51 was found.
Checking if JDK is corrupt
jdk was found.
Checking if C:\Users\amitg\AppData\Local\Android\sdk exists.
C:\Users\amitg\AppData\Local\Android\sdk was found.
Checking if C:\Users\amitg\AppData\Local\Android\sdk\tools exists.
C:\Users\amitg\AppData\Local\Android\sdk\tools was found.
Checking if Android SDK is corrupt.
androidsdk was found.
Checking if all required Android components are installed.
Android Platform 21 was not found and is required. 
androidsdkpackages was not found.
Checking if C:\Users\amitg\AppData\Local\Fusetools\Fuse\Android\AndroidNDK\toolchains exists.
C:\Users\amitg\AppData\Local\Fusetools\Fuse\Android\AndroidNDK\toolchains was found.
Checking if C:\Users\amitg\AppData\Local\Fusetools\Fuse\Android\AndroidNDK\prebuilt exists.
C:\Users\amitg\AppData\Local\Fusetools\Fuse\Android\AndroidNDK\prebuilt was found.
androidndk was found.
Checking if C:\Users\amitg\AppData\Local\Fusetools\Fuse\Android\Ant exists.
C:\Users\amitg\AppData\Local\Fusetools\Fuse\Android\Ant was found.
Checking if Ant is corrupt
ant was found.
?: Error F0001: Looks like Android is not installed. Please run 'fuse install android' first.
Build ended
fuse: Failed to compile project

```

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [January 20, 2017, 7:17am UTC](https://forums.fusetools.com/t/i-am-having-problem-with-preview-and-export-app-i-have-tried-this-cmd-fuse-install-android-as-of-console-instruction-but-its-not-working-even-local-preview-not-showing/4973/2 "2017-01-20T07:17:43Z")

</div>

What is the output when you run `fuse install android`?

Which operating system version do you have?

Can you provide a bit more details about how local preview fails? What is the output of `fuse preview`, and what happens when you run it? Do you get an empty window, no window, an error message or something else?

---

<div class="post-metadata">

**Author:** ![Amit](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/amit/32/390_2.png) [@Amit](https://forums.fusetools.com/u/Amit)\
**Post date:** [January 20, 2017, 9:11am UTC](https://forums.fusetools.com/t/i-am-having-problem-with-preview-and-export-app-i-have-tried-this-cmd-fuse-install-android-as-of-console-instruction-but-its-not-working-even-local-preview-not-showing/4973/3 "2017-01-20T09:11:28Z")

</div>

when i run the cmd fuse install android !  
it showing following things.

i have windows 8.1 OS version.  
when i run fuse preview it not showing nothing. Console sowing these following info. but when i open MainView.ux it not showing proper things which i mention in code.

can you please tell me what is the standard process to run the application?  
any specific way which i can follow?

```auto
C:\Users\amitg\Downloads\hikr>fuse preview
Fuse 0.31.2 (build 9180)
Build started: FullCompile
Configuring (5.7 s)
Compiling syntax tree (2.9 s)
Generating code and data (24.4 s)

Build completed in 33.14 seconds
Build ended
GL_VERSION: 1.1.0
GL_VENDOR: Microsoft Corporation
GL_RENDERER: GDI Generic

```

when i run  
fuse install android  
console print these messages.

```auto
Do you accept the license (y/n)?
y
Refresh Sources:
  Fetching http://dl.google.com/android/repository/addons_list-2.xml
  Fetched Add-ons List successfully
  Refresh Sources
  Fetching URL: http://dl.google.com/android/repository/repository-11.xml
Refresh Sources:
  Fetching URL: http://dl.google.com/android/repository/repository-11.xml
There is nothing to install or update.
Refresh Sources:
  Fetching http://dl.google.com/android/repository/addons_list-2.xml
  Fetched Add-ons List successfully
  Refresh Sources
  Fetching URL: http://dl.google.com/android/repository/repository-11.xml
Refresh Sources:
  Fetching URL: http://dl.google.com/android/repository/repository-11.xml
There is nothing to install or update.
# Done installing AndroidSDKPackages
# Starting AndroidNDK installer
Verifies that Android NDK is installed and valid.
Checking if C:\Users\amitg\AppData\Local\Fusetools\Fuse\Android\AndroidNDK\toolc
hains exists.
C:\Users\amitg\AppData\Local\Fusetools\Fuse\Android\AndroidNDK\toolchains was fo
und.
Checking if C:\Users\amitg\AppData\Local\Fusetools\Fuse\Android\AndroidNDK\prebu
ilt exists.
C:\Users\amitg\AppData\Local\Fusetools\Fuse\Android\AndroidNDK\prebuilt was foun
d.
Android NDK was found here 'C:\Users\amitg\AppData\Local\Fusetools\Fuse\Android\
AndroidNDK'
# Done installing AndroidNDK
# Starting Ant installer
Verifies that Ant is installed and valid.
Checking if C:\Users\amitg\AppData\Local\Fusetools\Fuse\Android\Ant exists.
C:\Users\amitg\AppData\Local\Fusetools\Fuse\Android\Ant was found.
Checking if Ant is corrupt
Ant was found here 'C:\Users\amitg\AppData\Local\Fusetools\Fuse\Android\Ant'
# Done installing Ant

C:\Users\amitg\Downloads\hikr>

```

```auto
<App>
   <ClientPanel>
        <JavaScript>
            var name = "Tricky Trails";

            module.exports = {
                name: name
            };
        </JavaScript>

        <StackPanel>
            <Text>Tricky Trails</Text>
        </StackPanel>
    </ClientPanel>
</App>

```

---

<div class="post-metadata">

**Author:** ![Remi\_Pedersen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/remi_pedersen/32/432_2.png) [@Remi\_Pedersen](https://forums.fusetools.com/u/Remi_Pedersen)\
**Post date:** [January 20, 2017, 9:39am UTC](https://forums.fusetools.com/t/i-am-having-problem-with-preview-and-export-app-i-have-tried-this-cmd-fuse-install-android-as-of-console-instruction-but-its-not-working-even-local-preview-not-showing/4973/4 "2017-01-20T09:39:15Z")

</div>

I edited your post a bit to make the outputs more readable. 🙂 (You can use [github-markdown](https://help.github.com/articles/basic-writing-and-formatting-syntax/) to achieve this yourself as well.)

This part is interesting with regard to the preview issue:

```auto
GL_VERSION: 1.1.0
GL_VENDOR: Microsoft Corporation
GL_RENDERER: GDI Generic

```

It means that you either need to upgrade your graphics drivers or (in the worst case) that your graphics adapter is incompatible. You can read more here: [https://www.fusetools.com/docs/basics/faq#local-preview-does-not-start-on-windows](https://www.fusetools.com/docs/basics/faq#local-preview-does-not-start-on-windows)

---

<div class="post-metadata">

**Author:** ![Amit](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/amit/32/390_2.png) [@Amit](https://forums.fusetools.com/u/Amit)\
**Post date:** [January 20, 2017, 9:56am UTC](https://forums.fusetools.com/t/i-am-having-problem-with-preview-and-export-app-i-have-tried-this-cmd-fuse-install-android-as-of-console-instruction-but-its-not-working-even-local-preview-not-showing/4973/5 "2017-01-20T09:56:46Z")

</div>

Okay, #Remi Pedersen, Thank you so much for your replay. And also thanks to #Anders Schau Knatten.

---

<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:** [January 20, 2017, 11:40am UTC](https://forums.fusetools.com/t/i-am-having-problem-with-preview-and-export-app-i-have-tried-this-cmd-fuse-install-android-as-of-console-instruction-but-its-not-working-even-local-preview-not-showing/4973/6 "2017-01-20T11:40:13Z")

</div>

Hi,

Could you please run `uno android` and take a screenshot of the SDK Manager window?

---

<div class="post-metadata">

**Author:** ![malekmfs](https://avatars.discourse-cdn.com/v4/letter/m/df788c/32.png) [@malekmfs](https://forums.fusetools.com/u/malekmfs)\
**Post date:** [February 5, 2017, 3:19pm UTC](https://forums.fusetools.com/t/i-am-having-problem-with-preview-and-export-app-i-have-tried-this-cmd-fuse-install-android-as-of-console-instruction-but-its-not-working-even-local-preview-not-showing/4973/7 "2017-02-05T15:19:25Z")

</div>

i have same error for ‘android-23’ BUT `fuse preview` shows local preview nice and correctly.

`GL_VERSION: 4.3.0 - Build 20.19.15.4549`  
`GL_VENDOR: Intel`  
`GL_RENDERER: Intel(R) HD Graphics 4600`

`fuse install android -s android` it says everything found but at the end it says RED: “fuse: android is not installed.”

`uno android` opens up sdk manager. image bellow(installed only): ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/z2wdy4NAZxDk-image-1486307497943.png)

---

<div class="post-metadata">

**Author:** ![malekmfs](https://avatars.discourse-cdn.com/v4/letter/m/df788c/32.png) [@malekmfs](https://forums.fusetools.com/u/malekmfs)\
**Post date:** [February 6, 2017, 6:24pm UTC](https://forums.fusetools.com/t/i-am-having-problem-with-preview-and-export-app-i-have-tried-this-cmd-fuse-install-android-as-of-console-instruction-but-its-not-working-even-local-preview-not-showing/4973/8 "2017-02-06T18:24:03Z")

</div>

Help! 😑

A friend of mine faced same error… windows10 x64

---

<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 7, 2017, 7:34am UTC](https://forums.fusetools.com/t/i-am-having-problem-with-preview-and-export-app-i-have-tried-this-cmd-fuse-install-android-as-of-console-instruction-but-its-not-working-even-local-preview-not-showing/4973/9 "2017-02-07T07:34:40Z")

</div>

Hi, could both of you upload the log that you got from running `fuse install android`?

---

<div class="post-metadata">

**Author:** ![malekmfs](https://avatars.discourse-cdn.com/v4/letter/m/df788c/32.png) [@malekmfs](https://forums.fusetools.com/u/malekmfs)\
**Post date:** [February 7, 2017, 12:40pm UTC](https://forums.fusetools.com/t/i-am-having-problem-with-preview-and-export-app-i-have-tried-this-cmd-fuse-install-android-as-of-console-instruction-but-its-not-working-even-local-preview-not-showing/4973/10 "2017-02-07T12:40:39Z")

</div>

for me:

```auto
fuse install android
Fuse 0.33.0 (build 10195)
# Starting JDK installer
Verifies that Java Development Kit is installed and valid.
Checking if C:\Program Files\Java\jdk1.8.0_51 exists.
C:\Program Files\Java\jdk1.8.0_51 was found.
Checking if JDK is corrupt
Java Development Kit was found here 'C:\Program Files\Java\jdk1.8.0_51'
# Done installing JDK
# Starting AndroidSDK installer
Verifies that Android SDK is installed and valid.
Checking if C:\Users\MalekMFS\AppData\Local\Android\sdk exists.
C:\Users\MalekMFS\AppData\Local\Android\sdk was found.
Checking if C:\Users\MalekMFS\AppData\Local\Android\sdk\tools exists.
C:\Users\MalekMFS\AppData\Local\Android\sdk\tools was found.
Checking if Android SDK is corrupt.
Android SDK was found here 'C:\Users\MalekMFS\AppData\Local\Android\sdk'
# Done installing AndroidSDK
# Starting AndroidSDKPackages installer
Verifies that Android SDK Packages is installed and valid.
Checking if all required Android components are installed.
Android Platform 21 was not found and is required.
Couldn't find Android SDK Packages
# Installing required Android SDK components
Android Platform 21 was not found and is required.
Android Platform 23 was not found and is required.
One or more required packages for Android SDK are not installed, do you want to install them? (y/n)
y

```

…terms and condition… blah blah

```auto
Do you accept the license (y/n)?
y
Refresh Sources:
  Fetching http://dl.google.com/android/repository/addons_list-2.xml
  Fetched Add-ons List successfully
  Refresh Sources
  Fetching URL: http://dl.google.com/android/repository/repository-10.xml
Refresh Sources:
  Fetching URL: http://dl.google.com/android/repository/repository-10.xml
There is nothing to install or update.
Refresh Sources:
  Fetching http://dl.google.com/android/repository/addons_list-2.xml
  Fetched Add-ons List successfully
  Refresh Sources
  Fetching URL: http://dl.google.com/android/repository/repository-10.xml
Refresh Sources:
  Fetching URL: http://dl.google.com/android/repository/repository-10.xml
There is nothing to install or update.
# Done installing AndroidSDKPackages
# Starting AndroidNDK installer
Verifies that Android NDK is installed and valid.
Checking if C:\Users\MalekMFS\AppData\Local\Fusetools\Fuse\Android\android-ndk-r13b\toolchains exists.
C:\Users\MalekMFS\AppData\Local\Fusetools\Fuse\Android\android-ndk-r13b\toolchains was found.
Checking if C:\Users\MalekMFS\AppData\Local\Fusetools\Fuse\Android\android-ndk-r13b\prebuilt exists.
C:\Users\MalekMFS\AppData\Local\Fusetools\Fuse\Android\android-ndk-r13b\prebuilt was found.
Android NDK was found here 'C:\Users\MalekMFS\AppData\Local\Fusetools\Fuse\Android\android-ndk-r13b'
# Done installing AndroidNDK
# Starting Ant installer
Verifies that Ant is installed and valid.
Checking if C:\Users\MalekMFS\AppData\Local\Fusetools\Fuse\Android\Ant exists.
C:\Users\MalekMFS\AppData\Local\Fusetools\Fuse\Android\Ant was found.
Checking if Ant is corrupt
Ant was found here 'C:\Users\MalekMFS\AppData\Local\Fusetools\Fuse\Android\Ant'
# Done installing Ant

```

---

<div class="post-metadata">

**Author:** ![malekmfs](https://avatars.discourse-cdn.com/v4/letter/m/df788c/32.png) [@malekmfs](https://forums.fusetools.com/u/malekmfs)\
**Post date:** [February 8, 2017, 10:28am UTC](https://forums.fusetools.com/t/i-am-having-problem-with-preview-and-export-app-i-have-tried-this-cmd-fuse-install-android-as-of-console-instruction-but-its-not-working-even-local-preview-not-showing/4973/11 "2017-02-08T10:28:52Z")

</div>

Well, i fixed it. While `fuse android install` tells me everything is okay, Found 2 “blahblah not found” when i build trying`fuse preview -t=android`. “api 24” and “android sdk platform-tools” was Not installed. The`uno android` checks all “API 24” stuffs and i can’t install them because they require “google api 24” which is not in “Google’s sdk manager”!! (yes, wierd) so i checked all “API 23” (Android 6) stuffs and after installing them, it gives me no error! and build to android works now. yay!

EDIT: preview problem fixed somehow after updating.
