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下面去查找。


目录
相关文章
|
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.
2404 0
|
7月前
|
缓存 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
108 2
|
7月前
|
iOS开发 Perl
解决Xcode15报错:DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS
解决Xcode15报错:DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS
295 1
|
8月前
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.
59 0
Perhaps you should add the directory containing libpcre.pc to the PKG_CONFIG_PATH
Perhaps you should add the directory containing libpcre.pc to the PKG_CONFIG_PATH
194 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
119 0
Package sqlite3 was not found in the pkg-config search path.add the directory containing `sqlite3.pc
Package sqlite3 was not found in the pkg-config search path.add the directory containing `sqlite3.pc
208 0
|
SQL Java 数据库连接
Could not find resource xxx/xxxx/xxx.xml报错解决
Could not find resource xxx/xxxx/xxx.xml报错解决
Could not find resource xxx/xxxx/xxx.xml报错解决
|
PHP
【laravel报错】ErrorException : include(/Users/blihou/Code/jz-exam/vendor/composer/../dingo/blueprint/s
【laravel报错】ErrorException : include(/Users/blihou/Code/jz-exam/vendor/composer/../dingo/blueprint/s
141 0
【laravel报错】ErrorException : include(/Users/blihou/Code/jz-exam/vendor/composer/../dingo/blueprint/s
|
Java Android开发
【错误记录】Android Studio 配置 AspectJ 报错 ( Failed to create Jar file C:\xxx\aspectjtools-1.8.10.jar. )
【错误记录】Android Studio 配置 AspectJ 报错 ( Failed to create Jar file C:\xxx\aspectjtools-1.8.10.jar. )
884 0
【错误记录】Android Studio 配置 AspectJ 报错 ( Failed to create Jar file C:\xxx\aspectjtools-1.8.10.jar. )