Skip to content

Failed to compile apk react-native 0.67.5 Gradle 8.0  #35737

@Franco832-boot

Description

@Franco832-boot

Description

Install the patch to avoid gradle error Gradle 8.0 and it keeps crashing. Using the android studio simulator it works but at compile time it fails.
I would like to know where the problem is
From already thank you very much

Version

0.67.5

Output of npx react-native info

Task :app:stripDebugDebugSymbols FAILED
w: Detected multiple Kotlin daemon sessions at build\kotlin\sessions

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:stripDebugDebugSymbols'.

NDK at C:\Users\Win10\AppData\Local\Android\Sdk\ndk\21.4.7075529 did not have a source.properties file

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

Steps to reproduce

https://reactnative.dev/docs/0.68/signed-apk-android#enabling-proguard-to-reduce-the-size-of-the-apk-optional

Snack, code example, screenshot, or link to a repository

OZ9a1

#3521

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