We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
安卓发布时安全图被自动压缩,导致百川初始化失败,不知道大家有没有遇到这个问题。 我试过以下4个方法想保留安全图,但全部不起作用:
<?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:keep="@drawable/yw_1222_baichuan"/>
buildTypes { release { signingConfig signingConfigs.release minifyEnabled false//禁用混淆 shrinkResources false zipAlignEnabled true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } }
flutter build apk --no-shrink --no-sound-null-safety
gradle-7.5.1-all.zip com.android.tools.build:gradle:7.2.2
最后打包的资源仍然被混淆
The text was updated successfully, but these errors were encountered:
No branches or pull requests
安卓发布时安全图被自动压缩,导致百川初始化失败,不知道大家有没有遇到这个问题。
我试过以下4个方法想保留安全图,但全部不起作用:
<?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:keep="@drawable/yw_1222_baichuan"/>
flutter build apk --no-shrink --no-sound-null-safety
gradle-7.5.1-all.zip
com.android.tools.build:gradle:7.2.2
最后打包的资源仍然被混淆
![image](https://user-images.githubusercontent.com/7930908/201933970-35296f0c-a003-4696-b799-2a301ac07632.png)
The text was updated successfully, but these errors were encountered: