我的AndroidStudio中没有可用的PreviewView IS?
我正在尝试使用PreviewView实现基本的相机应用程序。但是,在我的Android Studio中,未列出PreviewViews。关于如何找到它有什么建议吗?还是潜在的解决方法?
非常感谢, 亚历克斯
I am attempting to implement a basic camera application using a PreviewView. However, in my android studio, PreviewViews aren't listed. Any suggestions as to how to find it? Or potential workarounds?
Many thanks,
Alex
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要在 build.gradle 文件中添加相机视图依赖项,如下所示
You need to add camera-view dependency in your build.gradle file like this