Bots: Get rid of “warning: unmappable character for encoding ascii”
I’m using android tools to compile without Eclipse.
I started “ant debug” from command line compilation.
I’ve found a lot of instructions online on how to remove annoying warnings, but I can’t get any of them to work.
I’ve tried the -D option, I’ve tried adjusting build.* files randomly, I’ve tried exporting environment variables… Nothing.
I
guess some of these methods won’t work at all, while others might work, but I’ve been using them incorrectly. Everything is possible and I can’t stand it anymore: any advice on how to do it?
Solution
I’m having the same issue. That’s how I solved it :
When I start ant release
, there is this line in the output: [setup] Importing rules file: tools/ant/ant_rules_r3.xml
. I edited ant_rules_r3.xml
and replaced “ascii” with “UTF8”.