gradlew

Why there are multiple copies for the same version of gradle

时光总嘲笑我的痴心妄想 提交于 2019-11-27 01:42:50
问题 I have an android studio project, with the file gradle/wrapper/gradle-wrapper.properties configured as following. #Wed Apr 10 15:27:10 PDT 2013 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip And I have the 2.2.1-all version installed in my home directory. .gradle/wrapper/dists/gradle-2.2.1-all/c64ydeuardnfqctvr1gm30w53/gradle-2.2.1-all.zip

Android Studio: Plugin with id 'android-library' not found

允我心安 提交于 2019-11-26 21:35:59
I've been trying to get ActionBarSherlock to work and having some issue. One issue I've come across is the following message when trying to build it: Plugin with id 'android-library' not found Specifically: D:\Projects\Android\actionbarsherlock>D:\Projects\Android\gradlew --info build Starting Build Settings evaluated using empty settings script. Projects loaded. Root project using build file 'D:\Projects\Android\actionbarsherlock\build.gradle'. Included projects: [root project 'actionbarsherlock'] Evaluating root project 'actionbarsherlock' using build file 'D:\Projects\Android

How/when to generate Gradle wrapper files?

岁酱吖の 提交于 2019-11-26 12:41:47
I am trying to understand how the Gradle Wrapper works. In many source repos, I see the following structure: projectRoot/ src/ build.gradle gradle.properties settings.gradle gradlew gradlew.bat gradle/ wrapper/ gradle-wrapper.jar gradle-wrapper.properties My questions: How/when does one generate gradlew / gradlew.bat ? Are you supposed to generate them only one time when the project is first created, do you generate them every time you commit/push changes? And how are they generated? Same question above, but for the gradle/wrapper/* files ( gradle-wrapper.jar and gradle-wrapper.properties )?

Android Studio: Plugin with id 'android-library' not found

蹲街弑〆低调 提交于 2019-11-26 07:58:15
问题 I\'ve been trying to get ActionBarSherlock to work and having some issue. One issue I\'ve come across is the following message when trying to build it: Plugin with id \'android-library\' not found Specifically: D:\\Projects\\Android\\actionbarsherlock>D:\\Projects\\Android\\gradlew --info build Starting Build Settings evaluated using empty settings script. Projects loaded. Root project using build file \'D:\\Projects\\Android\\actionbarsherlock\\build.gradle\'. Included projects: [root

Android- Error:Execution failed for task ':app:transformClassesWithDexForRelease'

£可爱£侵袭症+ 提交于 2019-11-26 05:49:35
问题 The Problem is that i am able to run my app when i change to debug mode but it fails when i switch to release mode. Exception: FAILURE: Build failed with an exception. Execution failed for task \':app:transformClassesWithDexForRelease\'. com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process \'command \'

How/when to generate Gradle wrapper files?

时光毁灭记忆、已成空白 提交于 2019-11-26 03:04:19
问题 I am trying to understand how the Gradle Wrapper works. In many source repos, I see the following structure: projectRoot/ src/ build.gradle gradle.properties settings.gradle gradlew gradlew.bat gradle/ wrapper/ gradle-wrapper.jar gradle-wrapper.properties My questions: How/when does one generate gradlew / gradlew.bat ? Are you supposed to generate them only one time when the project is first created, do you generate them every time you commit/push changes? And how are they generated? Same

Android- Error:Execution failed for task ':app:transformClassesWithDexForRelease'

廉价感情. 提交于 2019-11-25 18:47:10
The Problem is that i am able to run my app when i change to debug mode but it fails when i switch to release mode. Exception: FAILURE: Build failed with an exception. Execution failed for task ':app:transformClassesWithDexForRelease'. com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1