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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution failed for task ':app:processDebugManifest'. #367

Closed
ahmadalghalban opened this issue Dec 22, 2022 · 3 comments
Closed

Execution failed for task ':app:processDebugManifest'. #367

ahmadalghalban opened this issue Dec 22, 2022 · 3 comments
Labels
wontfix This will not be worked on

Comments

@ahmadalghalban
Copy link

馃悰 Bug Report

Execution failed for task ':app:processDebugManifest'.

Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
[com.facebook.android:facebook-common:15.2.0] /Users/shopyardshopyard/.gradle/caches/transforms-2/files-2.1/fa2ba5b6a25f3ccc8bff867bf8f50ded/AndroidManifest.xml:18:9-55 Error:
Missing 'package' key attribute on element package at [com.facebook.android:facebook-common:15.2.0] AndroidManifest.xml:18:9-55
[com.facebook.android:facebook-common:15.2.0] /Users/shopyardshopyard/.gradle/caches/transforms-2/files-2.1/fa2ba5b6a25f3ccc8bff867bf8f50ded/AndroidManifest.xml Error:
Validation failed, exiting
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/shopyardshopyard/Documents/GitHub/luliz-main/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

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

Manifest merger failed with multiple errors, see logs

To Reproduce

Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
[com.facebook.android:facebook-common:15.2.0] /Users/shopyardshopyard/.gradle/caches/transforms-2/files-2.1/fa2ba5b6a25f3ccc8bff867bf8f50ded/AndroidManifest.xml:18:9-55 Error:
Missing 'package' key attribute on element package at [com.facebook.android:facebook-common:15.2.0] AndroidManifest.xml:18:9-55
[com.facebook.android:facebook-common:15.2.0] /Users/shopyardshopyard/.gradle/caches/transforms-2/files-2.1/fa2ba5b6a25f3ccc8bff867bf8f50ded/AndroidManifest.xml Error:
Validation failed, exiting
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/shopyardshopyard/Documents/GitHub/luliz-main/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

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

Manifest merger failed with multiple errors, see logs

Expected Behavior

Bug don't work in android

Code Example

No code error when run app

Environment

@mikehardy
Copy link
Collaborator

Versions of things in use? That is: https://stackoverflow.com/help/how-to-ask

No one else has reported this, so I suspect there is something out of date in your local environment. Are your versions all up to date with current stale releases, and you are using JDK11 etc?

@stale
Copy link

stale bot commented Jan 23, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jan 23, 2023
@stale stale bot closed this as completed Jan 31, 2023
@connorbode
Copy link

For anyone else finding this issue, I was able to resolve by bumping my gradle version in android/build.gradle to 3.5.4:

buildscript {
  .. 
  dependencies {
    ..
    classpath("com.android.tools.build:gradle:3.5.4")
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants