Status Update
Comments
uc...@google.com <uc...@google.com> #2
still here in r14
I believe there is an error in the bug description.
the Expected results would be a return value of false.
but what one gets is a true value instead.
it seems to affect all android versions.
interesting fact:
the "Camera Support" property (hw.camera) defaults to 'no'.
but yet every AVD I tried so far has a camera app and it is even working quite well.
just so as one would expect if the AVD would have hw.camera=yes.
I tried AVDs with explicitly turning off an on the camera support but they behaved exactly the same way.
this is quit frustrating if you want to write an app, that could optionally use a camera but also works on devices without a camera.
ok, there are few devices without camera but it would be nice to test what happens if the app is used on such a device.
I believe there is an error in the bug description.
the Expected results would be a return value of false.
but what one gets is a true value instead.
it seems to affect all android versions.
interesting fact:
the "Camera Support" property (hw.camera) defaults to 'no'.
but yet every AVD I tried so far has a camera app and it is even working quite well.
just so as one would expect if the AVD would have hw.camera=yes.
I tried AVDs with explicitly turning off an on the camera support but they behaved exactly the same way.
this is quit frustrating if you want to write an app, that could optionally use a camera but also works on devices without a camera.
ok, there are few devices without camera but it would be nice to test what happens if the app is used on such a device.
ra...@google.com <ra...@google.com> #3
To completely turn off camera emulation start the emulator with '-webcam off', and '-fake-camera off' options. In this case there will be no camera devices reported.
al...@google.com <al...@google.com>
sm...@google.com <sm...@google.com> #4
thanks, but could you be a little more verbose?
I usually start the emulators from the eclipse gui.
I tried:
android-sdk-linux_x86/tools/emulator-arm -avd nocam -qemu -webcam off -fake-camera off
and
android-sdk-linux_x86/tools/emulator-arm -avd nocam -webcam off -fake-camera off
but the options seem to be unknown either way.
thes are not listed in the -help
(got the command lines from the process list ;-) )
also there, there is no sign of the options:
http://developer.android.com/guide/developing/tools/emulator.html
I usually start the emulators from the eclipse gui.
I tried:
android-sdk-linux_x86/tools/emulator-arm -avd nocam -qemu -webcam off -fake-camera off
and
android-sdk-linux_x86/tools/emulator-arm -avd nocam -webcam off -fake-camera off
but the options seem to be unknown either way.
thes are not listed in the -help
(got the command lines from the process list ;-) )
also there, there is no sign of the options:
Description
all required information.
Studio Build: 3.1 RC 2
Version of Gradle Plugin: 3.1.0-rc02
Version of Gradle: 4.6
Version of Java: 1.8
OS:Mac OS 10.13.3
Quite a bit after repeatedly changing dependencies in gradle and building/syncing 10-20+ times Android Studio hangs until I force kill it. I don't think this is a new issue in 3.1 as I have noticed it before. We have a fairly large project with 100+ modules.