Why camera permission error shows in some devices like mi phone when i already included in manifest file?

4242 views android
4

I just created a one simple camera app which takes picture and store into my storage, it works on my device(lenovoK3 note), and when I share it with some other devices like htc, Samsung it will work successfully but when I run on some mi phones it won't work so what is the reason behind this ? error image is given below. bug image

answered question

1 Answer

6

You should read up on Android permissions. The devices that don't crash are running older versions of Android and so don't require the user to accept them at runtime. https://developer.android.com/guide/topics/permissions/overview

posted this

Have an answer?

JD

Please login first before posting an answer.