targetSdkVersion小于26的apk处理方法

问题描述

所有预安装的应用和所有由 OEM 安装的应用强烈建议以 SDK 26 (Oreo) 或更高版本为目标.
Google强烈建议立即将应用更新至面向SDK26版本.
目标 SDK 要求从Android Q起开始实施—只针对Android 9 and newer GMS Devices.
不符合目标 SDK要求的设备版本将被拒绝.

Test case Solution
Package[com.mediatek.atmwifimeta]
versionCode=1 minSdk=20 targetSdk=24
请自行去PMS上申请patch:

alps-mp-p0.mp1:ALPS04673559

alps-mp-p0.mp7:ALPS04685807

Package[com.android.wallpaper.holospiral]
versionCode=28 minSdk=14 targetSdk=14
packages/wallpapers/HoloSpiral/ is provided by Google , this is not MTK proprietary.
Also, google has removed this live wallpaper from Android N version.
Package [com.android.cts.priv.ctsshim]:
versionCode=27 minSdk=24 targetSdk=24
frameworks\base\packages\CtsShim\apk
属于google apk(不需要做改动)
Package [com.android.cts.ctsshim] :
versionCode=27 minSdk=24 targetSdk=24
frameworks\base\packages\CtsShim\apk
属于google apk(不需要做改动)
Package[com.android.cts.ctsshim] Package[com.android.cts.priv.ctsshim]

https://source.android.com/compatibility/cts/setup

属于google apk(不需要做改动)

CTS Shim apps

Android 7.0 includes the following pre-built apps (built from this source) which do not contain any code except for the manifest:

CTS uses these apps to test privileges and permissions. To pass the tests, you must preload the apps into the appropriate directories on the system image without re-signing them.

 Package[com.baidu.map.location]

versionCode=51 minSdk=9 targetSdk=25
vendor\mediatek\proprietary\packages\3rdparty\LBS\Baidu_NLP

 直接移除(移除方式见下方)
Package[com.android.htmlviewer]

packages/apps/HTMLViewe

 属于google apk(不需要做改动)

[com.baidu.map.location] 直接移除

解决方案

移除方式(不集成該apk)

具体方法:请参考图片

 

 

微信扫码打赏

作者: RESSRC

个人资源站

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据