イオン性のアンドロイドアプリを構築しようとしています。私はこのチュートリアルの後に私の最初のイオンアプリを作成するCordova and Ionic | Android HTML5 App Development Tutorial です。私はLinuxのミント17.3で持っているオペレーティングシステムですが。イオンビルドエラー:解決できませんでしたcom.android.tools.build:gradle:1.5.0
最後のコマンド(sudo ionic build android)以外はすべて動作しています。私はそれがSSL Gradleの誤りかもしれないと仮定してgradle-trust-all
を使用して修正しようとしたが、それはまだ同じエラーを与えている
[email protected] ~/workspace/public_html/ionic/hellowWorld $ sudo ionic build android
You have been opted out of telemetry. To change this, run: cordova telemetry on.
Running command: /home/scoders/workspace/public_html/ionic/hellowWorld/hooks/after_prepare/010_add_platform_class.js /home/scoders/workspace/public_html/ionic/hellowWorld
add to body class: platform-android
ANDROID_HOME=/home/scoders/android-sdk-linux
JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
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:1.5.0.
Required by:
:android:unspecified
> Could not GET 'https://repo1.maven.org/maven2/com/android/tools/build/gradle/1.5.0/gradle-1.5.0.pom'.
> hostname in certificate didn't match: <repo1.maven.org> != <199.27.79.209>
* 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: 2.364 secs
Error: Error code 1 for command: /home/scoders/workspace/public_html/ionic/hellowWorld/platforms/android/gradlew with args: cdvBuildDebug,-b,/home/scoders/workspace/public_html/ionic/hellowWorld/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Pandroid.useDeprecatedNdk=true
まず:私は、次のエラー・ログを取得しています。
このエラーを解決する方法..?