keshavkaul / react-native-sketch-view

A React Native component for touch based drawing supporting iOS and Android.
MIT License
99 stars 47 forks source link

Android : more than one library with package name 'com.reactlibrary' #31

Open ajaykumarbl opened 6 years ago

ajaykumarbl commented 6 years ago

Hi guy’s, did anyone has the same issue? Building an app for Android with React-Native fails with this error : more than one library with package name com.reactlibrary. react-native": "0.55.4”

How to change the package name.

Thanks in advance.

FrickenHamster commented 6 years ago

I've been trying to fix this error for a while, and I think I pinpointed the issue to this plugin. I was able to get it to run before by building with android studio's green triangle button rather than commandline.

Once I figured out it was this plugin, I changed the package name in it's AndroidManifest and it worked.

I'm not very experienced with native android, but I'll probably make a pull request later to see if this fix can be implemented.

ajaykumarbl commented 6 years ago

Hi FrickenHamster, Thanks for reply. I've one more question, this is a great library for markup but there is no undo option available. There is a one "ERASER" option but it is again like a markup, do you know how to achieve this ??