Gradle Sync Failed :No Such Property:Gradle Version For class:JetGradlePlugin - android

I had Tried various ways to resolve the issue that are given by the people on the same questions been asked in past,but that is realted to the intellij idea
I had tried below ways ,but it didn't worked for me -_-
* deleted the .gradle file and then agained opened the project(in hope that android studio automatically would installed the needed version of the gradle)
changed the gradle version and have done trial and error but didn't worked.
My original version of the Gradle and Android PLugin version are has shown below in the picture.
My version of the android studio that I had installed is 3.0.1
Pls someone help
Thank You

Hey Guys ,I got the answer ,all and only we have to do is go to project structure in android studio and then go to project and then change your gradle version to 4.1 and android plugin version to 3.0.1
Click OK
And see the magic 😊

Related

Lombok Plugin Does not Working In Latest Version Of Android Studio (Bumblebee)

I use Lombok in my project and recently Update my Android Studio To the latest version (Bumblebee) And The Lombok Plugin doesn't work, is there any way to solve this problem?
not a resolution but there is a (working) workaround in the comments of the issue on github.
For some reason just downloading the latest version from github releases and installing to android studio did not work (it continue to throw the incompatible error).
What actually worked for me (and some of the users reported on github too) is to download the latest release 0.34.1-2019.1 and update the xml configuration and change 'until-build' property to IE-212.* and then importing through 'install from disk'.
Step by step guidance is available in this tutorial
https://youtu.be/A14hrtUeNWU
I created a repository for this problem, which automatically exports the built-in Lombok plugin from IDEA Ultimate, hope it can help you: lombok-plugin-repository
Follow bellow steps to resolve your problem:
1 - First download last version of lombok through the link.
2- In Android studio select File -> Settings -> Plugins
3- click on Setting icon and select install plugin from disk.
4- finally select the downloaded file and after completion restart Android studio.
done!
Take a Look at this issue in the Lombok GitHub repository:
https://github.com/mplushnikov/lombok-intellij-plugin/issues/1111#issue-1148968765
There are some versions of the plugin available for Android Studio in the first comment.

Android Studio 3.2 stable, Could not find databinding-compiler-common.jar

I just updated to Android Studio 3.2 stable, but I get this error when I'm trying to sync my old projects or new ones with gradle:
Could not find databinding-compiler-common.jar
(androidx.databinding:databinding-compiler-common:3.2.0). Searched in
the following locations:
https://dl.google.com/dl/android/maven2/androidx/databinding/databinding-compiler-common/3.2.0/databinding-compiler-common-3.2.0.jar
How can I fix this?
Update: I looked around for the dependency and it wasn't there to delete, I invalidated cache, I did a fresh reinstall and nothing worked so I went back to 3.1. This happens in windows but there's no problem in Linux with same projects.
no more need of this dependency like answered here
When Android Studio gives you errors after that, try to Rebuild or maybe use > File > Invalidate Cache & Restart.
It's working fine after I removed the following line for annotation processor from app's build.gradle following Android Studio 3.2 update: kapt "com.android.databinding:compiler:${dataBindingVersion}"
Updating to version 3.2.1 fixed the problem. It must have been a bug for some people!
I already had this problem with the Android Studio version 4
I reinstalled Android Studio, Then it was fixed :)

Android studio showing continuous same error

[It is an image which is showing errors that I want to solve
I am using android 2.3.3 I have changed many setups but some constant problems are apearing
Gradle project sync failed.
Rendor errors
install repository and sync project.
I do a lot search and found some ways I replace gradle folder with new version of gradle but failed to solve this.As i installed repository but error is still there.
Why all setups of android are showing same problem?
Remove all previous installation.
Install java JDK 8.
Install jre.
Download latest Android studio (https://developer.android.com/studio/archive.html)
Follow these steps. (https://developer.android.com/studio/install.html)
Can you specify your system configurations?

android studio: nothing working getting different different errors

I'm trying to learn AS, but after struggling for 3 days no progress.
Using https://www.udacity.com for learning.
Trying the hello world app from there, got this error Gradle DSL method not found: 'android()'.
I've worked in eclipse, but migrating from eclipse to AS looks very tough decision for me. I'm using cordova cli so far, now thinking to use AS.
While runing the app am not able to open RUN TOOL it show but is grey color(which is not clickable).
Downloaded new Gradle version (2.10), and set the path to that directory.But still showing Gradle version 2.2.1 in Project Structure.
Checked in stackoverflow as well, but nothing worked. Worst experieence.
Any body have idea what is going on, would be helpfull.
Android Studio 1.2.2
Make sure you have the latest Gradle and Android Studio:
https://www.gradle.org/
http://tools.android.com/tech-docs/new-build-system/version-compatibility
Go for more
Android Studio Gradle DSL method not found: 'android()' -- Error(17,0)
Udacity's Android courses are using the newest dependencies and AS version.
Please remove existing 1.2 version and upgrade it to 1.5.1 to get the fresh experience and less building problems
Be sure that you're using Oracle JDK7 not Java 8 SDK. It may cause some problems with Gradle
I recommend you also try to follow the steps in this post: I just installed Android Studio and created a new project, it always came up with Error with gradle
Have a question? Please free to ask

Cannot resolve Symbol R (Imported project from Eclipse to Android Studio)

I know there have been a lot of people asking this question, and I've read many posts, but none have worked for me...
I updated everything, made sure I have the build tools, most up-to-date SDK etc. and I followed the steps on the Android site for migrating projects from Eclipse to Android Studio.
My project works fine in Eclipse, but when I view it in Android Studio, I get the "Cannot resolve symbol R" in my main file.
Does anyone have any insight on this?
Try to use the new version (0.4.3) of the gradle build plugin, that was released yesterday.
More information about this version on g+ here.
Update Android Studio. I had the same problem till today. But then I updated the studio and this problem vanished

Categories

Resources