Все сервисы Хабра
Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
Закрыть
Задать вопрос
aiduryagin
0
вклад
2
вопроса
0
ответов
0%
решений
Комментарии
Информация
Ответы
Вопросы
Комментарии
Подписки
Нравится
C чем может быть связана ошибка после выполнения ionic build?
aiduryagin
@aiduryagin
Автор вопроса
Пробовал 3 варианта. 1) Использовал просто jcenter(). Ошибка. 2) Использовал ваш первый вариант. Ошибка. 3) Ваш второй вариант поначалу что-то начал скачивать, но потом снова выбросил эксепшн.
(Required by:
android:CordovaLib:unspecified
> Could not HEAD '
https://repo1.maven.org/maven2/com/android/tools/b...
'.
> peer not authenticated
)
build.grandle
apply plugin: 'android'
buildscript {
repositories {
maven {
url "
repo1.maven.org/maven2
"
}
}
// Switch the Android Gradle plugin version requirement depending on the
// installed version of Gradle. This dependency is documented at
//
tools.android.com/tech-docs/new-build-system/versi...
// and
https://issues.apache.org/jira/browse/CB-8143
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
}
}
// Allow plugins to declare Maven dependencies via build-extras.gradle.
repositories {
maven {
url "
repo1.maven.org/maven2
"
}
}
...
Написано
более трёх лет назад
Войдите на сайт
Чтобы задать вопрос и получить на него квалифицированный ответ.
Войти через центр авторизации
Закрыть
Реклама
(Required by:
android:CordovaLib:unspecified
> Could not HEAD 'https://repo1.maven.org/maven2/com/android/tools/b...'.
> peer not authenticated
)
build.grandle
apply plugin: 'android'
buildscript {
repositories {
maven {
url "repo1.maven.org/maven2"
}
}
// Switch the Android Gradle plugin version requirement depending on the
// installed version of Gradle. This dependency is documented at
// tools.android.com/tech-docs/new-build-system/versi...
// and https://issues.apache.org/jira/browse/CB-8143
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
}
}
// Allow plugins to declare Maven dependencies via build-extras.gradle.
repositories {
maven {
url "repo1.maven.org/maven2"
}
}
...