Android build failed.

Previewing with Android will cause an error.
The development environment is as follows.

  • fusetools 1.1.0 (13808)
  • windows10 (64)
  • uno install android complete
  • Confirm installation of android sdk 23 in sdk manager

Why do I get an error?

----- error message ----

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Failed to find target with hash string 'android-23' in: C:\Users\expel\AppData\Local\Fusetools\Fuse\Android\AndroidSDK

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

2/2: aya4.apk

Preparing "Install Android SDK Build-Tools 23.0.3".
"Install Android SDK Build-Tools 23.0.3" ready.
Finishing "Install Android SDK Build-Tools 23.0.3"
Installing Android SDK Build-Tools 23.0.3 in C:\Users\expel\AppData\Local\Fusetools\Fuse\Android\AndroidSDK\build-tools\23.0.3
"Install Android SDK Build-Tools 23.0.3" complete.
Preparing "Install Android SDK Platform 23".
"Install Android SDK Platform 23" ready.
Finishing "Install Android SDK Platform 23"
Installing Android SDK Platform 23 in C:\Users\expel\AppData\Local\Fusetools\Fuse\Android\AndroidSDK\platforms\android-23
"Install Android SDK Platform 23" complete.

BUILD FAILED

Total time: 51.035 secs
(unknown): E0200: Android build failed
?: Error E0200: Android build failed
(52.6 s)

Build completed in 59.81 seconds
    1 error
fuse: Failed to compile project

Hi,

did you run fuse install android before trying to preview on Android? If you didn’t, please do.

A quick google search returns quite a lot of results, here’s the top hit: https://stackoverflow.com/questions/33417537/failed-to-find-target-with-hash-string-android-23