Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed #2514

Open
meAasifAli opened this issue Sep 25, 2024 · 3 comments
Open

build failed #2514

meAasifAli opened this issue Sep 25, 2024 · 3 comments

Comments

@meAasifAli
Copy link

info Opening app on Android...
info A dev server is already running for this project on port 8081.
info Installing the app...

Task :gradle-plugin:settings-plugin:checkKotlinGradlePluginConfigurationErrors
Task :gradle-plugin:shared:checkKotlinGradlePluginConfigurationErrors
Task :gradle-plugin:shared:compileKotlin UP-TO-DATE
Task :gradle-plugin:shared:compileJava NO-SOURCE
Task :gradle-plugin:shared:processResources NO-SOURCE
Task :gradle-plugin:shared:classes UP-TO-DATE
Task :gradle-plugin:shared:jar UP-TO-DATE
Task :gradle-plugin:settings-plugin:compileKotlin UP-TO-DATE
Task :gradle-plugin:settings-plugin:compileJava NO-SOURCE
Task :gradle-plugin:settings-plugin:pluginDescriptors UP-TO-DATE
Task :gradle-plugin:settings-plugin:processResources UP-TO-DATE
Task :gradle-plugin:settings-plugin:classes UP-TO-DATE
Task :gradle-plugin:settings-plugin:jar UP-TO-DATE
8 actionable tasks: 2 executed, 6 up-to-date

info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor

ERROR: autolinkLibrariesFromCommand: process cmd /c npx @react-native-community/cli config exited with error code: 1

FAILURE: Build failed with an exception.

  • Where:
    Settings file 'C:\Users\asif1\Desktop\base\android\settings.gradle' line: 3

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

ERROR: autolinkLibrariesFromCommand: process cmd /c npx @react-native-community/cli config exited with error code: 1

  • 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.

BUILD FAILED in 5s
info Run CLI with --verbose flag for more details.
Uploading Screenshot (1).png…

@szymonrybczak
Copy link
Collaborator

szymonrybczak commented Sep 25, 2024

hey! could you please run? and send over the output 🙏

npx @react-native-community/cli config

@meAasifAli
Copy link
Author

output of npx @react-native-community/cli config is :

error Failed to build the app: No package name found. We couldn't parse the namespace from neither your build.gradle[.kts] file at C:\Users\asif1\Desktop\base\node_modules\base\android\build.gradle nor your package in the AndroidManifest at C:\Users\asif1\Desktop\base\node_modules\base\android\app\src\main\AndroidManifest.xml.

Copy link

There hasn't been any activity on this issue in the past 3 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days.

@github-actions github-actions bot added the stale label Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants