Android Dalvik Verification in Eclair

僤鯓⒐⒋嵵緔 提交于 2019-12-02 05:28:30

Starting with Android 2.0 the Dalvik verifier is smarter about only checking classes that are actually used while running.

That said, the code you show here would only work if you never touch the CameraActivity class when running on older versions of the platform. Given that isn't what you are showing, an explanation may be that on some older builds of the platform that API was there but not yet available in the SDK.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!