Questions tagged as 'android-gradle'

1
answer

NoClassDefFoundError error after removing external API (YouTube)

I'm developing a nice project and I came across a difficulty that I could not get out yesterday, the project stopped recognizing all api's, butterknife, YouTube, everything ... The following is the error:    NoClassDefFoundError: Class not...
asked by 28.09.2017 / 11:45
2
answers

What's the difference between Compile and Implementation in the Android Studio build.gradle file?

When I'm going to add some library manually to the Android Studio 3 build.gradule (Module: app) file, I use the implementation format >, because this is the way that Android Studio itself uses by default, but whenever I search the internet f...
asked by 29.01.2018 / 00:04
1
answer

how to know the latest version of a library (dependency) from Google for Android Studio

Generally, when we use features in Android Studio, you need to include libraries, example of a build.gradle (Module: app) file: dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.suppor...
asked by 28.01.2018 / 23:17
1
answer

Android Gradle - Error: Unsupported method: BaseConfig.getApplicationIdSuffix ()

When importing a Github project using < strong> Android Studio 3.0.1 I got the following error in Gradle:    Error: Unsupported method: BaseConfig.getApplicationIdSuffix (). The   version of Gradle you connect to does not support that meth...
asked by 27.01.2018 / 04:18
1
answer

Error when syncing grandle with mask library for fields

I'm trying to install a dependency for masquerading fields but when I add it, I have problems, in the log the following message appears:    Error: Execution failed for task ': app: processDebugManifest'.   Manifest merger failed: Attribute ap...
asked by 16.05.2017 / 15:15
1
answer

Error Kotlin does not find bytecode for lambda function: "Failed to find byte code for java / util / function / BiConsumer"

When I try to run my app on my phone (the same thing happens in the emulator), the following error occurs: Error:FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:transformClassesWithInstantRunForDeb...
asked by 29.12.2017 / 13:41
1
answer

I can not use Android Studio (Gradle Project sync failed. Basic functionality ...)

I searched, searched, and did not find the solution to my problem. Firstly I will put the images of my situation, but beforehand I will inform you that my processor is AMD. In this case I just need to be able to perform build / re-build for a...
asked by 07.09.2018 / 21:19
0
answers

How to use Firebase Notification in a React-Native project

To Create a react-native project with Firebase notifications Steps to add pushNotification Link: link Create or open a React Native project (test before.) Assign all permissions to this directory Add pakege 'react-native-fi...
asked by 08.05.2018 / 15:48
0
answers

How to change the build gradle to an earlier version (android studio)?

I'm creating a project that runs in the version of android studio 3.1, and I have this old version of android studio but the build gradle is up to date and I can not make my codes run I do not want to change my codes or adapt I just want to go b...
asked by 22.12.2018 / 05:17
0
answers

DataBinding Kotlin

I have a project that was done in Java, with lifecycle, room and everything, and now I'm migrating to Kotlin. I'm trying to use databinding, but it's giving me this error:    Can not access class 'Loguin.Loguin'. Check your module classpath f...
asked by 07.11.2018 / 13:30