Ask Your Question

Device not found. Camera not supported.

asked 2012-11-23 06:22:03 -0500

Karl gravatar image

Hello again! I tried to run Sample1Java from OpenCV Samples on an emulator. I installed the OpenCV_2.4.3_Manager_2.0_armeabi.apk but my emulator screen displayed 'It seems that your device does not support camera(or it is locked). Application will be closed.' How to resolve this issue? (Setup and error below)

AVD Setup image description

Errorimage description

edit retag flag offensive close merge delete


I'm testing Sample2NativeCamera on a real device Galaxy S1, and unfortunately, I've got exactly the same problem as you mentioned here. Did u solve the problem already? If so, how?

Thanks Pei

jiapei100 gravatar imagejiapei100 ( 2012-12-20 01:22:20 -0500 )edit

Update AVD

Karl gravatar imageKarl ( 2012-12-20 08:03:10 -0500 )edit

3 answers

Sort by ยป oldest newest most voted

answered 2012-12-24 23:15:07 -0500

  1. Problem with Android 2.3.3 emulator has been fixed in 2.4. Fix will be included in OpenCV It will be published in a few days.
  2. Problem with Android 2.2 is not fixed. Android 2.2 emulator has known issue with camera: camera use non-standard for Android frame format YUV422sp. It is not supported by OpenCV library and examples.

The only solution is to use Android 2.3.3 emulator instead v 2.2.

edit flag offensive delete link more

answered 2012-12-21 08:59:36 -0500

I test OpenCV on Android 2.2 2.3.3 and 4.0.3. The Only configuration, that works for me is 4.0.3. It looks like a bug in OpenCV. I create issue here.

edit flag offensive delete link more

answered 2013-02-19 01:50:29 -0500

i have found error you can use android:versionCode="21" android:versionName="2.1" > instead of android:versionCode="1" android:versionName="1.0" > and <uses-sdk android:minsdkversion="8"/> <application android:allowbackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" &gt;="" <activity="" android:name="com.appliconic.testing.MainActivity" android:label="@string/app_name" android:screenorientation="landscape" android:configchanges="keyboardHidden|orientation"> <intent-filter> <action android:name="android.intent.action.MAIN"/>

            <category android:name="android.intent.category.LAUNCHER" />
<supports-screens android:resizeable="true"
                  android:anyDensity="true" />
 <uses-permission android:name="android.permission.CAMERA"/>

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

</manifest> remove targate sdk

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2012-11-23 06:22:03 -0500

Seen: 5,896 times

Last updated: Feb 19 '13