softotalss / BarcodeScanner

Barcode Scanner library for Java, Android with Zxing core
Apache License 2.0
4 stars 2 forks source link

ViewGroup is null #1

Open rsbydv opened 4 years ago

rsbydv commented 4 years ago

Here i am getting exception.at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.ViewGroup.addView(android.view.View)' on a null object reference

please initialize this

rsbydv commented 4 years ago

private ViewGroup mContentFrame; this line