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.

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

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?

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?

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.

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>
<App>
   <ClientPanel>
        <JavaScript>
            var name = "Tricky Trails";

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

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

I edited your post a bit to make the outputs more readable. :slight_smile: (You can use github-markdown to achieve this yourself as well.)

This part is interesting with regard to the preview issue:

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

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

Hi,

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

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

Help! :expressionless:

A friend of mine faced same error… windows10 x64

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

for me:

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

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

Well, i fixed it. While fuse android install tells me everything is okay, Found 2 “blahblah not found” when i build tryingfuse preview -t=android. “api 24” and “android sdk platform-tools” was Not installed. Theuno 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.