build-tools

Android Gradle Project upgrading build tools to 21.0.1: aapt throws Exception

孤街浪徒 提交于 2019-11-28 03:38:52
We have an android gradle project. Today I wanted to upgrade the android build tools version from 20 to 21.0.1, but now the aapt is failing. * What went wrong: Execution failed for task ':myproject-android:processDebugResources'. > com.android.ide.common.internal.LoggedErrorException: Failed to run command: c:\_DEVELOP\AndroidSDK\sdk\build-tools\21.0.1\aapt.exe package -f --no-crunch -I c:\_DEVELOP\AndroidSDK\sdk\platforms\android-16\android.jar -M D:\_MY_PROJECT\trunk\myproject_bin\gradle\build\re lease\myproject-android\intermediates\manifests\full\debug\AndroidManifest.xml -S D:\_MY_PROJECT

gem install json -v 1.7.3 gives 'Please update your PATH to include build tools'

这一生的挚爱 提交于 2019-11-28 03:18:29
When I run: rails new blog I get: Installing json (1.7.3) Gem::InstallError: The 'json' native gem requires installed build tools. Please update your PATH to include build tools or download the DevKit from 'http://rubyinstaller.org/downloads' and follow the instructions at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit' An error occurred while installing json (1.7.3), and Bundler cannot continue. Make sure that `gem install json -v '1.7.3'` succeeds before bundling. When I run: gem install json -v 1.7.3 I get: Please update your PATH to include build tools or download the

ant warning: “'includeantruntime' was not set”

廉价感情. 提交于 2019-11-27 16:37:58
I receive the following warning: [javac] build.xml:9: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds What does this mean? Ant Runtime Simply set includeantruntime="false" : <javac includeantruntime="false" ...>...</javac> If you have to use the javac -task multiple times you might want to consider using PreSetDef to define your own javac -task that always sets includeantruntime="false" . Additional Details From http://www.coderanch.com/t/503097/tools/warning-includeantruntime-was-not-set : That's caused by a misfeature

Define buildconfigfield for an specific flavor AND buildType

╄→尐↘猪︶ㄣ 提交于 2019-11-27 12:39:53
问题 I have 2 flavors, lets say Vanilla and Chocolate. I also have Debug and Release build types, and I need Vanilla Release to have a field true, while the other 3 combinations should be false. def BOOLEAN = "boolean" def VARIABLE = "VARIABLE" def TRUE = "true" def FALSE = "false" VANILLA { debug { buildConfigField BOOLEAN, VARIABLE, FALSE } release { buildConfigField BOOLEAN, VARIABLE, TRUE } } CHOCOLATE { buildConfigField BOOLEAN, VARIABLE, FALSE } I'm having an error, so I guess the debug and

failed to find Build Tools revision 21.1.1 - sdk up to date

喜夏-厌秋 提交于 2019-11-27 06:35:41
I´m running a linux android sdk installation and my new project needs Build tools 21.1.1 Somehow, this build tools do not exist, eventhough my sdk is up to date, but in the build-tools folder there is now android-4.4W folder android update sdk --no-ui My sdk/build-tools folder I´ve moved the content testwise to a 21.1.1 folder, but this isn´t recognized either. Is this a bug?How to I get the right build tools? What worked for me was: android list sdk -a Which showed me the following list: 1- Android SDK Tools, revision 24.0.2 2- Android SDK Platform-tools, revision 21 3- Android SDK Build

gem install json -v 1.7.3 gives 'Please update your PATH to include build tools'

扶醉桌前 提交于 2019-11-27 05:06:10
问题 When I run: rails new blog I get: Installing json (1.7.3) Gem::InstallError: The 'json' native gem requires installed build tools. Please update your PATH to include build tools or download the DevKit from 'http://rubyinstaller.org/downloads' and follow the instructions at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit' An error occurred while installing json (1.7.3), and Bundler cannot continue. Make sure that `gem install json -v '1.7.3'` succeeds before bundling. When I run

CMake: How do I change properties on subdirectory project targets?

余生长醉 提交于 2019-11-27 04:34:58
问题 I'm trying to organize the targets in my subproject (in this case poco), but I've come to find that properties can't be modified for ALIAS targets. I want the targets in my external project to be in their own folder, instead of sprawled out everywhere in the project tree (say the visual studio generator). Is there an easier way to add projects with my own properties? So instead of: - CMakePredefinedTargets - ALL_BUILD - INSTALL - ... - MyTargets - SomeLibrary - SomeExe - CppUnit - Crypto -

Could not resolve all dependencies for configuration ':classpath'

限于喜欢 提交于 2019-11-27 00:56:25
问题 I cant seem to get build tools for the latest gradle at all. I suspect its something to do with proxy setting for gradle. I have had a good look online but still cant seem to find a solution. I use gradle 2.1. I created gradle.properties file in my /home/user/.gradle folder with these setting. systemProp.http.proxyHost=proxy systemProp.http.proxyPort=80 systemProp.http.proxyUser=myusername systemProp.http.proxyPassword=password systemProp.https.proxyHost=proxy systemProp.https.proxyPort=80

Android Studio Gradle BuildTools Revision

放肆的年华 提交于 2019-11-27 00:33:43
问题 I have an Android Project in Android Studio 0.5.9 and Gradle is throwing this error: Error:The SDK Build Tools revision (17.0.0) is too low. Minimum required is 19.0.0 I have already installed SDK Build Tools Revision 19 from the SDK Manager and here is my build.gradle buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:0.10.+' } } apply plugin: 'android' repositories { mavenCentral() } android { compileSdkVersion 17 buildToolsVersion "19.0.0

Out of memory issue after updating buildToolsVersion '23.0.1' in Android studio

只愿长相守 提交于 2019-11-27 00:25:48
问题 I am getting out of memory issue very often after updating buildToolsVersion '22.0.1' to buildToolsVersion '23.0.1' I am really confused and don't know how to solve this issue, since this error showing only with buildTools version 23.0.1 . Whereas it is working fine when I change it to 22.0.1 . Please help me. I am posting the error which I am getting as follows, Uncaught translation error: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space Uncaught