sandrios / sandriosCamera

Easy integration of camera for image and video capturing with Image Picker.
MIT License
187 stars 54 forks source link

Error with the theme #20

Closed MahmoudAmin39 closed 7 years ago

MahmoudAmin39 commented 7 years ago

When opening the camera for the first time (Before granting permissions) the program crash with this log message: Unable to start activity ComponentInfo{com.mypackagename.myappname/com.gun0912.tedpermission.TedPermissionActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

Note that when i grant the permissions from the App Settings the camera launches without that error