Access denied finding property "camera.hal1.packagelist"

Amin Pinjari picture Amin Pinjari · Jan 15, 2018 · Viewed 17.6k times · Source

While using camera in service mobile screen is getting un-touchable(locked by transparent window ) and only below error is occuring

Access denied finding property "camera.hal1.packagelist"

what will be the reason and its solution? Please help..

Answer

Yipeng Zhang picture Yipeng Zhang · Oct 11, 2018

I was working with the OpenCV tutorial code for camera app on android. I encountered the same error, and after looking at the answers I indeed missed one permission.

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

Although the app doesn't save any data externally, without this permission, the access denied error occurs. Hope it helps.