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

在使用Unity 3D导出安卓apk时遇到'Bundle Identifier'配置不正确的问题,需在Player Settings中修改Other Settings的Identification部分,确保Package Name符合'com.YourCompanyName.YourProductName'格式,并且各段不应以数字或下划线开头。修正这一问题后,应能成功导出apk。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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’并且可以包含字母数字字符和下划线。每个段不能以数字字符或下划线开头。
报错截图

解决方法

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值