gpt4 book ai didi

android - 段中的应用程序包名称

转载 作者:行者123 更新时间:2023-11-29 21:11:10 24 4
gpt4 key购买 nike

我在安装android应用程序包时遇到问题,为什么android必须有两段包名,为什么我不能使用单个名称作为包名称。

现在:“com.alert.myalert” 需要:“myalert”,在我的应用程序中我需要当我的应用程序安装在设备中时,它只显示我的应用程序名称,当用户必须检查 Settings->App->myalert 。这是我的问题,我现在无法显示 Settings->App->com.alert.myalert。请帮助我,在此先感谢。

最佳答案

你对此有解释here , 这只是一种约定,让您的包名称与您的域相反。

来自 SUN 公约:

The prefix of a unique package name is always written in all-lowercase ASCII letters and should be one of the top-level domain names, currently com, edu, gov, mil, net, org, or one of the English two-letter codes identifying countries as specified in ISO Standard 3166, 1981.

Subsequent components of the package name vary according to an organization's own internal naming conventions. Such conventions might specify that certain directory name components be division, department, project, machine, or login names.

关于android - 段中的应用程序包名称,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22783351/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com