Error:(4, 32) error: package android.hardware.camera2 does not exist -


while using camera2 android build camera preview tectureview api ,i got error :

error:(4, 32) error: package android.hardware.camera2 not exist

i target sdk 22 minimum sdk 14.

my device os android 4.4

change compilesdkversion 17 minimum 21 (recommended 23) in build.gradle file of opencv module. because android.hardware.camera2 added in api 21.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - How to Hide Date Menu from Datepicker in yii2 -