java.util.regex.PatternSyntaxException: Syntax error U_REGEX_RULE_SYNTAX near index 1
str = bundle.getString("location").split("+");
改为
str = bundle.getString("location").split("\\+");
或者
str = bundle.getString("location").split("[+]");
时间: 2024-09-27 21:07:06