Skip to content

Can't release APK with RN 0.46.0-rc.2 (BASH subsystem and windows CMD) #14733

@poupryc

Description

@poupryc

I have tried to release APK with RN 0.46.0-rc.2 on windows,

Windows (CMD)

[...]
:app:mergeReleaseResources UP-TO-DATE
:app:bundleReleaseJsAndAssets FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Failed to capture snapshot of input files for task 'bundleReleaseJsAndAssets' property '$1' during up-to-date check.
> Failed to create MD5 hash for file 'C:\Users\coren\Documents\Lab\test\node_modules\.bin\format-json'.

So I try on bash subsytem

Windows (BASH sub):

[...]
:react-native-vector-icons:prepareReleaseDependencies
:react-native-vector-icons:compileReleaseAidl FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-vector-icons:compileReleaseAidl'.
> java.lang.IllegalStateException: aidl is missing

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

BUILD FAILED

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions