I tried flutter doctor, clean, upgrade etc. I read everything i found but i couldn't fix this.
What I want : Sign my apk
I made a keystore file : key.jks and i did everything about this page; https://flutter.io/docs/deployment/android (just signing )
Problem is when i tried to build apk with
flutter build apk --release
I got an error
FAILURE: Build failed with an exception.
and the logfile error is
FormatException: FormatException: Bad UTF-8 encoding 0x4c (at offset 511)
So if dont change signingConfig signingConfigs.debug
to this signingConfig signingConfigs.release
there is no error.
Thanks for help.
I found the solution. In the keystore.proporties file storeFile like this :
storeFile=D:\key.jks
I did it like this because Windows use \
. But I changed it like this :
storeFile=D:/key.jks
And it works like a charm.