clipboard icon indicating copy to clipboard operation
clipboard copied to clipboard

chore: Update AndroidManifest.xml to support AGP > 8

Open kochavi-daniel opened this issue 1 year ago • 1 comments

Overview

When building with Gradle > 8 we get this error:

Execution failed for task ':@react-native-community_clipboard:processDebugManifest'.
> A failure occurred while executing com.android.build.gradle.tasks.ProcessLibraryManifest$ProcessLibWorkAction
   > Incorrect package="com.reactnativecommunity.clipboard" found in source AndroidManifest.xml: /node_modules/@react-native-community/clipboard/android/src/main/AndroidManifest.xml.
     Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
     Recommendation: remove package="com.reactnativecommunity.clipboard" from the source AndroidManifest.xml: node_modules/@react-native-community/clipboard/android/src/main/AndroidManifest.xml.

Test Plan

I removed this line: package="com.reactnativecommunity.clipboard and the error went away.

kochavi-daniel avatar May 20 '24 07:05 kochavi-daniel

Same issue

poojagirne avatar Jun 04 '24 12:06 poojagirne