When it finds there are invalid chars in the name, it will continue to generate the apk with the adjusted name, right? Why not to stop and provide the advice to users to redefine their apps' name.