Skip to content

Commit 53ccc9c

Browse files
chore: Update AndroidManifest.xml to support AGP > 8 (#244)
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. ``` I removed this line: `package="com.reactnativecommunity.clipboard` and the error went away.
1 parent 0cc14f3 commit 53ccc9c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.reactnativecommunity.clipboard">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
</manifest>

0 commit comments

Comments
 (0)