2022 年 11 月,针对 ARCore SDK 已弃用的摄像头方法移除
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
平台专用指南
2022 年 11 月,面向 AR 的 Google Play 服务将移除与 NDK 相机图片和元数据相关的已废弃方法。
在旧版 ARCore SDK 中使用受影响方法的应用将开始表现出不同的行为,并且可能会在用户更新面向 AR 的 Google Play 服务时崩溃。
如需详细了解此变更,请选择一个开发平台:
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eIn November 2022, Google Play Services for AR will remove deprecated methods related to NDK camera images and metadata, impacting apps using older ARCore SDKs.\u003c/p\u003e\n"],["\u003cp\u003eApps using affected methods may behave differently or crash when users update Google Play Services for AR.\u003c/p\u003e\n"],["\u003cp\u003ePlatform-specific guides are available for Android (Kotlin/Java), Android NDK (C), and Unity (AR Foundation) to help developers address these breaking changes.\u003c/p\u003e\n"]]],[],null,["# November 2022 deprecated camera methods removal for ARCore SDK\n\n**Platform-specific guides** \n\n### Android (Kotlin/Java)\n\n- [November 2022 breaking changes](/ar/develop/java/ndk-camera-deprecation)\n\n### Android NDK (C)\n\n- [November 2022 breaking changes](/ar/develop/c/ndk-camera-deprecation)\n\n### Unity (AR Foundation)\n\n- [November 2022 breaking changes](/ar/develop/unity-arf/ndk-camera-deprecation)\n\nIn November 2022, *Google Play Services for AR* will remove deprecated methods\nrelated to NDK camera images and metadata.\n\nApps using affected methods in older ARCore SDKs will start to behave\ndifferently and might crash when users update Google Play Services for AR.\n\nTo learn more about this change, select a development platform:\n\n- [Android (Kotlin/Java)](/ar/develop/java/ndk-camera-deprecation)\n- [Android NDK (C)](/ar/develop/c/ndk-camera-deprecation)\n- [Unity (AR Foundation)](/ar/develop/unity-arf/ndk-camera-deprecation)"]]