gradlew

React Native : Could not find com.android.tools.build:gradle:2.2.3

断了今生、忘了曾经 提交于 2019-12-01 14:44:02
问题 I'm making an android app using react native and this is the error I'm getting : FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':react-native-fetch-blob'. > Could not resolve all artifacts for configuration ':react-native-fetch-blob:classpath'. > Could not find com.android.tools.build:gradle:2.2.3. Searched in the following locations: https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom https://jcenter.bintray

How to execute a command in windows cmd using Gradle?

会有一股神秘感。 提交于 2019-12-01 04:32:51
I am trying to execute this command using Gradle . .\build\build.exe parse /p 246 /o ".\strings.xml.bcg" /novalidate /l 1033 /sr "@LbaRoot@\settings\default\lss\default.config" "..\app\src\main\res\values\strings.xml" This works fine when I execute in command Line. I am trying to replicate the behaviour using Gradle task runLSBuild(type:Exec) { workingDir '../outer_build' //on windows: commandLine '.\\build\\build.exe','parse /p 246 /o ".\\strings.xml.bcg" /novalidate /l 1033 /sr "@LbaRoot@\\settings\\default\\lss\\default.config" "..\\app\\src\\main\\res\\values\\strings.xml"' } But this

How to execute a command in windows cmd using Gradle?

我的梦境 提交于 2019-12-01 02:23:36
问题 I am trying to execute this command using Gradle . .\build\build.exe parse /p 246 /o ".\strings.xml.bcg" /novalidate /l 1033 /sr "@LbaRoot@\settings\default\lss\default.config" "..\app\src\main\res\values\strings.xml" This works fine when I execute in command Line. I am trying to replicate the behaviour using Gradle task runLSBuild(type:Exec) { workingDir '../outer_build' //on windows: commandLine '.\\build\\build.exe','parse /p 246 /o ".\\strings.xml.bcg" /novalidate /l 1033 /sr "@LbaRoot@\

Intellij Idea not showing errors in Message Tool Window after Gradle build

こ雲淡風輕ζ 提交于 2019-11-30 17:26:49
Intellij Idea 14.1.2, Gradle 2.3 I have a project with few java subprojects. Gradle builds works as expected but Intellij Idea does not capture the output of it and does not show the Messages Tool Window where you can click on the error and go to the source file. Steps to reproduce: Create new gradle project Create new class with one method Introduce intentionally one error Build using Gradle tool window Expected result: Message Tool window will show up showing the error. Actual result: Output is shown in the Run tool window, but the Message window is not shown (it's menu item is not even

Error when compiling with gradle (can't find downloaded dependencies)

对着背影说爱祢 提交于 2019-11-30 15:42:44
I develop an app generation system that is regenerating apps by command line gradle compilation commands. In my windows server 2008, I'm facing a huge problem after updating to the last gradle version and gradle plugin version. When compiling I'm getting this errors: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-1\files-1.1\appcompat-v7-25.0.0.aar\e93435c34d5cae8b6677dcef529711a5\res\drawable-xxhdpi-v4\abc_text_select_handle_middle_mtrl_light.png: error: file not found. C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-1\files-1.1\appcompat-v7-25.0.0.aar

Difference between running lint via Android Studio menu and gradlew command-line

假装没事ソ 提交于 2019-11-30 11:17:11
When I run the following on a command line: ./gradlew -lint I get different results than if I choose the following menu option within Android Studio. Analyze->Inspect Code... Can anyone explain this? Is this normal? Should a prudent developer run both in order to find all potential problems with his/her project? In Android Studio you can customize what inspections are run via Preferences > Inspections; you may have some Lint inspections disabled, and not all run by default. Android Studio can also run a great number of non-Lint inspections. You are running two different tools. The command: $ .

Gradle build-info.xml not found for module app in Android Studio

笑着哭i 提交于 2019-11-30 02:57:52
Gradle build-info.xml not found for module app. Please make sure that you are using gradle plugin gradle:2.0.0-alpha or greater I'm using the gradle plug in gradle:2.0.0-beta2. I randomly get this warning and after this very often either the app is not updated or it crashes. It is enough to clean and rebuild to fix the issue. Is there any better way to fix it? Balki For me it happens on the Mac, but on Windows it works fine all the time. Ever since I updated Android Studio to version 2.0 beta, the issue was still present until official 2.0 Android Studio version. What helped was disabling

Docker cache gradle dependencies

末鹿安然 提交于 2019-11-30 02:56:27
I'm trying to deploy our java web application to aws elastic beanstalk using docker, the idea is to be able to run the container locally for development and testing and eventually push it up to production using git. I've created a base image that has tomcat8 and java8 installed, the image that performs the gradle builds inherit from this base image, speeding up build process. All works well, except for the fact that the inheriting application container that gets built using docker doesn't seem to cache the gradle dependencies, it downloads it every time, including gradlew. We build our web

Error when compiling with gradle (can't find downloaded dependencies)

折月煮酒 提交于 2019-11-29 23:06:29
问题 I develop an app generation system that is regenerating apps by command line gradle compilation commands. In my windows server 2008, I'm facing a huge problem after updating to the last gradle version and gradle plugin version. When compiling I'm getting this errors: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-1\files-1.1\appcompat-v7-25.0.0.aar\e93435c34d5cae8b6677dcef529711a5\res\drawable-xxhdpi-v4\abc_text_select_handle_middle_mtrl_light.png: error: file not found. C

Difference between running lint via Android Studio menu and gradlew command-line

拟墨画扇 提交于 2019-11-29 16:50:51
问题 When I run the following on a command line: ./gradlew -lint I get different results than if I choose the following menu option within Android Studio. Analyze->Inspect Code... Can anyone explain this? Is this normal? Should a prudent developer run both in order to find all potential problems with his/her project? 回答1: In Android Studio you can customize what inspections are run via Preferences > Inspections; you may have some Lint inspections disabled, and not all run by default. Android