[Android] Naming refine for packaging tool

The name can be any string that represents the name of the application
as it is usually displayed to the user. But string start with '@' or '?'
will be replaced by '_' by default.
* There's no replacement in most cases, so there's no point in calling the variable `replaced_name`.
* I couldn't figure out what you are trying to do here and why.
* Checking if `re.search().group()` raises `AttributeError` is definitely one of the worst ways of checking if a regular expression matches. Just see if it returns `None`.