Android 7.0 GMS认证

声明:本系列博客内容出自互联网,由博主整理编辑。
##一、什么是GMS

-GMS全称为Google Mobile Service,即谷歌移动服务。GMS是Google开发并推动Android的动力,是Google提供的Mobile Device上的一系列应用服务。
-目前提供的服务包括Play Store, Gmail, YouTube, Chrome, Hangouts, Google+, Google Maps等。
-如果需要在Device上预置GMS应用,需要通过Google的认证,包括CTS、GTS测试以及Google自身的商务考量。
-谷歌GMS服务包括了搜索类、邮件服务类、联系人日历同步类、社交聊天类、地图导航类以及应用下载。可以说囊括了我们日常在手机上使用的几乎所有服务。由此可见,谷歌GMS服务是Android智能手机的核心。
-虽然现在有大量的应用,具备GMS服务的功能,但作为谷歌原生的移动应用服务,GMS预置的服务具有稳定性好、兼容性好以及更新及时的主要特点。

##二、环境搭建(CTS)
###手机端:
这里写图片描述
这里写图片描述
##三、PC端
▪OS: Ubuntu 10.4 (or latest)
http://www.ubuntu.org.cn/download
▪JDK: Linux x86 or Linux x64 (or latest
http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html
▪Android SDK: android-sdk_r20.0.1-linux (Linux i386 or latest)
http://developer.android.com/sdk/index.html
▪Android CDK: Compatibility Test Suite (CTS) / Compatibility Definition Document (CDD)
http://source.android.com/compatibility/downloads.html
▪ Udev configuration
Terminal

	sudo chmod a+rw /etc/udev/rules.d/51-android.rules

Add the below string in 51-android-rules(/etc/udev/rules.d/51-android.rules)

SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="2d01", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c03", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c02", MODE="0666"

Restart the udev device to update the configuration

sudo restart udev       

Restart the Ubuntu PC
Android device connect PC.
Terminal: lsusb


发布了14 篇原创文章 · 获赞 8 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/qwe749082787/article/details/78331522