0
Ionicの実装で次のエラーが発生しました。このエラーを修正するにはどうすればよいですか?Ionic Androidビルドが例外で失敗しました
窓:10
イオン:2.2.3
コルドバ:SDKマネージャを見つけるあなたのAndroid SDKの中に、
:6.5.0
[email protected] MINGW64 /d/ionic/Morteza (master)
$ ionic run android
> [email protected] ionic:build D:\ionic\Morteza
> ionic-app-scripts build
ANDROID_HOME=C:\Users\Morteza\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_25
Subproject Path: CordovaLib
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not resolve com.android.tools.build:gradle:2.2.1.
Required by:
:android:unspecified
> Could not resolve com.android.tools.build:gradle:2.2.1.
> Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.1/gradle-2.2.1.pom'.
> Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.1/gradle-2.2.1.pom'.
> Connect to jcenter.bintray.com:443 [jcenter.bintray.com/75.126.118.188] failed: Connection timed out: connect
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 25.67 secs
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
とAndroidのAPI-> SDKプラットフォームマッチングバージョンをダウンロードするエラーメッセージを読みましたか?あなたのインターネット接続に問題があるようです。プロキシの背後にいますか? – jonrsharpe
そして、問題はインターネットだけでパッケージをダウンロードする必要はありませんし、私のエラーのために実行する – SMH