Files
gfps/1.2.2+手机端环境搭建.md
2026-05-01 10:06:36 +08:00

155 lines
8.6 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 1.2.2 手机端环境搭建 {#手机端环境搭建}
:::: {.Section1}
`<style type="text/css">/**/
div.rbtoc1777598900336 {padding: 0px;}
div.rbtoc1777598900336 ul {margin-left: 0px;}
div.rbtoc1777598900336 li {margin-left: 0px;padding-left: 0px;}
/**/</style>`{=html}
::: {.toc-macro .rbtoc1777598900336}
- [1.手机需要连接google网络](#id-1.2.2手机端环境搭建-1.手机需要连接google网络)
- [2.手机不可以打开勿扰模式,不然可能看不到弹窗](#id-1.2.2手机端环境搭建-2.手机不可以打开勿扰模式,不然可能看不到弹窗)
- [3.检查手机是否打开Google Play服务通知](#id-1.2.2手机端环境搭建-3.检查手机是否打开GooglePlay服务通知)
- [4.检查google play 服务是否更新到最新的版本](#id-1.2.2手机端环境搭建-4.检查googleplay服务是否更新到最新的版本)
- [5.登陆google账号](#id-1.2.2手机端环境搭建-5.登陆google账号)
- [6 打开自动同步数据功能](#id-1.2.2手机端环境搭建-6打开自动同步数据功能)
- [7.检查Show notification是否打开](#id-1.2.2手机端环境搭建-7.检查Shownotification是否打开)
- [8.Setting界面打开蓝牙以及位置信息。](#id-1.2.2手机端环境搭建-8.Setting界面打开蓝牙以及位置信息。)
- [9.Enable debug mode ID](#id-1.2.2手机端环境搭建-9.EnabledebugmodeID)
- [10.Check Google Play Service version](#id-1.2.2手机端环境搭建-10.CheckGooglePlayServiceversion)
- [11.注册成为google beta tester内部测试账号已经注册过了这一步不需要如果是客户自己注册的Google账号需要提醒客户check](#id-1.2.2手机端环境搭建-11.注册成为googlebetatester内部测试账号已经注册过了这一步不需要如果是客户自己注册的Google账号需要提醒客户check)
:::
\
该测试至少要准备两只手机。测试手机建议使用Google pixel手机 Pixel 5+ is recommended. 请**务必确保**手机端有打开开发者选项 [https://developer.android.com/studio/debug/dev-options?hl=zh-cn](https://developer.android.com/studio/debug/dev-options?hl=zh-cn){.external-link rel="nofollow"} 
\
#### 1.手机需要连接google网络 {#id-1.2.2手机端环境搭建-1.手机需要连接google网络}
该网络必须可以登陆google的网站在测试前请先测试一下是否可以登录google的网站(**建议试试能不能打开youtube之类的**)。
#### 2.手机不可以打开勿扰模式,不然可能看不到弹窗 {#id-1.2.2手机端环境搭建-2.手机不可以打开勿扰模式,不然可能看不到弹窗}
![](media/1.2.2+手机端环境搭建/8961bf5217e5264df9f43b1e5dc19472.png)
#### 3.检查手机是否打开Google Play服务通知 {#id-1.2.2手机端环境搭建-3.检查手机是否打开GooglePlay服务通知}
Setting-\>(Apps&notification  or   Apps)应用和通知-\> See all apps -\>Google Play服务-\>通知-\>All Google Play services notifications, 开启(显示通知)
![](media/1.2.2+手机端环境搭建/0adfe8650d8c0daefd5a769e26f3d0b1.png)
\
#### 4.检查google play 服务是否更新到最新的版本 {#id-1.2.2手机端环境搭建-4.检查googleplay服务是否更新到最新的版本}
setting-\>(Apps&notification    or   Apps)应用和通知-\>See all apps-\>Google Play 服务-\>高级-\>商店, 点击 App details or google play界面会跳转到google play 商店,点击更新.
如果已经成为 beta tester, google play service可能会自动更新到最新的。
![](media/1.2.2+手机端环境搭建/4099155117e47e8fd6a2928139f023cf.png)
![](media/1.2.2+手机端环境搭建/02d69ad5e64edc68be395ec8424e3d77.png)
\
#### 5.登陆google账号 {#id-1.2.2手机端环境搭建-5.登陆google账号}
Settings\>Accounts   or  Seetings-\>Google(内部账号(不可给客户)
[[[[[Fast Pair Validator 测试 请使用 ]{style="color: rgb(0,0,0);"}]{style="color: rgb(23,43,77);"}]{style="color: rgb(255,0,0);"}]{style="color: rgb(0,0,0);"}]{style="color: rgb(255,0,0);"}[realsilbt8888@gmail.com](mailto:realsilbt8888@gmail.com){.external-link rel="nofollow"}[   ]{style="color: rgb(255,0,0);"}
[手动测试账号请参考 [[Google 账号 - BT_Market - WIKI (realtek.com)](https://wiki.realtek.com/pages/viewpage.action?pageId=394285307){rel="nofollow"} ]{style="color: rgb(23,43,77);"}]{style="color: rgb(255,0,0);"}
#### 6 打开自动同步数据功能 {#id-1.2.2手机端环境搭建-6打开自动同步数据功能}
由于GFPS的account key是存在google账号的云端的所以必须要登陆google账号并且需要打开自动同步数据功能
Settings\>Accounts
![](media/1.2.2+手机端环境搭建/804d309c95c25e78feb23f450d7755ca.png)
or
Seetings→Google:
![](media/1.2.2+手机端环境搭建/e93f5957349d40e509c2e561d161858d.png)![](media/1.2.2+手机端环境搭建/75f47b0f791e44a49a705a8576f20aee.png)![](media/1.2.2+手机端环境搭建/ea2aefeffbdf707acdd65a7a66083d1a.png)![](media/1.2.2+手机端环境搭建/307093c833475fc3c0876cd87a2d23a6.png)
#### 7.检查Show notification是否打开 {#id-1.2.2手机端环境搭建-7.检查Shownotification是否打开}
Settings\>Google\>(Devices & sharing)\>Devices(设置\>Google\>设备连接\>设备\>)
pixel 2xl:
![](media/1.2.2+手机端环境搭建/47fc85072a213d1ef683962c106e12a7.png)![](media/1.2.2+手机端环境搭建/04ad6633f70aaf5f2874183ab21105f2.png)
pixel 7:
![](media/1.2.2+手机端环境搭建/6145f25973da8c0950b116a685608f22.png)![](media/1.2.2+手机端环境搭建/acb641ca23621734850802d675256d78.png)![](media/1.2.2+手机端环境搭建/0afddbb13a88680ea12e60051fd70d3f.png)
\
#### 8.Setting界面打开蓝牙以及位置信息。 {#id-1.2.2手机端环境搭建-8.Setting界面打开蓝牙以及位置信息。}
\
#### 9.Enable debug mode ID {#id-1.2.2手机端环境搭建-9.EnabledebugmodeID}
The model ID provided to you is a debug mode ID. To enable it, go to Settings \> Google \> Devices & sharing \> Devices \> top right 3 dot menu to enable "Include debug results".
If the option "Include debug results" is missing in this page, please ensure Developer options in the phone is enabled.
or go to Settings \> Google \> Devices & sharing \> Devices \>"Include debug results" 
Settings \> Google \> Devices & sharing \> Devices \> top right 3 dot menu to enable "Include debug results"
![](media/1.2.2+手机端环境搭建/9e02ae63f1a480cd8aae5e995ec6292b.png)
or
Settings \> Google \> Devices & sharing \> Devices \>"Include debug results"
![](media/1.2.2+手机端环境搭建/a6eec7350b2c54e15ff34925a091b308.png)
[https://developer.android.com/studio/debug/dev-options?hl=zh-cn](https://developer.android.com/studio/debug/dev-options?hl=zh-cn){.external-link rel="nofollow"}
#### 10.Check Google Play Service version {#id-1.2.2手机端环境搭建-10.CheckGooglePlayServiceversion}
Purpose: To confirm we use right version of Fast Pair module for testing
Go to Settings \> Apps&notification  or Apps\>google play services \> advanced,  then check Google Play services version (It should be 20.XX.XX or higher).
![](media/1.2.2+手机端环境搭建/fdf003aa6f88c7bf2cfd73319f751c3f.png)
\
\
#### **11.注册成为google beta tester内部测试账号已经注册过了这一步不需要如果是客户自己注册的Google账号需要提醒客户check** {#id-1.2.2手机端环境搭建-11.注册成为googlebetatester内部测试账号已经注册过了这一步不需要如果是客户自己注册的Google账号需要提醒客户check}
[1. Google test group - BT_Market - WIKI](https://wiki.realtek.com/display/BTMKT/1.+Google+test+group){rel="nofollow"}
Sign up for the Google Play services beta program [https://play.google.com/apps/testing/com.google.android.gms](https://play.google.com/apps/testing/com.google.android.gms){.external-link rel="nofollow"}
join the Android Beta group at [https://www.google.com/android/beta](https://www.google.com/android/beta){.external-link rel="nofollow"} to get latest update via OTA
Finder/Find Hub testing program please Navigate to [https://play.google.com/apps/testing/com.google.android.apps.adm](https://play.google.com/apps/testing/com.google.android.apps.adm){.external-link rel="nofollow"}
\
可以登陆Google账号之后在以下链接查看是否有添加成功[我的群组](https://groups.google.com/my-groups){.external-link rel="nofollow"}
![](media/1.2.2+手机端环境搭建/cb73f9490ed6394cbc3076b4a20ab714.png)
需要注意的是:
![](media/1.2.2+手机端环境搭建/e2f389cdc0fd9e3536b611b068529f10.png)
如果没有权限添加FAE需要联系YingTsung (YT) Lin 请他发邮件给Google 让Google把客户注册的Google账号添加到Google的Test group。
\
::::