frostney / react-native-create-library

:notebook: Command line tool to create a React Native library with a single command
MIT License
1.45k stars 114 forks source link

Error: more than one library with package name 'com.reactlibrary' #45

Closed KjellConnelly closed 6 years ago

KjellConnelly commented 6 years ago

Hey guys, I've noticed after using react-native-create-library for more than one library, I'm getting this error message when building for android:

Error: more than one library with package name 'com.reactlibrary'

This is telling me that when you create the library, the library has the same package name. Can you fix this so it's unique next time? Also, where do I change this within my android code so it does work? Thanks!

yinghang commented 6 years ago

I can do a more detailed writeup, but in the meantime, take a look at this brief explanation!

maicki commented 6 years ago

With the PR merged from above we are preventing creating libraries with the default name now. I will close this issue, please reopen if you don't think it's resolved. Thanks!