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

Execution failed for task ':app:processDebugResources' #10

Open
ramisalem opened this issue Nov 16, 2020 · 3 comments
Open

Execution failed for task ':app:processDebugResources' #10

ramisalem opened this issue Nov 16, 2020 · 3 comments

Comments

@ramisalem
Copy link

ramisalem commented Nov 16, 2020

Hi, I have installed the package and it worked on IOS but files in android with the folowing error message

The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build. 
This might happen in subprojects that apply the Kotlin plugins with the Gradle 'plugins { ... }' DSL if they specify explicit versions, even if the versions are equal.
Please add the Kotlin plugin to the common parent project or the root project, then remove the versions in the subprojects.
If the parent project does not need the plugin, add 'apply false' to the plugin line.
See: https://docs.gradle.org/current/userguide/plugins.html#sec:subprojects_plugins_dsl
The Kotlin plugin was loaded in the following projects: ':expo-error-recovery', ':react-native-intercom-native'

> Task :app:processDebugResources FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings
646 actionable tasks: 2 executed, 644 up-to-date

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     /Users/rami/.gradle/caches/transforms-2/files-2.1/3492866e2ca76c18a37e13e4d132bda0/jetified-intercom-sdk-base-8.3.0/AndroidManifest.xml:10:5-18:15: AAPT: error: unexpected element <queries> found in <manifest>.
         

* 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 53s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081****

@ramisalem ramisalem reopened this Nov 16, 2020
@mateioprea
Copy link
Owner

Hi,

Can you fork the repo and try to reproduce the error in the playground app so I can try to fix it? Thanks

@hentielouw
Copy link

Just had a similar issue and got it building by updating to classpath("com.android.tools.build:gradle:4.0.2") in android/build.gradle. (previously 3.5.3)

@ramisalem
Copy link
Author

@hentielouw Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants