build.gradle

Android build gradle failing, Error app:transformClassesWithMultidexlistForDebug'

亡梦爱人 提交于 2019-12-13 08:38:57
问题 Error Log Error:Execution failed for task ':app:transformClassesWithMultidexlistForDebug'. java.io.IOException: Can't write [D:\Android\testapp\app\build\intermediates\multi-dex\debug\componentClasses.jar] (Can't read [C:\Users\Code Nemesis.gradle\caches\transforms-1\files-1.1\support-core-ui-27.1.0.aar\5ded4fc43c89c2e4a62253c7f0400fc3\jars\classes.jar(;;;;;;**.class)] (Duplicate zip entry [classes.jar:android/support/design/widget/CoordinatorLayout$Behavior.class])) Gradle apply plugin: 'com

Android API 26 Platform not found, package not available for download

心不动则不痛 提交于 2019-12-13 08:36:00
问题 This occurred after I upgraded my android studio. I've attempted all similar answers on stack overflow, and a few other obscure forums, but I'm not getting anywhere with this error and I've been at it for 6 hours. I've monkeyed around with the sdk tools manager as well, but I'm not getting anywhere. Oh, and that maven thing is new, tried it from a similar answer. Here is my gradle file: android { compileSdkVersion 26 buildToolsVersion "26.0.0" defaultConfig { applicationId "com.loredylore

Android Studio Gradle Configuration with name 'default' not found using library project shinobicharts

删除回忆录丶 提交于 2019-12-13 08:16:12
问题 settings.gradle : include ':app' include ':app:libraries:shinobicharts-android-library' build.gradle : apply plugin: 'com.android.application' android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { applicationId "com.example.rohit2906.myhistogram" minSdkVersion 11 targetSdkVersion 21 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile

establishing parse connection with a sample android activity. Error:Execution failed for task ':app:dexDebug'

谁都会走 提交于 2019-12-13 07:17:09
问题 hi i am trying to establish a connection with parse.com i am new to android programming and i have issues with building the gradle. i tried various trouble shooting methods but in vain. i got to know may be because i might be using two libraries the problem may arise . but in fact i included only ONE PARSE-1.10.3 .jar file. in the library folder i followed the instructions of this gentleman though the voice not being clear, he was clear enough to follow his guidelines. apply plugin: 'com

Android studio hang on “Gradle build running” on windows 7 machine

给你一囗甜甜゛ 提交于 2019-12-13 07:14:34
问题 I have an app that I am working on in Android studio and I have updated Android studio yesterday. Now when I open Android-Studio it hangs on "Gradle Build running" and I have all my R. red for almost an hour. I am running windows 7 64-bit and have around a dozen aapt.exe processes open. What I have tried so far, Exit and restart AS Invalidate Caches and Restart File->Settings->Build, Execution, Deployment->Gradle check/uncheck Offline work all to no avail. Can someone point me a solution? 回答1

How do I get different icons for the two versions of my GPS app generated via gradle build variants?

三世轮回 提交于 2019-12-13 07:07:24
问题 I want to have ONE Android Studio (AS) 1.1.0 project create TWO APK files: one for pay version and one for free version of my Google Play Store (GPS) app. Using gradle build variants ("flavors"). I'm VERY close. I have uploaded from one AS project both versions--free and pay. The only relatively-minor problems: I can't make the two versions have different icons and I can't make the action bar display different titles for the different apps. Since we're dealing with flavors, there are three

Visual Studio 2015 - Apache Cordova Build Error

醉酒当歌 提交于 2019-12-13 06:55:48
问题 I am using visual studio 2015 in windows 8. I created a hybrid app when i tried to build the project i get following error .am running in vs android emulator kitkat 5.5" .but when i am running in ripple it is working sometime.so please refer following error and help me to solve the problem. 1>------ Build started: Project: nidhinhybrid, Configuration: Debug Android ------ 1> ------ Ensuring correct global installation of package from source package directory: E:\VISUAL STUDIO SETUP\COMMON7

Java finished with non-zero exit value 1 - Android Gradle

妖精的绣舞 提交于 2019-12-13 06:01:49
问题 Gradle Build : Working fine. Rebuild Project: Working fine. Clean Project: Working Fine. Run: It shows following: Error: Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_71\bin\java.exe'' finished with non-zero exit value Detail Error: Information:Gradle tasks [:app:assembleDebug] :app:preBuild UP-TO-DATE :app:preDebugBuild UP-TO-DATE :app:checkDebugManifest

Updating Android Studio to version 0.4.0. nothing works! Which fixes?

蹲街弑〆低调 提交于 2019-12-13 04:37:26
问题 I've made some waste code. After some mistakes I checkout latest commit. I expected to restart with any without any hitch. But building project now I receive the message: Waiting for device. Target device: samsung-gt_i8190n-47900693715f5036 Uploading file local path: /Path/to/file.apk remote path: /path/to/file/com.example Local path doesn't exist. (* I've removed complete local and remote path in this post ...) Thus, when I try to sync project with gradle files, a new message from editor

After upgrading to the new Android Studio I have been having error

荒凉一梦 提交于 2019-12-13 04:09:21
问题 It gives this build error for any project: Please find the picture attached below Cause: aidl is missing from 'C:\Users\onyeb\AppData\Local\Android\Sdk\build-tools\27.0.3\aidl.exe' Full trace: rg.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Execution failed for task ':app:compileDebugAidl'. at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:139) at org.gradle.initialization.DefaultGradleLauncher