android-gradle-plugin

fastlane cannot find gradlew file?

爷,独闯天下 提交于 2021-01-27 05:15:20
问题 Trying to get fastlane up and running for my Android project. I have the fastfile and appfile in my project directory, but when my lane executes the gradle action it fails with the following error: Couldn't find gradlew at path '/Users/MyUser/Documents/Project/Android/gradlew' Meanwhile, if I pull up that directory in Finder - the gradlew file is in fact present. No clue what my next step should be here.. anyone have any similar problems or suggestions? 回答1: I had the same issue, as I tried

Received status code 407 from server: Proxy Authentication Required

痴心易碎 提交于 2021-01-26 19:44:10
问题 After Updating Android Studio and Gradle i get below error. What i have tried: 1. I'm using a proxy and have tried automatic and manual proxy settings. check connection works and is successful, android sdk updates also shows but libraries and repositories not downloaded from google(), jcenter(), etc. 2. run as admin doesn't fix the problem. 3. the same proxy was working correctly before, i also tried other proxies which didn't work. 4. i am using windows 10, gradle 4.4, android studio 3.1. 5.

Received status code 407 from server: Proxy Authentication Required

六眼飞鱼酱① 提交于 2021-01-26 19:43:45
问题 After Updating Android Studio and Gradle i get below error. What i have tried: 1. I'm using a proxy and have tried automatic and manual proxy settings. check connection works and is successful, android sdk updates also shows but libraries and repositories not downloaded from google(), jcenter(), etc. 2. run as admin doesn't fix the problem. 3. the same proxy was working correctly before, i also tried other proxies which didn't work. 4. i am using windows 10, gradle 4.4, android studio 3.1. 5.

Received status code 407 from server: Proxy Authentication Required

两盒软妹~` 提交于 2021-01-26 19:42:31
问题 After Updating Android Studio and Gradle i get below error. What i have tried: 1. I'm using a proxy and have tried automatic and manual proxy settings. check connection works and is successful, android sdk updates also shows but libraries and repositories not downloaded from google(), jcenter(), etc. 2. run as admin doesn't fix the problem. 3. the same proxy was working correctly before, i also tried other proxies which didn't work. 4. i am using windows 10, gradle 4.4, android studio 3.1. 5.

Received status code 407 from server: Proxy Authentication Required

吃可爱长大的小学妹 提交于 2021-01-26 19:38:10
问题 After Updating Android Studio and Gradle i get below error. What i have tried: 1. I'm using a proxy and have tried automatic and manual proxy settings. check connection works and is successful, android sdk updates also shows but libraries and repositories not downloaded from google(), jcenter(), etc. 2. run as admin doesn't fix the problem. 3. the same proxy was working correctly before, i also tried other proxies which didn't work. 4. i am using windows 10, gradle 4.4, android studio 3.1. 5.

How to fix gradle build error A problem occurred configuring root project?

两盒软妹~` 提交于 2021-01-22 23:54:10
问题 Every time I try to build a project this happens. Android studio version 3.4 Gradle sync fails at configure build For some reason it can not get resource at the url. But I can download the file from browser. Caused by: org.gradle.api.resources.ResourceException: Could not get resource 'https://maven.google.com/com/android/tools/build/gradle/3.2.1/gradle-3.2.1.jar'. Full Error: org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'Web2App'. at org.gradle

How to fix gradle build error A problem occurred configuring root project?

匆匆过客 提交于 2021-01-22 23:48:10
问题 Every time I try to build a project this happens. Android studio version 3.4 Gradle sync fails at configure build For some reason it can not get resource at the url. But I can download the file from browser. Caused by: org.gradle.api.resources.ResourceException: Could not get resource 'https://maven.google.com/com/android/tools/build/gradle/3.2.1/gradle-3.2.1.jar'. Full Error: org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'Web2App'. at org.gradle

Picking a specific build type in a dependency

百般思念 提交于 2021-01-22 00:56:07
问题 Suppose I have an Android app with three build types: buildTypes { release { .... } optRelease { .... } debug { .... } } And I have a dependent module: dependencies { implementation project(':myDependency') } Suppose this dependency only has two build types (let's say debug and release ), and I want full control over which of my app's build types uses which of the dependency's build types. For example, I'd like my app's optRelease to use the library's release , and the app's release the use

Failed to resolve: support-fragment error when add google architecture component dependency

假如想象 提交于 2021-01-21 03:59:26
问题 I want to use Google architecture components in my app, but after updating android studio to version 3.1.1 when I add android.arch.lifecycle:extensions:1.1.1 dependency into app.gradle file, it will show Failed to resolve: support-fragment My gradle version is 4.4 This is app gardle: apply plugin: 'com.android.application' android { compileSdkVersion 27 defaultConfig { applicationId "ir.apptori.myapplication" minSdkVersion 17 targetSdkVersion 27 versionCode 1 versionName "1.0"

Generate signed apk fails with build\app\intermediates\flutter\profile\libs.jar (The system cannot find the path specified)

北慕城南 提交于 2021-01-20 16:21:51
问题 I am on android studio 4. Gradle is 6.1.1. And I created a new flutter project from android studio. Then I opened the project as an android project. There is such an option in Tools->Flutter. Which resulted in gradle sync. That was successful. But when I try to generate signed apk with my keys. I get this. error \path\to\my\project\build\app\intermediates\flutter\profile\libs.jar (The system cannot find the path specified) There is no profile directory at the given location. But there are