Nachdem ich cd android und dann ./gradlewassembleDebug
durchgeführt habe, erhalte ich die folgende Fehlermeldung
Code: Select all
> Task :react-native-udp:processDebugManifest FAILED
Incorrect package="com.tradle.react" found in source AndroidManifest.xml: /Users/sunii/Desktop/apps/Project/node_modules/react-native-udp/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.tradle.react" from the source AndroidManifest.xml: /Users/sunii/Desktop/apps/Project/node_modules/react-native-udp/android/src/main/AndroidManifest.xml.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-udp:processDebugManifest'.
> A failure occurred while executing com.android.build.gradle.tasks.ProcessLibraryManifest$ProcessLibWorkAction
> Incorrect package="com.tradle.react" found in source AndroidManifest.xml: /Users/sunii/Desktop/apps/Project/node_modules/react-native-udp/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.tradle.react" from the source AndroidManifest.xml: /Users/sunii/Desktop/apps/Project/node_modules/react-native-udp/android/src/main/AndroidManifest.xml.
Aber es muss doch eine andere Möglichkeit geben, das zu beheben, nicht wahr?
Ich verwende „react-native“: „0.72.10“, und „expo“: „^49.0.23“,
Mobile version