I am wondering if anyone else has encountered this problem and figured a way to deal with it.
Android Studio Bumblebee crashes randomly and frequently. There is no pattern. It crashes when I do something (e.g., editing code) or sometimes when I do nothing. It can crash soon after I start AS or after I use it for a little while. It crashes once every hour or so on average.
Are there any parameters that I can change to make AS stabler? Is there a good way to diagnose the crash?
I usually have over a dozen programs running on the same computer (Visual Studio, Outlook, browsers...). AS is the only program that crashes. All others work fine.
Android Studio Bumblebee | 2021.1.1
Build #AI-211.7628.21.2111.8092744, built on January 19, 2022
Runtime version: 11.0.11+9-b60-7590822 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 16
Registry: external.system.auto.import.disabled=true, debugger.watches.in.variables=false
Non-Bundled Plugins: com.intellij.marketplace (211.7628.36), com.thoughtworks.gauge (211.6693.111), org.jetbrains.kotlin (211-1.6.10-release-923-AS7442.40), com.android.aas (3.5.1), com.google.mad-scorecard (1.2), org.intellij.plugins.markdown (211.7142.37)
I faced the same issue until I disabled the Launch in tool window. Just go to File -> Settings -> Tools -> Emulator and disable the launch in a tool window checkbox.
Related
I have updated my Android Studio to
Android Studio Electric Eel | 2022.1.1 Canary 8
Build #AI-221.5921.22.2211.8786657, built on June 30, 2022
Runtime version: 11.0.13+0-b1751.21-8125866 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.15.7
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 12
Registry:
external.system.auto.import.disabled=true
ide.text.editor.with.preview.show.floating.toolbar=false
ide.images.show.chessboard=true
Non-Bundled Plugins:
com.android.aas (3.5.1)
and now it is extremely slow to respond to any code change, e.g. it takes minutes to properly highlight any code following the simplest of refactors.
i have also noticed that it is showing git information within all my code files.
I do not know how i have configured this change, however i have a feeling its because of this git integration that my development is now painfully slow.
has anybody else experienced a degradation in responsiveness since updating to this latest version of android studio?
how can i get back to being able to be productive?
I upgraded to the release version of Electric Eel when it prompted me I have just gone to the downloads site to download Dolphin again as it's running really slowly.
I make a change and then sit and wait for it to take affect before I make another. I'm posting this as a warning as I found this thread when I was searching for why Electric Eel was so slow.
If you've done the same as me you can download the old versions at:
Android Studio Archive
Beacuse this is a Canary Build of Android Studio, the perfomance can not be expected to be on par with the other versions. The best thing you can do is to consider downgrading to Android Studio Dolphin until the new version is in stable release.
Also the sluggish performance can come from the new Live Code feature:
Live Code
that makes building obsolete. Due to the feature not being finished, it might be that the coding experience you have might be bad.
I upgraded last week to Electric Eel, but it is consuming almost 3GB, and even with that amount of memory it responds to a lot of tools VERY slowly (i.e. working on xml files)
It takes several seconds to show any option.
On the upside: Seems to me that contextual documentation loads faster.
Going back to Dolphin until this gets better.
UPDATE
To completely uninstall Electric Eel I had to download the zip file of an old Android version (old versions are in https://developer.android.com/studio/archive, I downloaded Android Studio 4.1 Canary 2) and use that uninstaller.
I installed Dolphin afterwards, but spent several hours trying to install my app in a physical device...Dolphin always got stuck in the build phase, but no message saying there was something wrong. I thought it was the ADB, but no, it was detecting correctly the phone. I tried with another app I developed and it worked OK.
So I decided to upgrade Dolphin to Electric Eel again, to see what changed, and after starting up Electric Eel showed a window saying that my project was built with AGP 7.3.1 but synced with 7.3.0. I synced it as recommended and I could install it again in the phone.
I post this in case someone faces the same situation...
Now I am again at Electric Eel, checking if it behaves better...
I installed the latest version of Android Studio on Windows 10 and when trying to open a layout, Android Studio closes completely. I have looked for a solution on the internet but could not find a solution. Every time it fails I get a text error report, I don't know how to interpret all this information, could you be so kind to help me solve this?
Text error report
A fatal error has been detected by the Java Runtime Environment: EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) at pc=0x00007ff8bd2039af, pid=3032, tid=3188 JRE version: OpenJDK Runtime Environment (11.0.10) (build 11.0.10+0-b96-7249189) Java VM: OpenJDK 64-Bit Server VM (11.0.10+0-b96-7249189, mixed mode, tiered, compressed oops, g1 gc, windows-amd64) Problematic frame: C [libandroid_runtime.dll+0xb39af]
No core dump will be written. Minidumps are not enabled by default on client versions of Windows
If you would like to submit a bug report, please visit: https://bugreport.java.com/bugreport/crash.jsp The crash happened outside the Java Virtual Machine in native code. See problematic frame for where to report the bug.
siginfo: EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d)
It's like it's something to do with memory, but I can't figure it out.
CAPTURE OF A FEW SECONDS BEFORE CLOSING COMPLETELY ANDROID STUDIO
enter image description here
I also had this issue and also posted it here earlier but noone seemed to know how to fix it or why it happends and neither do I and still dont.
I fixed it by downloading older/newer version of android studio.
You are probbably using Android Studio Arctic Fox since it's the first one that you get when you go on Android Studio site and click download.
Next to download button you will se download archives go there and download some other version.
Personally I downloaded Bumblebee Cannary channel and it works great.
today I was trying to use location spoofing from adnroid emulator extended controls panel, but unfortunatelly it loads static map image with "raw" input that does not work anyway. I tried invalidating android studio cache, restarting OS, wiping AVD, deleting and setting up new AVD, updating emulator. None of these works. Yesterday it worked perfectly, today I can't get it to work. I can't even find similar problem on Google.
Here is info from "About Android Studio" tab:
Android Studio 4.1.1
Build #AI-201.8743.12.41.6953283, built on November 5, 2020
Runtime version: 1.8.0_242-release-1644-b3-6915495 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.16
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8
Registry: ide.new.welcome.screen.force=true, external.system.auto.import.disabled=true
Non-Bundled Plugins: Statistic, com.intellij.marketplace, org.jetbrains.kotlin, io.aesy.regex101, org.intellij.RegexpTester, com.developerphil.adbidea
And the location screen from extended controls:
Location screen
Anyone had similar problem?
You have to create new API key for your app and make sure to update your API key in your code, and it work like a charm
Recently, Visual Studio 2012 has been acting up. As I'm developing ASP .NET applications I routinely tab between the browser (Chrome) and the Visual Studio IDE. Sometimes when I attempt to tab back into Visual Studio the window will not come up. At that time if I look at my task manager I'll see that the devenv.exe process is using about 10 to 20% of CPU time and is gathering more and more memory for itself. This goes on for about 20 seconds or so before the IDE is responsive and usable again. Eventually, the IDE can't recover and I need to terminate the process.
My desktop is a 64-bit quad-core i7 # 3.4GHz with 8 GB of RAM, running Windows 7 OS. Typically devenv.exe will use about 500 MB of RAM. When the problem above begins to happen it will quicky ramp up to 1.5 GB and has been as high as 2 GB.
The only add-on I'm using is ReSharper 7.1. I have no further IDE customizations apart from the built-in dark color scheme.
EDIT — I have tried disabling and removing R# which has had no effect on this problem.
EDIT — Bug report on Microsoft Connect
I used to have this all the time until I installed VS 2012 update 4 then it all went away.
I also only use resharper ( version 8).
Apologies for the generic title but I'm not sure how best to explain this one.
Visual Studio is rendering badly in a number of locations, notably the Quick Watch window, Unit Test Sessions window and the Unit Test context menu, see screenshot at the below url. It has been this way since I installed Visual Studio 2012, the OS at the time was Windows 7 and I upgraded to Windows 8 recently so it is not a Windows 8-specific issue.
This is Visual Studio 2012 on Windows 8 Pro. The machine is a Core i5 with 12GB of Ram running at 1% CPU and 3Gb of Ram used so it's definitely not a problem with lack of power, which is the only time I have ever seen any rendering faults like this.
I have tried a repair install and also uninstalling and re-installing Visual Studio but it has made no difference.
This issue occurs solely in Visual Studio 2012, not in any other applications on the computer nor on VS2010 when I had that installed.
Some frantic googling has revealed nothing and I am out of ideas.
Solution
Downloaded some old Vista/Windows 7 drivers from here which solved my problem.
The most likely culprit is the video drivers. I'd confirm by switching to the Basic VGA Display driver to rule out video driver issues.
If this fixes the issue, I'd look for different video drivers or report the problem to the card manufacturer.