Урок 3. Создание AVD. Первое приложение. Структура Android-проекта.

Обсуждение уроков
Machestro
Сообщения: 1
Зарегистрирован: 07 фев 2018, 09:04

Re: Урок 3. Создание AVD. Первое приложение. Структура Andro

Сообщение Machestro » 07 фев 2018, 09:18

Всем привет! Прошу помощи. Только начал изучать разработку под андроид и возникла следующая проблема. Есть планшет Nexus 7 2012 WiFi, прошивка CyanogenMOD Android KitKat (4.4.4). Создаю новый пустой (Empty Activity) проект в Android Studio v 3.0.1, вообще ничего не меняю и пытаюсь запустить проект на устройстве - оно устанавливается и планшет переходит в ребут. Далее запускается очень много раз вылетает ошибка, что Trebuchet (это лаунчер) остановлен. Вообщем еле-еле удаляю приложение и всё становиться нормально. SDK установлены с версии 19 (4.4.4) по 26. Такой же проект на Samsung (android 6.0) запускается без проблем. В чём может быть проблема ума не приложу. Мне кажется, что это возможно как-то связано с движком тем Cyanogen а может и нет, так как пробовал прошивку ParanoidAndroid - та же беда. Прошу поставьте меня на путь истинный

GromRom
Сообщения: 2
Зарегистрирован: 18 мар 2018, 18:52

Re: Урок 3. Создание AVD. Первое приложение. Структура Andro

Сообщение GromRom » 18 мар 2018, 21:25

Доброго времени суток, форумчане!
Изучаю материал третьего урока. Не могу реализовать его.
Проект в Андройд-студии собирается, а запустить эмулятор - не могу - он стартует и надолго зависает со стартовой картинкой ОС. Измучился. Подскажите, пожалуйста.
androidStudio.jpg
androidStudio.jpg (304.62 КБ) 10000 просмотров
Характеристики эмулируемой ОС:


Name: Nexus_5X_API_27_HandMade

CPU/ABI: Google Play Intel Atom (x86)

Path: F:\Android\.android\avd\Nexus_5X_API_27_HandMade.avd

Target: google_apis_playstore [Google Play] (API level 27)

Skin: nexus_5x

SD Card: 100 MiB

hw.dPad: no

hw.lcd.height: 1920

runtime.network.speed: full

hw.accelerometer: yes

hw.device.name: Nexus 5X

vm.heapSize: 256

skin.dynamic: yes

hw.device.manufacturer: Google

hw.lcd.width: 1080

hw.gps: yes

hw.initialOrientation: Portrait

image.androidVersion.api: 27

hw.audioInput: yes

image.sysdir.1: system-images\android-27\google_apis_playstore\x86\

tag.id: google_apis_playstore

showDeviceFrame: yes

hw.camera.back: emulated

hw.mainKeys: no

AvdId: Nexus_5X_API_27_HandMade

hw.camera.front: emulated

hw.lcd.density: 420

avd.ini.displayname: Nexus 5X API 27 HandMade

hw.gpu.mode: auto

hw.device.hash2: MD5:bc5032b2a871da511332401af3ac6bb0

hw.ramSize: 1536

hw.trackBall: no

PlayStore.enabled: true

fastboot.forceColdBoot: no

hw.battery: yes

hw.cpu.ncore: 2

hw.sdCard: no

tag.display: Google Play

runtime.network.latency: none

hw.keyboard: yes

hw.sensors.proximity: yes

disk.dataPartition.size: 800M

hw.sensors.orientation: yes

avd.ini.encoding: UTF-8

hw.gpu.enabled: yes
emul.jpg
emul.jpg (33.85 КБ) 10000 просмотров

rline
Сообщения: 1
Зарегистрирован: 13 май 2018, 20:00

Re: Урок 3. Создание AVD. Первое приложение. Структура Andro

Сообщение rline » 13 май 2018, 20:21

Здравствуйте, уважаемые!
Возможно моя проблема уже разъяснялась на страницах форума, но я к сожалению не нашёл. Буду благодарен если укажите.
Итак в уроке 3 после того, как выбираем EmptyActivity и нажимаем кнопку Finish в окне Messages Grandle Sync я получаю следующие сообщения:

D:\android\AndroidStudioProjects\Androidlessons\app\build.gradle
Failed to resolve: com.android.support:appcompat-v7:27.+
Error:(27, 13)
Install Repository and sync project
Show in File
Show in Project Structure dialog

