Skip to content

> Text must not be null or empty #25479

Closed
@yjqz86

Description

@yjqz86

When I execute react-native run-android. I have the following:

FAILURE: Build failed with an exception.

  • Where:
    Script 'C:\Users\zenz\programs\test_app\node_modules@react-native-community\cli-platform-android\native_modules.gradle' line: 182

  • What went wrong:
    A problem occurred evaluating settings 'test_app'.

Text must not be null or empty

  • 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

After I try to make in file 'node_modules@react-native-community\cli-platform-android\native_modules.gradle:

def command = "node ./node_modules/.bin/react-native config"
to
def command = "./node_modules/.bin/react-native config"

It does not work for me. I need help

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugRan CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions