Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/179.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android AAPT cruncher图像优化从密度桶中移除资源?_Android_Aapt - Fatal编程技术网

Android AAPT cruncher图像优化从密度桶中移除资源?

Android AAPT cruncher图像优化从密度桶中移除资源?,android,aapt,Android,Aapt,我用apktool反编译了我的APK,以在构建后检查应用程序的资源 我很惊讶,在反编译的源代码中找不到drawable mdpi文件夹,并且从drawable xhdpi和drawable hdpi中删除了很多图像资源 如果我在aapt工具中用 aaptOptions { cruncherEnabled = false } 然后我在Android Studio中添加了所有资源文件夹和资源。(下面的屏幕截图:左侧没有gradle中的选项,右侧禁用cruncher) 我正在使用24个rc2平台

我用apktool反编译了我的APK,以在构建后检查应用程序的资源

我很惊讶,在反编译的源代码中找不到drawable mdpi文件夹,并且从drawable xhdpi和drawable hdpi中删除了很多图像资源

如果我在aapt工具中用

aaptOptions {
 cruncherEnabled = false
 }
然后我在Android Studio中添加了所有资源文件夹和资源。(下面的屏幕截图:左侧没有gradle中的选项,右侧禁用cruncher)

我正在使用24个rc2平台工具

所以我的问题是。如果AAPT删除所有mdpi、xhdpi、hdpi资源并仅保留xxhdpi资源,那么创建所有mdpi、xhdpi、hdpi资源并将它们添加到项目中是否有意义