D:\android\AndroidStudioProjects\Androidlessons\p0031firstproject\build.gradle
Failed to resolve: com.android.support:appcompat-v7:27.+
Error:(29, 13)
Install Repository and sync project
Show in File
Show in Project Structure dialog

На вкладке app в самом верху написано "Grandle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly"
Не знаю насколько это критично, но думаю прежде чем продолжать нужно разобраться с этой ошибкой.

Что пытался сделать:
В меню Tools/Android/SDK Manager на вкладке SDK Platforms поставил галку напротив Android API 27
В меню File/Project Structure проверил значения полей Compile SDK version там стоит API27 и Build Tools Version там значение 27.0.3
После этого Tools/Android/Sync Project with Grandle Files
Всё это не помогает.

Скажу сразу я новичок не только в программировании под андроид но и в программировании вообще. Подскажите пожалуйста куда копать.

ротор
Сообщения: 2
Зарегистрирован: 24 май 2018, 13:05

Re: Урок 3. Создание AVD. Первое приложение.

Сообщение ротор » 24 май 2018, 17:53

Приветствую, форумчане!
Дочитал до 16-й страницы, решения моей проблемы пока не нашёл. Упёрся на 3-м уроке. Читаю ветку и вижу, что проблем много, но я стою и не понимаю, о чём идёт речь в коментах. Поэтому прошу помочь мне преодолеть препятствие и идти дальше.
Проблема в следующем. Как я понял из найденной информации, у меня проблема с Intel haxm. поставил галку в SDK Tools (Android SDK). Вроде чего-то скачалось, распаковалось, но с ошибками.
2018-05-24_173212.jpg
2018-05-24_173212.jpg (151.32 КБ) 9495 просмотров
В итоге в AVD менеджере показана проблема с CPU.
2018-05-24_174405.jpg
2018-05-24_174405.jpg (103.11 КБ) 9495 просмотров
Что ещё нужно для успешного запуска проекта?

ротор
Сообщения: 2
Зарегистрирован: 24 май 2018, 13:05

Re: Урок 3. Создание AVD. Первое приложение.

Сообщение ротор » 24 май 2018, 21:58

Как удалось выяснить, плохи мои дела.
2018-05-24_215158.jpg
2018-05-24_215158.jpg (161.35 КБ) 9493 просмотра
Есть ли альтернатива в таком случае? Или на программировании в Android Studio надо поставить точку?

Ischyk
Сообщения: 1
Зарегистрирован: 24 июн 2018, 10:08

Re: Урок 3. Создание AVD. Первое приложение. Структура Andro

Сообщение Ischyk » 24 июн 2018, 10:12

Здравствуйте. Столкнулся с проблемой установки HAXM. Ошибка выглядит следующим образом:
Android SDK is up to date.
Running Intel® HAXM installer
Invalid log path: "C:\Users\Алексей\AppData\Local\Temp\haxm_install_log45.txt"
‘Ёб⥬Ґ ­Ґ г¤ Ґвбп ­ ©вЁ гЄ § ­­л© Їгвм.
HAXM installation failed. To install HAXM follow the instructions found at: https://software.intel.com/android/arti ... er-windows

Делал все по инструкции, без каких либо отклонений от курса. И вот при открытии эмулятора программа просит скачать HAXM. и далее ошибка.

albertstudent
Сообщения: 4
Зарегистрирован: 10 янв 2017, 22:20

Re: Урок 3. Создание AVD. Первое приложение. Структура Andro

Сообщение albertstudent » 26 июн 2018, 23:40

Господа, помогите найти решение, уж весь гугл перерыл.
выскакивает ошибка Error:(29, 13) Failed to resolve: com.android.support:appcompat-v7:28.+
<a href="install.m2.repo">Install Repository and sync project</a><br><a href="openFile:E:/android/AndroidStudioProjects/Androidlessons/p0031firstproject/build.gradle">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
В списке "Select Run" не могу выбрать ни чего.
Копка "Run" не активна
Скриншот прилагаю
Вложения
Error 29.png
Error 29.png (185.05 КБ) 9218 просмотров


Максим_Зойкин
Сообщения: 1
Зарегистрирован: 29 окт 2018, 17:00

Re: Урок 3. Создание AVD. Первое приложение. Структура Andro

Сообщение Максим_Зойкин » 29 окт 2018, 17:04

Здравствуйте!

У меня проблема! Не могу запустить программу.

Помогите пожалуйста? :D
Вложения
Ошибка при запуске в студии программы.
Ошибка при запуске в студии программы.
2018-10-29_170234.jpg (515.04 КБ) 8103 просмотра

E_RUM
Сообщения: 1
Зарегистрирован: 25 апр 2019, 07:49

Re: Урок 3. Создание AVD. Первое приложение. Структура Andro

Сообщение E_RUM » 25 апр 2019, 07:55

При запуске возникают следующие ошибки:

9:53 Emulator: emulator: ERROR: x86_64 emulation currently requires hardware acceleration!

9:53 Emulator: Process finished with exit code 1

в чем проблема

gennadiy_stav
Сообщения: 3
Зарегистрирован: 22 ноя 2019, 21:22

Re: Урок 3. Создание AVD. Первое приложение. Структура Android-проекта.

Сообщение gennadiy_stav » 22 ноя 2019, 21:55

Здравствуйте!
Возможно, здесь была похожая проблема, но я не нашел. Пытаюсь запустить приложение на андроид эмуляторе, а он выдает ошибку:
Помогите, решить проблему плиз)
Вложения
форум.png
форум.png (426.57 КБ) 4152 просмотра

gennadiy_stav
Сообщения: 3
Зарегистрирован: 22 ноя 2019, 21:22

Re: Урок 3. Создание AVD. Первое приложение. Структура Android-проекта.

Сообщение gennadiy_stav » 22 ноя 2019, 21:58

Installation did not succeed.
The application could not be installed: INSTALL_PARSE_FAILED_NO_CERTIFICATES
APK signature verification failed. Вот что появляется в нижнем левом углу

gennadiy_stav
Сообщения: 3
Зарегистрирован: 22 ноя 2019, 21:22

Re: Урок 3. Создание AVD. Первое приложение. Структура Android-проекта.

Сообщение gennadiy_stav » 26 ноя 2019, 07:04

Никто не пишет, чат совсем заглох. Как будто не у кого нет проблем(

ivan03
Сообщения: 1
Зарегистрирован: 13 апр 2020, 17:59

Re: Урок 3. Создание AVD. Первое приложение. Структура Android-проекта.

Сообщение ivan03 » 13 апр 2020, 18:13

Доброго времени суток!
Подскажите, пожалуйста, как решить эту проблему, а то совсем уже запутался в этом.
Вот какую ошибку выдаёт:
ошибка.docx.png
ошибка.docx.png (80.55 КБ) 2461 просмотр

Аватара пользователя
Hardy
Сообщения: 1
Зарегистрирован: 29 апр 2020, 09:44

Re: Урок 3. Создание AVD. Первое приложение. Структура Android-проекта.

Сообщение Hardy » 29 апр 2020, 16:14

Не могу настроить виртуальную машину.
В биусе разрешение на создание виртуальной машины стоит.
Ubuntu 18.04 Материнка intel ( от старого сервера)
Выдает ошибку:
KVM is required to run this AVD
You CPU does not support required features (TV-x or SVM)
Unfortunately, your computer does not support hardware accelerated virtualization.
Here are some of you options:
1 Use physical device for testing
2 Develop on Windows/OSX computer with an intel processor that support VT-x or SVM
3 Develop on a linux computer that support VT-x or SVM
4 Use an Android Virtual Device based on an ARM system image

Что можете посоветовать?

Пока использую старенький Xiaomi. Но много лишних движений раздражает.
Особенно если учесть, что новичок и тестирую по каждому поводу и без повода.

Mr.Shtein
Сообщения: 1
Зарегистрирован: 15 сен 2020, 16:45

Re: Урок 3. Создание AVD. Первое приложение. Структура Android-проекта.

Сообщение Mr.Shtein » 15 сен 2020, 16:51

А какая у вас материнская плата. Если конечно еще актуально ))

dinaflox
Сообщения: 1
Зарегистрирован: 16 сен 2020, 19:50

Re: Урок 3. Создание AVD. Первое приложение. Структура Android-проекта.

Сообщение dinaflox » 16 сен 2020, 19:52

