quot;com.example is restrictedquot; when uploading APK to Play Store(“com.example 受到限制将 APK 上传到 Play 商店时)
问题描述
我正在尝试将我完成的 android 应用程序上传到 android 市场,但出现此错误:
I am trying to upload my finished android app to the android market and I am getting this error:
You need to use a different package name because "com.example" is restricted.
推荐答案
错误信息说明了一切.您需要使用自己的包名.包名是应用的标识.
The error message is telling it all. You need to use a package name of your own. The package name is the identitiy of the application.
要重命名包名,在 Eclipse 中右键单击项目资源管理器中的项目.然后 Android 工具 > 重命名应用程序包名称.然后输入新的包名.
To rename the package name, In eclipse right click on the project in project explorer. Then Android Tools > rename Aplication Package name. Then enter the new package name.
还要确保您正在尝试上传发布版本
Also make sure that you are trying to upload a release build
这篇关于“com.example 受到限制"将 APK 上传到 Play 商店时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:“com.example 受到限制"将 APK 上传到 Play 商店时
基础教程推荐
- 如何将图像从一项活动发送到另一项活动? 2022-01-01
- Play 商店的设备兼容性问题 2022-01-01
- iOS - UINavigationController 添加多个正确的项目? 2022-01-01
- UIImage 在开始时不适合 UIScrollView 2022-01-01
- navigationItem.backBarButtonItem 不工作?为什么上一个菜单仍然显示为按钮? 2022-01-01
- SwiftUI-ScrollViewReader的ScrollTo不滚动 2022-01-01
- 如何比较两个 NSDate:哪个是最近的? 2022-01-01
- Xcode UIView.init(frame:) 只能在主线程中使用 2022-01-01
- Android Volley - 如何动画图像加载? 2022-01-01
- 为什么姜饼模拟器方向卡在应用程序中? 2022-01-01
