如何排除所有 /res/raw/*.wav
文件收缩?
buildTypes {
release {
shrinkResources true
minifyEnabled true
}
}
最佳答案
/res/raw/keep.xml
:
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools"
tools:keep="*.wav"/>
关于android - 如何从 android shrinkResources 中排除资源?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45435215/