android studio 3.1.1 editing build.gradle file slow - android

I have update Android Studio to latest version 3.1.1, but is so slowly , especially when I editing build.gradle file , is there any solution ?
(before I use 3.0.1 , that is so fast)

It seems like this is only happening in China. Try this solution:
https://stackoverflow.com/a/47342580/501175
According to the answer above, there are two ways you can try:
You need to modify the proxy setting of your Android Studio
Simple add a line 127.0.0.1 search.maven.org to the /etc/hosts file. I am using the second one and it works fine.

Well , now Android Studio 3.1.2 has fixed this problem

How's about downgrading Android Studio to 3.0.1? I had the same issue as you. As a result, I downgraded it.
In case anyone wants to download different versions of Android Studio, this is the link you need: Download Archives

It's a reported bug in Android Studio you can follow the issue here
https://issuetracker.google.com/issues/77211316
It's been fixed in version 3.2 canary 11
Edit: They've released this fix with 3.1.2 in stable branch too.

Related

Coding changes is not reflected in app from Android studio

I clean,Rebuild code & Invalid cache but coding changes is not reflected in Android Studio 4.0
I have this issue with one of the earlier Android studio releases. I have solved by updating the Gradle version. It may be solved your issue.

Upgrade Android Studio 3.6 or newer

I am having an issue with my Gradle just this day. It was working fine just recently and I haven't done anything just now and I see this. Please help.
java.lang.RuntimeException: This version of Android Studio cannot open this project, please retry with Android Studio 3.6 or newer. ```
Go to your projects build.gradle file, and change com.android.tools.build:gradle:3.X.X(where X is the current version) to match your current version of android studio
- to check your current version of Android Studio go to "Help - About"
The issue you're having happened most likely because you have activated beta builds in Android Studio, and you have accepted Android Studios suggestion popup where it suggested upgrading your build tools and gradle plugin
You have two options:
1) Update android studio
2) Change gradle file

Android studio 2.3: Could not initialize class org.jetbrains.kotlin.android.actions.NewKotlinActivityAction

I have just updated Android studio 2.2.2 to 2.3 from the canary channel. After downloading completed and applying path file, the android studio is restarting.
But after restarting android studio I am getting below error with dialog:
Cannot load project:
com.intellij.ide.plugins.PluginManager$StartupAbortedException:
com.intellij.diagnostic.PluginException: Could not initialize class
org.jetbrains.kotlin.android.actions.NewKotlinActivityAction [Plugin:
org.jetbrains.kotlin]
See below screenshot for to get more idea:
After closing dialog by ok and restarting android studio, also I can't able to open my project or creating new project.
Does anyone is facing same issue after updating android studio?
Disable the Kotlin plugin and restart Android Studio. I had the same error even after I updated the plugin. So disabling seems to be the solution for now -- unless you're using Kotlin, I guess.
The Kotlin team confirmed a fix is in the works via twitter: https://twitter.com/kotlin/status/797111726516879360
The issue is fixed in Kotlin plugin version 1.0.5-2.
Issue is fixed in new update of Kotlin, you can update your plugin from
Configuration>Plugin>Install JetBrains Plugin>Select "Kotlin" from List and hit "Update" from right menu
Updating the 'ext.kotlin_version' on root build.gradle to the latest fixed the issue for me. Use this link to find the latest kotlin version.
This happened to me just today after updating my Kotlin's plug-in verison from 1.1.51 to 1.1.60. I had to uninstall this version from Settings > Pluings in Android Studio and install the previous one, which can be downloaded from JetBrains plug-ins repository.
If you're using Android Studio 3.0, you don't need to install the previous version of the plug-in again since version 1.1.51 is built-in in Android Studio.

Not able to create a Module using Android Studio 2.1.1

Anyone have any ideas why this is happening? In Windows, when I right-click on the root of my project, I go to New -> Module. This is what I am shown
It used to be a lot more simpler and actually auto-generate a proper Android Module, complete with directories.
I have the latest version of Android Studio installed. Here is the version I have.
I was expecting to see something along the lines of the following:
Problem cannot be reproduced in the latest Android Studio 2.2.1 Canary that was announced today at Google I/O.

After updating to canary preview 5, android studio does not work

After updating to canary preview 5, android studio does not work.
It just show this image and nothing happens
i searched for any solution but to no avail
what is the wrong with it?
Thanks in advance
I have the same problem with my Android Studio version 2 Preview 4 i asked a question here in SO after that i find the solution just look on my answer to my question here
This is what i did
This is an answer for my question, after trying many methods now it works fine.
This is how i resolved my problem by:
Updating Android SDK Tools and the latest SDK Platform
Removing the Android Studio cache folder situated in
C:\Users\<username>\.AndroidStudioPreview2.0
Running android studio again
give it a try and good luck!
Try to reinstall Android Studio. It is not good idea to use Canary Builds because it can be unstable.
I have obsession to have all apps upgraded to the newest version, and I used to use Android Studio Canary builds for a long time, and than some Canary Build caused some problems, and I have to reinstall. From than, I use only stable version of Android Studio.

Categories

Resources