我不知道 url 在哪里: http://schemas.android.com/apk/res/android ?
有人可以让我知道这指向哪里吗?
为什么我们不能访问 xmlns:android
namespace for android xml 中提到的这个 URL?
最佳答案
您无法访问它,因为它是 URI
而不是 URL
,区别已得到很好的解释 here :
Uniform Resource Identifier (URI)
A Uniform Resource Identifier (URI) is a string of characters which identifies an Internet Resource.
The most common URI is the Uniform Resource Locator (URL) which identifies an Internet domain address. Another, not so common type of URI is the Universal Resource Name (URN).
因此,在某些情况下,您可能能够访问它并且它可能包含命名空间的描述。
关于android - http ://schemas. android.com/apk/res/android 这个 URL 指向哪里...?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38160788/