cesards / SuperImageView

Crop and Rounded Corners added to an ImageView.
MIT License
654 stars 111 forks source link

App crashes upon adding CropImageView dependency in build.gradle #20

Closed gamebusterz closed 6 years ago

gamebusterz commented 7 years ago

Adding the dependency compile 'com.cesards.android:cropimageview:1.0.2.1' to build.gradle(Module: app) causes RuntimeException. The App works fine on removing the dependency. Adding it again causes the app to crash as soon as it launches. I tried reproducing it three times and it occurred all the three times.

cesards commented 6 years ago

I'm not sure the problem is related to the library.

Check this out:

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setOnClickListener(android.view.View$OnClickListener)' on a null object reference

Anyway, I'm uploading a new version and I'll update the documentation. Hope the problem is fixed!