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"
+
相关推荐
summerkissyou198734 分钟前
Android 16 架构图
android
神龙天舞20011 小时前
MySQL 备库为什么会延迟好几个小时
android·数据库·mysql
码农coding4 小时前
android12 systemUI 之锁屏
android
圆山猫4 小时前
[Virtualization](三):RISC-V H-extension 与 Guest 执行模式
android·java·risc-v
爱笑鱼5 小时前
Binder(七):getCallingUid() 读到的是谁?clearCallingIdentity() 又清掉了什么?
android
2501_9159090610 小时前
iOS 应用反调试技详解术 检测调试器的原理与防护实践
android·ios·小程序·https·uni-app·iphone·webview
Lvan的前端笔记11 小时前
AndroidX 完全入门指南
android·androidx
帅次11 小时前
Android 应用高级面试:Window 近1年高频追问 18 题
android·面试·职场和发展
总捣什么乱112 小时前
MySQL MySQL是怎么保证主备一致的?
android·mysql·adb
zzm62812 小时前
精读 HinDroid:基于异构信息网络的安卓恶意软件检测
android