Unity 3D导出安卓apk遇到的问题

时间:2024-03-21 11:34:48

Unity 3D导出安卓apk遇到的问题

Bundle Identifier has not been set up correctly
Please set the Bundle Identifier in the Player Setting. The value must follow the convention ‘com.YourCompanyName.YourProductName’ and can contain alphanumeric characters and underscore. Each segment must not start with a numeric charater or underscore.
请在播放器设置中设置捆绑标识符。值必须遵循惯例’com.YourCompanyName.YourProductName’并且可以包含字母数字字符和下划线。每个段不能以数字字符或下划线开头。
Unity 3D导出安卓apk遇到的问题

解决方法

  1. Player Setting—>Other Setting—>Identification—>Package Name需要修改,就如报错中提示的那样子改,改成“com.你的公司.你的项目名”这种格式。
    注意: “你的公司” 和 “你的项目名” 不能是以数字或者下划线开头
    Unity 3D导出安卓apk遇到的问题
    2.最好保持前后一致,虽然不知道这个有没有关系,但是设置成一样的可以导出。
    Unity 3D导出安卓apk遇到的问题
    Unity 3D导出安卓apk遇到的问题