PRODUCT_AAPT_CONFIG

简介: 笔记

在开发中修改mk文件时不小心删除了一行代码:

PRODUCT_AAPT_CONFIG := ldpi mdpi small dpad

结果导致开机后SystemUI频繁报错,经过排查发现由于该行引起的,猜测应该是配置编译资源选项。

PRODUCT_AAPT_PREF_CONFIG := ldpi
PRODUCT_AAPT_CONFIG := mdpi xlarge hdpi xhdpilarge

修改PRODUCT_AAPT_CONFIG := ldpi那么会有限编译mdpi下的资源文件,如果mdpi目录下没有对应的文件才会去hdpi下面去查找。


目录
相关文章
|
2月前
|
缓存 iOS开发
Flutter run出现No Provisioning Profile was found for your project‘s Bundle Identifier or your device
Flutter run出现No Provisioning Profile was found for your project‘s Bundle Identifier or your device
33 2
|
2月前
【petalinux 2024.01】petalinux-build时module ‘plnx_vars‘ has no attribute ‘CopyDir‘错误
【petalinux 2024.01】petalinux-build时module ‘plnx_vars‘ has no attribute ‘CopyDir‘错误
25 0
|
3月前
AndroidStudio 3.1 The APK file app-debug.apk does not exist on disk.
AndroidStudio 3.1 The APK file app-debug.apk does not exist on disk.
18 0
|
Android开发 开发工具 IDE
Android gradle问题解决: This app has been built with an incorrect configuration. Please configure your build for VectorDrawableCompat
1. 问题描述: Android Studio在运行模拟器某些机型或者真机某些机型的时候发生闪退。 错误如下: Java.lang.RuntimeException: Unable to start activity ComponentInfo{com.
2350 0
Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: ERROR: APK pat
Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: ERROR: APK pat
358 0
|
Java iOS开发
Mac编译OpenJDK8:configure: error: Xcode 4 is required to build JDK 8, the version found was 10.1config
Mac编译OpenJDK8:configure: error: Xcode 4 is required to build JDK 8, the version found was 10.1config
127 0
|
开发工具 git
编译pluma:configure.ac:229: error: required file ‘pluma/mate-submodules/Makefile.in‘ not found
编译pluma:configure.ac:229: error: required file ‘pluma/mate-submodules/Makefile.in‘ not found
118 0
|
开发工具
Dex Loader] Failed to load D:\adt-bundle-windows-x86_64-20190307\sdk\build-tools\28.0.3\lib\dx.jar
Dex Loader] Failed to load D:\adt-bundle-windows-x86_64-20190307\sdk\build-tools\28.0.3\lib\dx.jar
100 0
|
开发工具
Failed to find Build Tools revision 25.0.2
Failed to find Build Tools revision 25.0.2
121 0
|
开发工具 Android开发
Failed to find Build Tools revision 28.0.3
Failed to find Build Tools revision 28.0.3
291 0
Failed to find Build Tools revision 28.0.3