I've seen this question asked and replies along the lines of re-syncing the project and updating the SDK. I am right at the beginning of a new project and trying to set up authentication with firebase and I'm getting the following errors Does android
I would like to upgrade my project to Android Studio 3.0 Canary 1 and the gradle:3.0.0-alpha1 plugin, however I have a problem with the correct definition of flavors for included projects. I followed the official migration guide from Google: https://
I updated Android studio yesterday to 2.3.1 and gradle wrapper to gradle-3.3-all. After updating my app stopped building properly and keep crashing after installing in device. Stacktrace is 04-16 19:37:19.436 ? E/DynamiteModule: Failed to load module
I have a cardView, but I can not see the content. I share part of the code, I hope to receive help. Thank you. My project is executed directly on my cell phone. And only shows the cardView but without the content. card_view.xml <LinearLayout xmlns:an
I am using rxjava and rxvolley on my android aplication. When I try to run it I get this error Execution failed for task ':testapp:transformResourcesWithMergeJavaResForDebug'. > com.android.build.api.transform.TransformException: com.android.builder.
My Gradle sync fails with the following error message in the log: Gradle sync failed: java.lang.NoSuchMethodError: com.android.builder.model.AndroidProject.getProjectType()I or sometimes I get this error instead: Gradle sync failed: com.android.build
I'm using Ubuntu 14.04 32-bit. When I installed android studio, on the first start, there was an error about java jdk path. When I changed the path to the right folder and gradle runs automaticlly, it doesnt finish, but outputs 2 errors. When I run t
Please help, i have included some jar files under libs directory in Android Studio and am compiling it like this in build.gradle : fileTree(include: ['*.jar'], dir: 'libs') The sync with gradle files goes well with no errors but i can not import java
Error: java.io.FileNotFoundException: \app\build\intermediates\res\merged\debug\drawable-mdpi-v4\abc_ic_star_black_48dp.png (The requested operation cannot be performed on a file with a user-mapped section open) trying to build project but file name
after solving a jdk zero value error , now im facing this one, i did a little research but it seems i cant get to the point, here is the log error FATAL EXCEPTION: main E/AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentI
I have an Android application (gradle 2.1.0, SDK level 22) that includes an AAR. Everything works fine until I add a resource in res/raw in the main application, then I get this crash on running assembleDebug: Error:Execution failed for task ':app:pr
im building an app with mapsforge, im adding to my map proyect the 'org.mapsforge:mapsforge-map-android-extras:0.6.1' library, but gradle cant sync. this is my gradle code apply plugin: 'com.android.application' android { compileSdkVersion 24 buildTo
Assuming that I build a LibraryA and compile it into a LibA.jar, then I create a LibraryB and put the generated LibA.jar into LibraryB/libs, and compile it into a LibB.jar. The problem is, as I put LibB.jar into a new Android App Module, I can not di
I have 2 android projects: Tower and dronekit-android. I try to import both projects into Android Studio at the same time. So I first import Tower, then import dronekit-android in the project setting window. (Using File -> Project Structure -> +) Ho
In the zipalign task creation method from gradle plugin InstantRunBuildContext instantRunBuildContext = this.getScope().getVariantScope().getInstantRunBuildContext(); this.zipAlignTask = this.taskManager.createZipAlignTask(taskName, instantRunBuildCo
Hi everyone I am new to android developing.I download the latest version of android studio 1.3.2 yesterday.But when I start a new project for testing, gradle give me an error. My gradle is apply plugin: 'com.android.application' android { compileSdkV
While trying to optimize the build and deployment speed for debugging an app I found large chunk of time was spent executing /system/bin/dex2oat during installation. This is the ART ahead of time compiler. I found when targeting API 22 you can now st
I just upgraded android studio and the previously compiled project is now showing errors! Error(19,0) Gradle DSL method not found: android() , Here is the build script and app.build.gradle buildscript { repositories { jcenter() } dependencies { class
I tried setting different Gradle Vm Option from all the answers found on stackoverflow, but nothing seems to be working out I'm on Android Studio 1.2.2 I'm getting this error when I try to run the app on either on the emulator or the device. Only thi
I installed Android Studio 1.2.1.1, with Gradle version 2.2.1, and Android plugin version 1.2.3. I tried to create a simple hello world project, and it give me a build failure of :app:compileDebugAidl FAILED. Am i missing something or have some incom
I am trying to import caldav4j library (caldav4j-0.7.jar) into my android studio project. I have the following two lines in my build.gradle file. compile 'org.mnode.ical4j:ical4j:1.0.6' compile files('libs/caldav4j-0.7.jar') I am seeing multiple dex
I'm trying to activate ProGuard in my project, however getDefaultProguardFile method says it can not be resolved. Here's my build.gradle: apply plugin: 'com.android.application' android { compileSdkVersion 22 buildToolsVersion "22.0.1" defaultCo
Is it possible to access a BuildConfig value from AndroidManifest.xml? In my build.gradle file, I have: defaultConfig { applicationId "com.compagny.product" minSdkVersion 16 targetSdkVersion 21 versionCode 1 versionName "1.0" // Facebo
Just to start I'm very new to android development/android studio/gradle so forgive me if I'm asking a stupid question. My team has been working on a project with the beta version of android studio, I've just installed the new version (1.0) and i've i
I am completely new to android development and I am trying to create and run my very first tutorial app (being just an output of Hello World). When I first create a project and it loads I receive the following error: Failed to complete Gradle executi
I have cloned from github both the respositories CastVideos-android and CastCompanionLibrary-android to my AndroidStudioProjects folder with the names 'CastVideos' and 'CastCompanionLibrary'. When I attempt to build CastVideos, in Android Studio I ge
I have a project, which i want to configure on my computer. On anothe computer it works, but with old version of Android Studio 0.4.0 whenever I use 0.5.2 The proble is that after I launch app it show error Build script error, unsupported Gradle DSL
There are a few questions floating around regarding transitive dependencies with AAR files in Gradle: Android Studio 0.2.3 cannot resolve transitive aar dependencies Android Gradle library dependency with library dependency using Nexus Aar in reposit
First and foremost, I am aware of the existence of this question - How do I add a library project to Android Studio? - and unfortunately, it has not helped me. My goal is rather simple. I want to write an Android app using the Android Studio IDE (0.2
I want to use master version of my lib from mavencentral. Is it possible to declare git repository as dependency in android gradle?For me the best way is: https://jitpack.io Step 1. Add the JitPack repository to your build file Add it in your build.g