我在哪里可以找到microsoft-azure-storage.jar?

时间:2015-05-28 10:35:10

标签: android azure

我是Azure的新手, 我想导入com.microsoft.azure.storage。*, 这个类在“microsoft-azure-storage.jar”中,

请告诉我怎么弄这个我找不到任何指示。

1 个答案:

答案 0 :(得分:1)

只需用正确的答案(与评论中的链接相比)来关闭它:

首先,让我向您介绍有关Azure和SDK的信息。如果您访问azure.microsoft.com,则会有一个文档链接(靠近页面顶部),该链接将为您提供有关所有Azure功能的文档。还有一个下载链接,提供所有SDK的下载信息。在这里,您将看到Java下载的链接,适用于Windows,Mac和Linux(显示如何设置Maven依赖项)。 Java下还有一个额外的文档链接,您可以在其中找到更多信息,包括指向github的链接。 该页面上还有一个Android SDK下载。您将问题标记为,因此您可能会对此感兴趣。

假设您想直接跳转到github:所有Azure SDK都位于https://github.com/azure,包括各种Java SDK。 Azure存储SDK for Java位于https://github.com/azure/azure-storage-java。如repo的自述文件所示,您可以通过Maven,git clone + compile或zip安装。

的Maven:

<dependency>
    <groupId>com.microsoft.azure</groupId>
    <artifactId>azure-storage</artifactId>
    <version>2.2.0</version>
</dependency>

Git clone(并使用Maven编译):

git clone git://github.com/Azure/azure-storage-java.git
cd ./azure-storage-java/microsoft-azure-storage
mvn compile

Zip:下载最新的here并解压缩。