MTK Android12 添加GMS后,报“设备未经过play保护认证“问题

文章目录

问题

复制代码
在MTK平台的Android12机柜上面,客户要求安装GMS。安装后,打开发现报"设备未经过play保护认证"问题,无法使用。

解决

路径:/build/make/tools/buildinfo.sh

xml 复制代码
diff --git a/build/make/tools/buildinfo.sh b/build/make/tools/buildinfo.sh
index 3f420d9..ac3abb5 100755 (executable)
--- a/build/make/tools/buildinfo.sh
+++ b/build/make/tools/buildinfo.sh
@@ -62,3 +62,6 @@ if [ -n "$BUILD_THUMBPRINT" ] ; then
 fi
 
 echo "# end build properties"
+
+echo "ro.build.fingerprint=alps/Android/Android:$PLATFORM_VERSION_LAST_STABLE/$BUILD_ID/$BUILD_NUMBER:$TARGET_BUILD_TYPE/$BUILD_VERSION_TAGS"
+
相关推荐
AI工具测评与分析29 分钟前
EhViewer安卓ios全版本类下载安装工具的完整路径解析
android·ios
非凡ghost1 小时前
Control Center 安卓版:个性化手机控制中心
android·智能手机·生活·软件需求
撩得Android一次心动2 小时前
Android 项目:画图白板APP开发(一)——曲线优化、颜色、粗细、透明度
android
月夜风雨磊10 小时前
Android NDK从r10c版本到r29版本的下载链接
android·gitee·android ndk
louisgeek10 小时前
Android MIUI 开启 Google Play 服务
android
独行soc11 小时前
2025年大模型安全岗的面试汇总(题目+回答)
android·人工智能·安全·面试·职场和发展·渗透测试
前行的小黑炭12 小时前
Android App:每次想写新项目锻炼一下,但苦于没有UI,那么这篇文章适合你~(适合基础小白锻炼)
android·kotlin
雨白14 小时前
压缩、序列化与哈希
android
安卓开发者15 小时前
RxJava 核心概念解析:构建响应式Android应用的基石
android·echarts·rxjava
叽哥15 小时前
flutter学习第 18 节:设备功能调用
android·flutter·ios