Questions tagged as 'gradle'

1
answer

Gradle project refresh failed - Cause: invalid stream header: FFFFFFFF

I created a new project in Android Studio. However, when opening, the following error appears: Error:Cause: invalid stream header: FFFFFFFF How can I resolve this situation?     
asked by 14.08.2017 / 13:27
1
answer

How to insert a library into a project in Android Studio?

I'm new to Android app development, and I think it's cool to push my apps with a kind of Intro as soon as they run. I was researching on what I came to this library: link It turns out, however, that I can not add it to the project. I've...
asked by 06.07.2015 / 23:01
0
answers

Problem with generating Gradle

Good afternoon ... I have a serious problem, I already researched in forums and whatsapp groups and I could not solve it, I realized that it is only in windows 10 ... Come on: My problem is this, every time I install Android Studio and I'm...
asked by 01.06.2017 / 19:10
0
answers

Error in offline mode

I'm getting this error every time I try to open a file:    Error: Could not determine artifacts for com.android.support:design:24.1.1: No cached version available for offline mode I have already enabled and disabled offline work , within...
asked by 13.04.2017 / 20:01
0
answers

Error dependencies gradle: all google.com.gms.libraries must use the exact same version specification (mixing versions can lead to runtime crashes)

I'm trying to add a barcode reader to my application and I'm using this example as the basis: link The error appears whenever I get to step 2, where it says that I need to add a new dependency in the gradle: dependencies { compile('c...
asked by 13.02.2017 / 00:54
1
answer

Error running Gradle

I'm not able to run a project in Android Studio. The project compiles normally, but when I try to run it, the following error occurs in the Gradle console: org.gradle.api.internal.changedetection.rules.DescriptiveChange cannot be cast to org.g...
asked by 13.02.2017 / 13:11
1
answer

No bean named 'entityManagerFactory' available

I'm testing my Spring application with JUnit, however the error is occurring after putting the annotation @EnableJpaRepositories :    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'entityManag...
asked by 12.11.2016 / 20:06
1
answer

Error: (1, 0) Plugin with id 'com.android.application' not found when doing project Sync

apply plugin: 'com.android.application' android { compileSdkVersion 24 buildToolsVersion "24.0.0" defaultConfig { applicationId "app.teste" minSdkVersion 15 targetSdkVersion 24 versionCode 1...
asked by 25.08.2016 / 18:03
1
answer

Error while syncing: Could not reserve enough space for 1048576KB object heap

This error appears when I try to sync my project in Android Studio, how do I resolve this?    Error: Unable to start the daemon process.   This problem might be caused by an incorrect configuration of the daemon.   For example, an unrecogniz...
asked by 28.09.2015 / 23:23
0
answers

Directory Error in Android Studio

I deleted the folder where the projects were and I could not create any projects anymore.     
asked by 02.09.2015 / 19:59