Hi ALL :)
My application throws:
java.lang.NoSuchMethodError: android.hardware.Camera.getNumberOfCameras
on some Android phone. The exception is thrown by this code:
Display display = Display.getInstance();
boolean camera = display.hasCamera();
I made test for two cellular phones.
This phone throws the exception:
Samsung GT-S5570
Android 2.2.1
This phone executes the application without any issue:
HTC Desire XS
Android 4.0.4
HTC Sense 4.1
HTC SDK API 4.24
Configuration file codename_settings.properties has following option:
codename1.arg.android.min_sdk_version=8
Any ideas?
TIA,
Dmitry