When building my project in Android Studio by executing the Gradle release task, I get the following error:
error: unmappable character for encoding windows-1252
* usage: app:behavior_saveFlags=ÔÇ?hideable|skipCollapsedÔÇ?
^
It doesn't break the build or doesn't seem to cause any bugs so far from what I know of, however I would like to find out what's causing this issue.
The error seems to be triggered by some of the generated comment blocks in R.java:
/**
* Behavior properties will be saved and restored by evaluating each flag.
* usage: app:behavior_saveFlags=”hideable|skipCollapsed”
* <p>Must be one or more (separated by '|') of the following constant values.</p>
My configuration:
You probably have a config for encoding in the android compileOptions in your build.gradle
Look for encoding = 'Cp1252' and remove it.
android
{
compileOptions {
encoding = 'Cp1252'
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With