文章目录
- 问题
- 解决
问题
在MTK平台的Android12机柜上面,客户要求安装GMS。安装后,打开发现报"设备未经过play保护认证"问题,无法使用。
解决
路径:/build/make/tools/buildinfo.sh
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" ] ; thenfiecho "# end build properties"
+
+echo "ro.build.fingerprint=alps/Android/Android:$PLATFORM_VERSION_LAST_STABLE/$BUILD_ID/$BUILD_NUMBER:$TARGET_BUILD_TYPE/$BUILD_VERSION_TAGS"
+