Skip to content

Commit

Permalink
Update NativeModuleRegistryBuilder.java
Browse files Browse the repository at this point in the history
  • Loading branch information
vonovak authored Sep 16, 2019
1 parent 543420c commit 48d4d2f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ public void processPackage(ReactPackage reactPackage) {
+ name
+ " tried to override "
+ existingNativeModule.getClassName()
+ ". Check the getPackages() method in MainApplication.java, it might be that module is being created twice. If this was your intention, set canOverrideExistingModule=true");
+ ". Check the getPackages() method in MainApplication.java, it might be that module is being created twice. If this was your intention, set canOverrideExistingModule=true. "
+ "This error may also be present if the package is present only once in getPackages() but is also automatically added later during build time by autolinking. Try removing the existing entry and rebuild.");
}
mModules.remove(existingNativeModule);
}
Expand Down

0 comments on commit 48d4d2f

Please sign in to comment.