如何在没有Google帐户的情况下安装条形码扫描库? [英] How to install the barcode scanning library without a google account?

查看:135
本文介绍了如何在没有Google帐户的情况下安装条形码扫描库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在不允许登录Google帐户的设备上安装Google Play服务的android-vision部分。传统上,android-vision库是通过Play商店下载的,是对Google Play的更新服务。

I would like to install the android-vision portion of google play services on devices that are not allowed to have a google account signed in. Traditionally, the android-vision library is downloaded through the play store as an update to google play services.

根据,程序包名称应为com.google.android.gms.vision.barcode。我使用adb列出了在我的根目录nexus设备上安装的所有软件包,这些设备已下载了条形码扫描库,但该软件包不在列表中。我希望自己拉出包裹,然后再分发。

According to this, the package name should be com.google.android.gms.vision.barcode. I used adb to list all packages installed on my rooted nexus device that has the barcode scanning library downloaded and the package was not in the list. I was hoping to pull the package itself and then distribute it.

感谢您的时间和精力。

推荐答案

对于任何Google服务,您都应在控制台上注册您的添加应用。

For any google service,you should register your add app at console.

如果您不想添加应用那么您可以将任何第三方API用于条形码。

If you don't want to add your app then you can use any third party API for barcode.

https ://github.com/zxing/zxing

这篇关于如何在没有Google帐户的情况下安装条形码扫描库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