[英]How do I import gdax-Java into my android studio app
I downloaded the git hub for gdax-java to my MacBook.我将 gdax-java 的 git hub 下载到我的 MacBook。
I don't see any .jar file or a .aar file to import into my android studio app我没有看到任何 .jar 文件或 .aar 文件可以导入到我的 android studio 应用程序中
There is no gradle dependency listed in the repository存储库中没有列出 gradle 依赖项
How do I use this api in my android studio app?我如何在我的 android studio 应用程序中使用这个 api?
I even tried ./gradlew jar and I get this error Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)'.我什至尝试了 ./gradlew jar,但收到此错误无法定位平台:'Java SE 11' 使用工具链:'JDK 8 (1.8)'。
Why is this so difficult to implement?为什么实施起来如此困难?
Here is what I had to do.这是我必须做的。 https://dzone.com/articles/installing-openjdk-11-on-macos
https://dzone.com/articles/installing-openjdk-11-on-macos
Then the steps of ./gradlew build and ./gradlew jar worked and I could add the jar to the libs folder following these steps.然后 ./gradlew build 和 ./gradlew jar 的步骤起作用了,我可以按照这些步骤将 jar 添加到 libs 文件夹中。 How to add a jar in External Libraries in android studio
如何在android studio的外部库中添加jar
It would be nice if the ./gradlew steps would be indicated in the github如果 ./gradlew 步骤会在 github 中指出,那就太好了
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.