【SC10003】Didn't find class _android.view.x_
问题描述
Didn't find class "android.view.x"

解决方案
如果你使用了shrinkResources true 有些资源文件可能会被混淆掉,这样需要将我们的资源文件keep出来
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}