How to build Fuse app to Android .apk

file

Hello, When i’m trying to build Android app it seems error Like in CMD

===========================

Building native target

Running C:\wamp\www\Fuse\TodoApp\.build\Android-Debug\build.bat

ERROR: ant.bat was not found in ‘C:\ProgramData\Uno\SDKs\Ant\bin’ (exit code: 1)

: EUNKNOWN: Native target failed to build

Build completed in 30.41 seconds 0 Warning(s) 1 Error(s)

Error Summary

: EUNKNOWN: Native target failed to build FATAL ERROR: Build failed.

============================

I already have android sdk but path is C:\android-sdk\adt-bundle-windows-x86_64-20140702 And it’s working for cordova But not in fuse so, how to build app?

You can follow these instructions to set up Android exports for Fuse (note that you’ll also need the NDK and a couple of other things): https://www.fusetools.com/learn/guides/preview-and-export-android

The setup also lets you use SDK versions that are already installed on your system.

And we should definitely have a nicer error when trying to export while missing the necessary 3rd party packages. I’m raising an internal ticket for that.

This thread has been moved to How-to discussions where it belongs :slight_smile: