cordova - Ionic build failed with an exception -
i used proxy .i got error when tru run ionic build command.i put error message follow.
d:\myapp\myone>ionic build android running command: "c:\program files\nodejs\node.exe" d:\myapp\myone\hooks\after_p repare\010_add_platform_class.js d:\myapp\myone add body class: platform-android running command: cmd "/s /c "d:\myapp\myone\platforms\android\cordova\build.bat" " android_home=c:\users\rajitha\appdata\local\android\android-sdk java_home=c:\program files\java\jdk1.7.0_79 running: d:\myapp\myone\platforms\android\gradlew cdvbuilddebug -b d:\myapp\myon e\platforms\android\build.gradle -dorg.gradle.daemon=true failure: build failed exception. * went wrong: problem occurred configuring root project 'android'. > not resolve dependencies configuration ':classpath'. > not resolve com.android.tools.build:gradle:0.9.0. required by: :android:unspecified > not 'https://repo1.maven.org/maven2/com/android/tools/build/gr adle/0.9.0/gradle-0.9.0.pom'. > repo1.maven.org * try: run --stacktrace option stack trace. run --info or --debug option more log output. build failed total time: 27.08 secs
is error occur due proxy.how can solve one.thanks in advance.
Comments
Post a Comment