uno build failed in amazons3 fuse.sample app

Hello, i got this error while building the amazon3 app in the fuse.sample:


C:\Users\Egaleme\Desktop\fuse-sample-apps\Samples\AmazonS3 (master)
λ uno build --target=Android
Uno 1.6.0 (build 6434) Windows 8.1 x64 40f9a34 Copyright (C) 2015-2018 Fusetools

Configuring  45.10 s
Installing dependencies
stuff: GET https://files.fusetools.com/tooling/ByWkWr0ycr5B-uno-base-0.8.730-android.zip
stuff: GET https://files.fusetools.com/tooling/pNKuE33KolYV-Harfbuzz-Android.zip
stuff: GET https://files.fusetools.com/tooling/mPOLoysUGKpO-V8-Android.zip
6 m, 50.35 s

Compiling syntax tree  8.04 s
Generating code and data  1 m, 1.72 s
Building Android app
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
PARSE ERROR:
bad utf-8 byte 00 at offset 00000010
...while parsing cst 0001 at offset 0000000a
...while parsing com/amazonaws/metrics/RequestMetricCollector.class
1 error; aborting

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: java.lang.RuntimeException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Incremental java compilation is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAnimatedVectorDrawable2340Library
:app:prepareComAndroidSupportAppcompatV72340Library
:app:prepareComAndroidSupportDesign2340Library :app:prepareComAndroidSupportRecyclerviewV72340Library
:app:prepareComAndroidSupportSupportV42340Library
:app:prepareComAndroidSupportSupportVectorDrawable2340Library
:app:prepareDebugDependencies
:app:compileDebugAidl
:app:compileDebugRenderscript
:app:generateDebugBuildConfig
:app:generateDebugResValues
:app:generateDebugResources
:app:mergeDebugResources
:app:processDebugManifest
:app:processDebugResources
:app:generateDebugSources
:app:incrementalDebugJavaCompilationSafeguard
:app:compileDebugJavaWithJavac
:app:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
:app:generateJsonModelDebug
:app:externalNativeBuildDebug
  building C:\Users\Egaleme\Desktop\fuse-sample-apps\Samples\AmazonS3\build\Android\Debug\app\.externalNativeBuild\cmake\debug\obj\armeabi-v7a\libAmazonS3.so
:app:compileDebugSources
:app:mergeDebugShaders
:app:compileDebugShaders
:app:generateDebugAssets
:app:mergeDebugAssets
:app:transformClassesWithDexForDebug

Running dex as a separate process.

To run dex in process, the Gradle daemon needs a larger heap.
It currently has 976 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least 1536 MB.
To do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html

:app:transformClassesWithDexForDebug FAILED

BUILD FAILED

Total time: 9 mins 54.47 secs
(unknown): E0200: Android build failed
10 m, 13.13 s

Build completed in 1139.63 seconds
    1 error

I just built the S3 sample on macOS without any issues at all.

Let’s look at the error you get:

PARSE ERROR:
bad utf-8 byte 00 at offset 00000010
...while parsing cst 0001 at offset 0000000a
...while parsing com/amazonaws/metrics/RequestMetricCollector.class

The RequestMetricCollector.class file only exists inside the AWS SDK .jar, so Fuse has very little to do with it in the first place.

I have to assume that your hardware / software is the cause of this issue. There’s not much to suggest either, aside from looking on the internet for similar issues with extracting .jar files.