Unity打包成安卓安装包时出现:Bundle Identifier has not been set up correctly错误

原因

出现这个问题主要是player setting里面的other setting 下面的identification里面的Package name 没有按照规定命名。
Unity打包成安卓安装包时出现:Bundle Identifier has not been set up correctly错误

命名规则

命名规则为:com.CompanyName.ProductName。其中CompanyName和ProductName分别对应Inspector 下面的Company Name 和Product Name
Unity打包成安卓安装包时出现:Bundle Identifier has not been set up correctly错误

结果

把Package name按照命名规则来命名,之后再Building,发现问题解决