У меня не запускается приложение:
Пишет много а мне страшно:
Starting Gradle Daemon...
Gradle Daemon started in 1 s 406 ms

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'Androudlessons'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not download tink-1.3.0-rc2.jar (com.google.crypto.tink:tink:1.3.0-rc2)
> Could not get resource 'https://jcenter.bintray.com/com/google/ ... .0-rc2.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/3 ... MXM2UMTSFA'.
> Connection reset
> Could not download protobuf-java-3.10.0.jar (com.google.protobuf:protobuf-java:3.10.0)
> Could not get resource 'https://jcenter.bintray.com/com/google/ ... 3.10.0.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/1 ... MXM2UMTSFA'.
> Connection reset
> Could not download bcpkix-jdk15on-1.56.jar (org.bouncycastle:bcpkix-jdk15on:1.56)
> Could not get resource 'https://jcenter.bintray.com/org/bouncyc ... n-1.56.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/7 ... MXM2UMTSFA'.
> Connection reset
> Could not download bcprov-jdk15on-1.56.jar (org.bouncycastle:bcprov-jdk15on:1.56)
> Could not get resource 'https://jcenter.bintray.com/org/bouncyc ... n-1.56.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/9 ... MXM2UMTSFA'.
> Connection reset
> Could not download fastutil-7.2.0.jar (it.unimi.dsi:fastutil:7.2.0)
> Could not get resource 'https://jcenter.bintray.com/it/unimi/ds ... -7.2.0.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/7 ... MXM2UMTSFA'.
> Connection reset
> Could not download jimfs-1.1.jar (com.google.jimfs:jimfs:1.1)
> Could not get resource 'https://jcenter.bintray.com/com/google/ ... fs-1.1.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/c ... MXM2UMTSFA'.
> Connection reset
> Could not download guava-28.1-jre.jar (com.google.guava:guava:28.1-jre)
> Could not get resource 'https://jcenter.bintray.com/com/google/ ... .1-jre.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/3 ... MXM2UMTSFA'.
> Connection reset
> Could not download httpclient-4.5.6.jar (org.apache.httpcomponents:httpclient:4.5.6)
> Could not get resource 'https://jcenter.bintray.com/org/apache/ ... -4.5.6.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/c ... MXM2UMTSFA'.
> Connection reset
> Could not download httpcore-4.4.10.jar (org.apache.httpcomponents:httpcore:4.4.10)
> Could not get resource 'https://jcenter.bintray.com/org/apache/ ... 4.4.10.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/7 ... MXM2UMTSFA'.
> Connection reset
> Could not download kotlin-reflect-1.3.72.jar (org.jetbrains.kotlin:kotlin-reflect:1.3.72)
> Could not get resource 'https://jcenter.bintray.com/org/jetbrai ... 1.3.72.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/a ... MXM2UMTSFA'.
> Connection reset
> Could not download antlr4-4.5.3.jar (org.antlr:antlr4:4.5.3)
> Could not get resource 'https://jcenter.bintray.com/org/antlr/a ... -4.5.3.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/a ... MXM2UMTSFA'.
> Connection reset
> Could not download juniversalchardet-1.0.3.jar (com.googlecode.juniversalchardet:juniversalchardet:1.0.3)
> Could not get resource 'https://jcenter.bintray.com/com/googlec ... -1.0.3.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/c ... MXM2UMTSFA'.
> Connection reset
> Could not download gson-2.8.5.jar (com.google.code.gson:gson:2.8.5)
> Could not get resource 'https://jcenter.bintray.com/com/google/ ... -2.8.5.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/2 ... MXM2UMTSFA'.
> Connection reset
> Could not download jaxb-runtime-2.3.1.jar (org.glassfish.jaxb:jaxb-runtime:2.3.1)
> Could not get resource 'https://jcenter.bintray.com/org/glassfi ... -2.3.1.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/4 ... MXM2UMTSFA'.
> Connection reset
> Could not download kotlin-stdlib-1.3.72.jar (org.jetbrains.kotlin:kotlin-stdlib:1.3.72)
> Could not get resource 'https://jcenter.bintray.com/org/jetbrai ... 1.3.72.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/3 ... MXM2UMTSFA'.
> Connection reset
> Could not download proguard-base-6.0.3.jar (net.sf.proguard:proguard-base:6.0.3)
> Could not get resource 'https://jcenter.bintray.com/net/sf/prog ... -6.0.3.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/7 ... MXM2UMTSFA'.
> Connection reset
> Could not download jdom2-2.0.6.jar (org.jdom:jdom2:2.0.6)
> Could not get resource 'https://jcenter.bintray.com/org/jdom/jd ... -2.0.6.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/6 ... MXM2UMTSFA'.
> Connection reset
> Could not download commons-compress-1.12.jar (org.apache.commons:commons-compress:1.12)
> Could not get resource 'https://jcenter.bintray.com/org/apache/ ... s-1.12.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/2 ... MXM2UMTSFA'.
> Connection reset
> Could not download trove4j-20160824.jar (org.jetbrains.trove4j:trove4j:20160824)
> Could not get resource 'https://jcenter.bintray.com/org/jetbrai ... 160824.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/1 ... MXM2UMTSFA'.
> Connection reset
> Could not download commons-codec-1.10.jar (commons-codec:commons-codec:1.10)
> Could not get resource 'https://jcenter.bintray.com/commons-cod ... c-1.10.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/4 ... MXM2UMTSFA'.
> Connection reset
> Could not download FastInfoset-1.2.15.jar (com.sun.xml.fastinfoset:FastInfoset:1.2.15)
> Could not get resource 'https://jcenter.bintray.com/com/sun/xml ... 1.2.15.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/7 ... MXM2UMTSFA'.
> Connection reset

* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'Androudlessons'.
at org.gradle.configuration.project.LifecycleProjectEvaluator.wrapException(LifecycleProjectEvaluator.java:80)
at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:73)
at org.gradle.configuration.project.LifecycleProjectEvaluator.access$600(LifecycleProjectEvaluator.java:53)
at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject$1.run(LifecycleProjectEvaluator.java:109)
at org.gradle.internal.Factories$1.create(Factories.java:26)
at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:189)
at org.gradle.internal.work.StopShieldingWorkerLeaseService.withLocks(StopShieldingWorkerLeaseService.java:40)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withProjectLock(DefaultProjectStateRegistry.java:238)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withMutableState(DefaultProjectStateRegistry.java:232)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withMutableState(DefaultProjectStateRegistry.java:193)
at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.run(LifecycleProjectEvaluator.java:96)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:68)
at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:699)
at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:142)
at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:36)
at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:62)
at org.gradle.configuration.DefaultProjectsPreparer.prepareProjects(DefaultProjectsPreparer.java:61)
at org.gradle.configuration.BuildOperatingFiringProjectsPreparer$ConfigureBuild.run(BuildOperatingFiringProjectsPreparer.java:52)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.configuration.BuildOperatingFiringProjectsPreparer.prepareProjects(BuildOperatingFiringProjectsPreparer.java:40)
at org.gradle.initialization.DefaultGradleLauncher.prepareProjects(DefaultGradleLauncher.java:207)
at org.gradle.initialization.DefaultGradleLauncher.doClassicBuildStages(DefaultGradleLauncher.java:145)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:130)
at org.gradle.initialization.DefaultGradleLauncher.getConfiguredBuild(DefaultGradleLauncher.java:104)
at org.gradle.internal.invocation.GradleBuildController$2.execute(GradleBuildController.java:70)
at org.gradle.internal.invocation.GradleBuildController$2.execute(GradleBuildController.java:67)
at org.gradle.internal.invocation.GradleBuildController$3.create(GradleBuildController.java:85)
at org.gradle.internal.invocation.GradleBuildController$3.create(GradleBuildController.java:78)
at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:189)
at org.gradle.internal.work.StopShieldingWorkerLeaseService.withLocks(StopShieldingWorkerLeaseService.java:40)
at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:78)
at org.gradle.internal.invocation.GradleBuildController.configure(GradleBuildController.java:67)
at org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner.run(ClientProvidedPhasedActionRunner.java:62)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:63)
at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)
at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:39)
at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:51)
at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:45)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:45)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:50)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:47)
at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:80)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:47)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:31)
at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:42)
at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:28)
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:52)
at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:60)
at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:38)
at org.gradle.tooling.internal.provider.SessionScopeBuildActionExecuter.execute(SessionScopeBuildActionExecuter.java:68)
at org.gradle.tooling.internal.provider.SessionScopeBuildActionExecuter.execute(SessionScopeBuildActionExecuter.java:38)
at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:37)
at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:26)
at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43)
at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29)
at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:60)
at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:32)
at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:55)
at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:41)
at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:48)
at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:32)
at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:68)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:27)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:78)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:75)
at org.gradle.util.Swapper.swap(Swapper.java:38)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:75)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:82)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:52)
at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all artifacts for configuration ':classpath'.
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.rethrowFailure(DefaultConfiguration.java:1293)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.access$2300(DefaultConfiguration.java:140)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationArtifactCollection.ensureResolved(DefaultConfiguration.java:1780)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationArtifactCollection.getArtifacts(DefaultConfiguration.java:1752)
at org.gradle.composite.internal.CompositeBuildClassPathInitializer.execute(CompositeBuildClassPathInitializer.java:45)
at org.gradle.composite.internal.CompositeBuildClassPathInitializer.execute(CompositeBuildClassPathInitializer.java:32)
at org.gradle.api.internal.initialization.DefaultScriptClassPathResolver.resolveClassPath(DefaultScriptClassPathResolver.java:37)
at org.gradle.api.internal.initialization.DefaultScriptHandler.getScriptClassPath(DefaultScriptHandler.java:87)
at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.defineScriptHandlerClassScope(DefaultPluginRequestApplicator.java:210)
at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugins(DefaultPluginRequestApplicator.java:83)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:216)
at org.gradle.configuration.BuildOperationScriptPlugin$1$1.run(BuildOperationScriptPlugin.java:69)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.configuration.BuildOperationScriptPlugin$1.execute(BuildOperationScriptPlugin.java:66)
at org.gradle.configuration.BuildOperationScriptPlugin$1.execute(BuildOperationScriptPlugin.java:63)
at org.gradle.configuration.internal.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:49)
at org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:63)
at org.gradle.configuration.project.BuildScriptProcessor$1.run(BuildScriptProcessor.java:45)
at org.gradle.internal.Factories$1.create(Factories.java:26)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withMutableState(DefaultProjectStateRegistry.java:212)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withMutableState(DefaultProjectStateRegistry.java:193)
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:42)
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)
at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:35)
at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject$1.run(LifecycleProjectEvaluator.java:107)
... 107 more
Caused by: org.gradle.internal.resolve.ArtifactResolveException: Could not download tink-1.3.0-rc2.jar (com.google.crypto.tink:tink:1.3.0-rc2)
at org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver$RemoteRepositoryAccess.resolveArtifact(ExternalResourceResolver.java:518)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CachingModuleComponentRepository$ResolveAndCacheRepositoryAccess.resolveArtifact(CachingModuleComponentRepository.java:445)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.ErrorHandlingModuleComponentRepository$ErrorHandlingModuleComponentRepositoryAccess.lambda$resolveArtifact$15(ErrorHandlingModuleComponentRepository.java:181)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.ErrorHandlingModuleComponentRepository$ErrorHandlingModuleComponentRepositoryAccess.tryResolveAndMaybeBlacklist(ErrorHandlingModuleComponentRepository.java:237)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.ErrorHandlingModuleComponentRepository$ErrorHandlingModuleComponentRepositoryAccess.performOperationWithRetries(ErrorHandlingModuleComponentRepository.java:203)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.ErrorHandlingModuleComponentRepository$ErrorHandlingModuleComponentRepositoryAccess.resolveArtifact(ErrorHandlingModuleComponentRepository.java:179)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainArtifactResolver.resolveArtifact(RepositoryChainArtifactResolver.java:96)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.artifact.DefaultArtifactSet$LazyArtifactSource.create(DefaultArtifactSet.java:184)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.artifact.DefaultArtifactSet$LazyArtifactSource.create(DefaultArtifactSet.java:170)
at org.gradle.api.internal.artifacts.DefaultResolvedArtifact.getFile(DefaultResolvedArtifact.java:166)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.artifact.ArtifactBackedResolvedVariant$DownloadArtifactFile.run(ArtifactBackedResolvedVariant.java:148)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.access$1500(DefaultBuildOperationExecutor.java:49)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$ParentPreservingQueueWorker.execute(DefaultBuildOperationExecutor.java:444)
at org.gradle.internal.operations.DefaultBuildOperationQueue$WorkerRunnable.runOperation(DefaultBuildOperationQueue.java:231)
at org.gradle.internal.operations.DefaultBuildOperationQueue$WorkerRunnable.access$600(DefaultBuildOperationQueue.java:173)
at org.gradle.internal.operations.DefaultBuildOperationQueue$WorkerRunnable$1.create(DefaultBuildOperationQueue.java:210)
at org.gradle.internal.operations.DefaultBuildOperationQueue$WorkerRunnable$1.create(DefaultBuildOperationQueue.java:204)
at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:189)
at org.gradle.internal.operations.DefaultBuildOperationQueue$WorkerRunnable.runBatch(DefaultBuildOperationQueue.java:204)
at org.gradle.internal.operations.DefaultBuildOperationQueue$WorkerRunnable.run(DefaultBuildOperationQueue.java:178)
... 3 more
Caused by: org.gradle.api.resources.ResourceException: Could not get resource 'https://jcenter.bintray.com/com/google/ ... .0-rc2.jar'.
at org.gradle.internal.resource.ResourceExceptions.failure(ResourceExceptions.java:74)
at org.gradle.internal.resource.ResourceExceptions.getFailed(ResourceExceptions.java:57)
at org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor.copyToCache(DefaultCacheAwareExternalResourceAccessor.java:211)
at org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor.access$300(DefaultCacheAwareExternalResourceAccessor.java:56)
at org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor$1.get(DefaultCacheAwareExternalResourceAccessor.java:93)
at org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor$1.get(DefaultCacheAwareExternalResourceAccessor.java:85)
at org.gradle.cache.internal.ProducerGuard$AdaptiveProducerGuard.guardByKey(ProducerGuard.java:97)
at org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor.getResource(DefaultCacheAwareExternalResourceAccessor.java:85)
at org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver.downloadByCoords(DefaultExternalResourceArtifactResolver.java:139)
at org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver.downloadStaticResource(DefaultExternalResourceArtifactResolver.java:94)
at org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver.resolveArtifact(DefaultExternalResourceArtifactResolver.java:62)
at org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver$RemoteRepositoryAccess.resolveArtifact(ExternalResourceResolver.java:511)
... 27 more
Caused by: org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/3 ... MXM2UMTSFA'.
at org.gradle.internal.resource.transport.http.HttpClientHelper.performRequest(HttpClientHelper.java:99)
at org.gradle.internal.resource.transport.http.HttpClientHelper.performRawGet(HttpClientHelper.java:84)
at org.gradle.internal.resource.transport.http.HttpClientHelper.performGet(HttpClientHelper.java:88)
at org.gradle.internal.resource.transport.http.HttpResourceAccessor.openResource(HttpResourceAccessor.java:43)
at org.gradle.internal.resource.transport.http.HttpResourceAccessor.openResource(HttpResourceAccessor.java:28)
at org.gradle.internal.resource.transfer.DefaultExternalResourceConnector.openResource(DefaultExternalResourceConnector.java:56)
at org.gradle.internal.resource.transfer.ProgressLoggingExternalResourceAccessor.openResource(ProgressLoggingExternalResourceAccessor.java:38)
at org.gradle.internal.resource.transfer.AccessorBackedExternalResource.withContentIfPresent(AccessorBackedExternalResource.java:130)
at org.gradle.internal.resource.BuildOperationFiringExternalResourceDecorator$11.call(BuildOperationFiringExternalResourceDecorator.java:237)
at org.gradle.internal.resource.BuildOperationFiringExternalResourceDecorator$11.call(BuildOperationFiringExternalResourceDecorator.java:229)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
at org.gradle.internal.resource.BuildOperationFiringExternalResourceDecorator.withContentIfPresent(BuildOperationFiringExternalResourceDecorator.java:229)
at org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor.copyToCache(DefaultCacheAwareExternalResourceAccessor.java:209)
... 36 more
Caused by: java.net.SocketException: Connection reset
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:436)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:384)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:374)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.gradle.internal.resource.transport.http.HttpClientHelper.performHttpRequest(HttpClientHelper.java:141)
at org.gradle.internal.resource.transport.http.HttpClientHelper.performHttpRequest(HttpClientHelper.java:117)
at org.gradle.internal.resource.transport.http.HttpClientHelper.executeGetOrHead(HttpClientHelper.java:106)
at org.gradle.internal.resource.transport.http.HttpClientHelper.performRequest(HttpClientHelper.java:97)
... 54 more


* Get more help at https://help.gradle.org

CONFIGURE FAILED in 11s

Ответить