问题描述
Android的文件指的Build.FINGERPRINT作为一种唯一地标识版本。我想知道这个属性是如何产生的。我编我的船上整体架构,它的默认设置为未知的。另一个问题是,如果市场使用该标识为某种验证?
Android documentation refers to Build.FINGERPRINT as a way to uniquely identify the build. I'd like to know how this property is generated. I'm compiling whole framework on my board and it's set by default to unknown. Another question is if Market uses this identifier as some kind of validation?
推荐答案
请参阅这里的Build.FINGERPRINT概述:
See here for an overview of Build.FINGERPRINT:
android.os.Build.FINGERPRINT:一个字符串 唯一标识此版本。 它应该是合理的 人类可读的。它必须遵循这个 模板:
$(BRAND)/$(PRODUCT)/$(DEVICE)/$(BOARD):$(VERSION.RELEASE)/$(ID)/$(VERSION.INCREMENTAL):$(TYPE)/$(TAGS)
$(BRAND)/$(PRODUCT)/$(DEVICE)/$(BOARD):$(VERSION.RELEASE)/$(ID)/$(VERSION.INCREMENTAL):$(TYPE)/$(TAGS)
例如: ACME / mydevice在/通用/通用:2.1 UPDATE1 / ERC77 / 3359:userdebug /测试键
For example: acme/mydevice/generic/generic:2.1-update1/ERC77/3359:userdebug/test-keys
指纹必须不包括 空间。如果包括其他领域 上面的模板有空格,它们 应替换使用ASCII 下划线(_)字符 指纹。
The fingerprint MUST NOT include spaces. If other fields included in the template above have spaces, they SHOULD be replaced with the ASCII underscore ("_") character in the fingerprint.
我知道,你需要有你的平台认证(这是的,包括提供自己的指纹,从而使市场只能显示这些应用程序,你的设备能够被许可使用市场之前运行)。
I do know that you do need to have your platform certified (which yes, includes providing your fingerprint so that Market can display only those apps that your device is able to run) before being licensed to use the Market.
这篇关于在Android上创建Build.FINGERPRINT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!