Closed mattijsf closed 8 years ago
This won't fix. The stubs are just declarations to allow you to use the APIs of your camera. These classes aren't available in the emulator however. That's why I'm building the framework around it which contains an alternative implementation for normal android devices. Until that's finished, you'll have to ditch the emulator and test everything on your camera.
Debugging / testing in emulator would be pretty much vital for development. I'll work around the limitation using interfaces / proxies for now where possible. Thanks for clarifying.
I'm not sure if there are already stubs available but as a test I tried to create a new instance of
DisplayManager
on the emulator. But got aNoClassDefFoundError
.This is my
build.gradle
Once I run the app in the emulator I get these stracktraces: