I have imported a Android Studio 2.1 project to Android Studio 2.2.3. But the gradle sync is taking too much time. Current Gradle version is 2.14.1 Even I have used another gradle(2.10) No error shown on the event log. Have no idea where I am stuck. Don't know what to do.
Related
I have a github code which is from 2018, https://github.com/puzannshakya/Currency-Detection
I am trying to run this app, but it is giving me errors like gradle should be 4.1 and higher, even after upgrading the gradle still giving errors of stdlib not found.
Can anyone help me to update this app, and use in my android studio and be able to run?
I am using latest version of android studio
and i am open a an older project the android studio not open this project
and always fininshing the gradle while downloading or building it
i have attached the screen shot with this for batter understanding
please help me on this issue these project was build with older android studio like 2.2 and now i am using the latest version which is android 2.3.3 but with this version project was not open properely
android gradle problem the screen shot of the problem
This same thing happened to me, when i was into android. Go to android sdk manager and update whatever it says, and you will good to go.
Even android studio is also trying to do the same thing. but it doesn't show you the progress.
Yesterday I updated my Android Studio version from 2.3 to 2.3.1 and today when I tried to create a New Project this familiar screen should disappear after sometime but it didn't disappeared after 30 minutes of waiting. Anyhow I managed to close android studio by Task Manager and started Android Studio again and created a new project again and the same thing happened again.
Although when I open my previous projects again they are working fine but the problem is with the new project creation only. I am having a good working internet connection along with the latest version of gradle 3.4.1
Any idea why this would be happening?
How to resolve this?
I had this "problem" with android studio but after looking here and there I found out that when I update gradle version for my project, for example from 2.2 to 2.2.1, if I do not have that gradle version already android studio tries to download gradle distribution for that version to build the project and since I have poor internet connection, it was the download which was taking time.
Maybe your android studio is downloading the gradle too and it takes time.
I recently upgraded from Android studio 2.2.2 or 2.2.3 can't remember - to Android Studio 2.3.1 . Please can someone point me in the right direction as to how to get older projects running on this newer version of android studio ?
i tried changing the gradle build dependency to 2.3.1 as some suggested but that didn't help
thanks
Your gradle may need some updates. When the android studio starts some update are suggested, they get the proper sdks, or version of the android you may be emulating.
Android Studio
I am using Stable version Android Studio 2.1. But it is taking very long to build. Currently I have used gradle 2.10 and that too a local version of it. I am using gradle plugin 2.0.0 right now and using jdk 1.8 along with all the options required for Instant run enabled on Studio settings. I even tried with offline options and tried using gradle wrapper also.
My studio is taking very much time to build more than half a hour many a times. Can some body help me out in speeding it up. Am I missing something or using a wrong gradle plugin for Studio 2.1.