4

I am using image picker to capture image and was testing on emulator with SDK 30. I is always throwing exception no camera available and is working perfectly in real device.

manifest file

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.abc">
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.CAMERA" />
</manifest>
Yash Savsani
  • 167
  • 7

0 Answers0