build-tools

Build tools update breaks my compile

白昼怎懂夜的黑 提交于 2019-11-29 22:22:58
问题 I updated Android Studio 2.0 Preview from 4 to 5 this morning. If I continue to build with: dependencies { classpath 'com.android.tools.build:gradle:2.0.0-alpha3' } this will still compile successfully. But if I move up to -alpha5 I get this error: Error:Execution failed for task ':app:compileReleaseJavaWithJavac'. java.io.FileNotFoundException: C:....\intermediates\exploded-aar\com.google.android.gms\play-services\8.4.0\jars\classes.jar (The system cannot find the path specified) 回答1: From

Android环境搭建遭遇Unsupported major.minor version 52.0

China☆狼群 提交于 2019-11-29 21:24:39
首先,个人在windows 10下配置Android的开发环境。由于之前在开发Java web,所以安装了eclipse,MyEclipse,jdk 1.7 等。由于希望开发 android 5.1,早在之前也有开发过Android,所以按着套路来。 老的套路是 eclipse + sdk + adt,由于去看了下google的android首页,看着android studio比较受推荐而且看起来很好用的样子(广告语:用更少的代码写更多的代码),所以准备同时安装 android studio尝试一下。 国内有很多站点可以下载android studio,如果去官网下载可能需要科学上网。而我很科学地上网了,下载速度几乎为0,则转到国内站点下载非latest版本,这里需要提到一点,最新版需要jdk1.8。 当我安装好sdk后,将其路径配置在android studio和eclipse下面,都先后出现了com/android/dx/command/Main : Unsupported major.minor version 52.0问题,所以我觉得极有可能是sdk的包选择有问题,而不是网上流传的换成jdk1.8l来解决,毕竟我这里都是新建项目,而且android studio 也没有jdk的限制。终于,可以说到重点了,在google 用英文搜索: 输入链接说明 SO上面看到了这个问答:

What server does ng serve use when using Angular CLI 1.6.0?

喜欢而已 提交于 2019-11-29 17:31:16
问题 What server does this Angular CLI command use, when using Angular CLI 1.6.0? ng serve Since webpack is now being used by the Angular CLI for the website bundling, does that mean ng-serve is using the webpack-dev-server (which is a Node.js Express server)? There is some indication in the following Q/A that ng serve possibly used to piggyback off a server used by Ember: What happens when you run ng serve? 回答1: Try ng eject This command will override your package.json and also generates a file

Clean Blank Android App fails to build - 'failed to find Build Tools revision 23.0.0 rc1'

前提是你 提交于 2019-11-29 14:04:08
问题 New to Android, Tried to build a clean 'Blank App' android project. I get the below error, which is confusing because I have version 24 installed using the SDK manager not sure why its looking for versoin 23. It doesn't give me any kind of line number to look at though, any suggestions? Thank you. Configuration on demand is an incubating feature. :app:preBuild UP-TO-DATE :app:preDebugBuild UP-TO-DATE :app:checkDebugManifest :app:preReleaseBuild UP-TO-DATE :app

Unable to compile Rust hello world on Windows: linker link.exe not found

别说谁变了你拦得住时间么 提交于 2019-11-29 02:16:23
问题 I have installed Rust on windows from Rust installation page. After installation I tried running the "hello world" program but got the following error. >cargo run Error Compiling helloworld v0.1.0 (C:\Users\DELL\helloworld) error: linker `link.exe` not found note: The system cannot find the file specified. (os error 2) note: the msvc targets depend on the msvc linker but `link.exe` was not found note: please ensure that VS 2013, VS 2015 or VS 2017 was installed with the Visual C++ option

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

血红的双手。 提交于 2019-11-28 09:29:18
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 - Data - ... I want: - CMakePredefinedTargets - ALL_BUILD - INSTALL - ... - MyTargets - SomeLibrary -

Android Studio 3.0: buildToolsVersion not found in gradle files

笑着哭i 提交于 2019-11-28 07:16:17
I recently installed new stable version of Android Studio (v3.0). Then created a new project and there was not any problem. But saw there is no buildToolsVersion field in the app-level build.gradle file. Even I searched all project files ( Ctrl Shift F ), but didn't find anything! What does this mean? And how can I determine what is the version of Build Tools in my app module? build.gradle (Project): // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools

Could not resolve all dependencies for configuration ':classpath'

独自空忆成欢 提交于 2019-11-28 05:14:22
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 systemProp.https.proxyUser=myusername systemProp.https.proxyPassword=password Here is my global build

Android Studio Gradle BuildTools Revision

99封情书 提交于 2019-11-28 04:38:17
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" defaultConfig { minSdkVersion 9 targetSdkVersion 17 } sourceSets { main { manifest.srcFile

Getting out of memory issue after updating buildToolsVersion '23.0.1' in Android studio

爷,独闯天下 提交于 2019-11-28 04:27:05
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 dont 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 translation error: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space Uncaught