我正在使用nativescript創建應用程序。我有加Android平臺如下nativescript「安裝Android SDK平臺25」失敗
tns platform add android --sdk 22
因爲我想建立API級別22
當我構建應用程序我碰到下面的錯誤。
at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
"Install Android SDK Platform 25" failed.
從哪裏得到SDK平臺25? 我該如何克服這個問題?
另外,請務必提及如何爲特定的API級別構建。
謝謝。