Fuse Community

Release build error from fuselibs 1.14.0

recently i updated uno and fuselibs 1.14.0
using this command
npm install -g fuse-sdk
npm install -g android-build-tools

it shows error while taking release using command (uno build android --release)
BUILD SUCCESSFUL in 8m 49s
27 actionable tasks: 27 executed
1 file(s) copied.

Task :app:preBuild UP-TO-DATE
Task :app:preReleaseBuild UP-TO-DATE
Task :app:generateReleaseResValues UP-TO-DATE
Task :app:compileReleaseRenderscript NO-SOURCE
Task :app:generateReleaseResources UP-TO-DATE
Task :app:mergeReleaseResources UP-TO-DATE
Task :app:checkReleaseManifest UP-TO-DATE
Task :app:createReleaseCompatibleScreenManifests UP-TO-DATE
Task :app:mainApkListPersistenceRelease UP-TO-DATE
Task :app:processReleaseManifest UP-TO-DATE
Task :app:checkReleaseDuplicateClasses UP-TO-DATE
Task :app:generateReleaseBuildConfig UP-TO-DATE
Task :app:javaPreCompileRelease UP-TO-DATE
Task :app:compileReleaseAidl UP-TO-DATE
Task :app:processReleaseResources UP-TO-DATE
Task :app:compileReleaseJavaWithJavac UP-TO-DATE
Task :app:multiDexListRelease UP-TO-DATE
Task :app:transformClassesWithDexBuilderForRelease UP-TO-DATE
Task :app:mergeDexRelease UP-TO-DATE
Task :app:mergeReleaseShaders UP-TO-DATE
Task :app:compileReleaseShaders UP-TO-DATE
Task :app:generateReleaseAssets UP-TO-DATE
Task :app:mergeReleaseAssets UP-TO-DATE
Task :app:processReleaseJavaRes NO-SOURCE
Task :app:generateJsonModelRelease UP-TO-DATE
Task :app:mergeReleaseJniLibFolders UP-TO-DATE
Task :app:mergeReleaseJavaResource UP-TO-DATE

Task :app:externalNativeBuildRelease
Build KidsLeader_armeabi-v7a
ninja: no work to do.
Build KidsLeader_arm64-v8a
ninja: no work to do.

Task :app:mergeReleaseNativeLibs UP-TO-DATE
Task :app:stripReleaseDebugSymbols UP-TO-DATE
Task :app:collectReleaseDependencies
Task :app:configureReleaseDependencies
Task :app:validateSigningRelease UP-TO-DATE
Task :app:signingConfigWriterRelease UP-TO-DATE
Task :app:bundleReleaseResources
Task :app:buildReleasePreBundle
Task :app:packageReleaseBundle
Task :app:signReleaseBundle
Task :app:bundleRelease

BUILD SUCCESSFUL in 12s
32 actionable tasks: 7 executed, 25 up-to-date
The system cannot find the file specified.
(unknown): E0200: Android build failed

9 m, 4.86 s

error

Try to clean your build folder using: uno clean and try to build again with: uno build android -c Release

build failed.I got same error

Android sdk config from .unoproj

“Android”:{

"SDK": {

"BuildToolsVersion": "28.0.3",

  "CompileVersion": 28,

  "MinVersion": 16,

  "TargetVersion": 28

    },

    "Architectures": {

“Release”: [“armeabi-v7a”, “arm64-v8a”]

        },

    "Key": {

        "Alias": "application",

        "AliasPassword": "xxxx",

        "Store": "release.keystore",

        "StorePassword": "xxxxxx",

    },

    "VersionCode": 6,

    "VersionName": "$(Version)",

    "Package": "com.xxxx.xxxx",

    "Icons": {

        "MDPI": "Icons/Android/icon@MDPI.png",

        "HDPI": "Icons/Android/icon@HDPI.png",

        "XHDPI": "Icons/Android/icon@XHDPI.png",

        "XXHDPI": "Icons/Android/icon@XXHDPI.png",

        "XXXHDPI": "Icons/Android/icon@XXXHDPI.png"

    },

    

},

does anyone have an idea?

Probably cos you gotta use newer build tools:

    "SDK": {
      "BuildToolsVersion": "29.0.2",
      "CompileVersion": 29,
      "MinVersion": 19,
      "TargetVersion": 29
    },

Or try to open the output project in the build folder that has been generated using Android Studio. And do make APK / aab release from Android Studio instead.

How can I take build from android studio.can you please provide steps for that?

I think its not android sdk problem.i installed latest sdk tools from android studio.
maybe path is missing from npm install -g fuse-sdk
Task :app:preBuild UP-TO-DATE
Task :app:preReleaseBuild UP-TO-DATE
Task :app:generateReleaseResValues UP-TO-DATE
Task :app:compileReleaseRenderscript NO-SOURCE
Task :app:generateReleaseResources UP-TO-DATE
Task :app:mergeReleaseResources UP-TO-DATE
Task :app:checkReleaseManifest UP-TO-DATE
Task :app:createReleaseCompatibleScreenManifests UP-TO-DATE
Task :app:mainApkListPersistenceRelease UP-TO-DATE
Task :app:processReleaseManifest UP-TO-DATE
Task :app:checkReleaseDuplicateClasses UP-TO-DATE
Task :app:generateReleaseBuildConfig UP-TO-DATE
Task :app:javaPreCompileRelease UP-TO-DATE
Task :app:compileReleaseAidl UP-TO-DATE
Task :app:processReleaseResources UP-TO-DATE
Task :app:compileReleaseJavaWithJavac UP-TO-DATE
Task :app:multiDexListRelease UP-TO-DATE
Task :app:transformClassesWithDexBuilderForRelease UP-TO-DATE
Task :app:mergeDexRelease UP-TO-DATE
Task :app:mergeReleaseShaders UP-TO-DATE
Task :app:compileReleaseShaders UP-TO-DATE
Task :app:generateReleaseAssets UP-TO-DATE
Task :app:mergeReleaseAssets UP-TO-DATE
Task :app:processReleaseJavaRes NO-SOURCE
Task :app:generateJsonModelRelease UP-TO-DATE
Task :app:mergeReleaseJniLibFolders UP-TO-DATE
Task :app:mergeReleaseJavaResource UP-TO-DATE

You can open Debug or Release folder (build\Android\Debug) using AndroidStudio.

Thanks a lot :pray: i generated aab from android studio.