I donβt know why it react-native linkcreates duplicate records in MainApplication.java(during import and in the getPackages function), but it app\build.gradleβs compile projectnot added to the record , but if I run the command again, I get the same message instead of the module already connected.
When I start react-native link, I get messages that the module was successfully connected on Android (duplicated), and on iOS it was already connected.

source
share