Android Q 添加GMS包

Android Q 添加GMS包
android
1、下载并添加到源码中,如:alps/vendor/partner_gms:
2、修改项目配置,device/mediateksample(用什么cpu就是什么目录)/k80_bsp(projectname)/ProjectConfig.mk:

MTK_GAUGE_VERSION = 30
MTK_SWIP_WMAPRO = no
BUILD_AGO_GMS = no
+# add for gms start
+BUILD_GMS = yes
+# add for gms end
MTK_RCS_UA_SUPPORT = no
MTK_GPU_VERSION = mali bifrost r20p0
MTK_GPU_COMMON_DVFS_SUPPORT = yes
3、device/mediateksample(用什么cpu就是什么目录)/k80_bsp(projectname)/device.mk,把gms.mk加入到项目编译中

+# add for gms start
+# GMS interface
+ifdef BUILD_GMS
+ifeq ($(strip $(BUILD_GMS)), yes)

  • ifeq ($(strip $(BUILD

你可能感兴趣的:(MTK方案,android)