I'm using Android Studio version 1.5 on my MacBook Air 13" (8 GB RAM). I'm using built-in Git feature for my project's version control. I try merge local and remote branches which contains conflicts and when I solve them and click Apply button Android Studio just freezes and I can't do anything! I've tried wait for 5 and more minutes but there's no changes: Android Studio stays freeze. However, other programs on my Mac are working good! At screen you can see what I have as a result. How can I avoid freeze? Thanks for helping
I have the same problem. It just seems there is an invisible dialog that takes the focus. Try pressing esc or enter button and then see if you can do anything.
Related
I use Visual Studio for Mac on M1 MacBook Air, specifically targeting Android using Monogame.
The build gets stuck randomly and at any point in time, so the first time I build after opening VS, it works fine, the 2nd or 3rd gets stuck, and I can't cancel the build, so I have to close the application and reopen it and start again, and the cycle happens again. If anyone encountered something similar, please share any solution with me
I don't know what I should try to do, since VS get stuck at random during the build, and getting stuck happens randomly too
I managed to solve my problem, it turns out that I turned on some features in Project Properties which were supposed to be for release mode, that's why somethings took ages to build.
I know that this is unlikely the correct place to ask, but I don't know where I should.
So I have a normal macbook from 2016.
I had Android studio installed a couple of months and worked with it just fine for a long time.
Now upgrading to Mojave, Android Studio doesn't open anymore.
I reinstalled it already 5 times, tried everything I found in the internet but still not able to start it.
After installing and moving it to applications It asks me to open it, I accept and then it starts to bounce but never opens.
I have restarted my Mac as well, tried different accounts.
Any one with same issue who solved it or has any idea how it could be solved?
I am having the same issue and according to Android Studio's website, it seems like it only supports up to High Sierra. Scroll to the bottom of this page and look into the system requirements-> https://developer.android.com/studio/
Try to delete (or fix) your custom studio.vmoptions file (if it exists). I had the same problem, until i've noticed, that studio runnable file writes to log, that my studio.vmoptions (in my Users/myusername/Librery/Preferences/AndroidStudio directory) has wrong parameter. Then I just delete this custom studio.vmoptions - and android studio starts normally.
I am using Android Studio version 2.2.3 and since I have installed it There is no device frame included when we have a preview(as shown in the image). I have tried a lot but there seems to be no option to include a device frame.
Just lost the device skin after updating Android Emulator.
I fixed it by manually editing the AVD config.ini and adding:
skin.name=pixel_4
skin.path=D:\sdk\skins\pixel_4
Posting this so I can find the answer faster next time it happens and maybe help others, it seems it is still a valid bug even with Android Studio Chipmunk
There is no device frame included from the newer version by the Android Studio itself. But, you can still use a skin while using AVD.
DEVICE FRAME CAN BE VIEW BY
1- Click on designer preview window
2 - press F button from your keyboard
this will enable and disable the designer preview device frame every time you press F button from your keyboard.
Whenever, I take Time Picker and Date Picker in XML layout file in Android studio.
Android studio hangs out.
Which configuration changes i need to do? Please help me.
#Mayuri Joshi
Courtesy goes to #Wootowl's Answer .
I theorized that perhaps it was just the windows display that was
frozen (the visual rendering of the Android Studio program itself) and
guessed that perhaps this was using a DirectX device to do the
rendering of the Android UI.
I happen to have another app running on my computer that uses a
DirectX device for rendering (SimpleJungleTimer, an app I programmed
with a DirectX overlay for League of Legends jungle timers). After I
shut down this app Android Studio appears to be working properly (not
freezing when working with the UI anymore)
Ultimately it sounds like this is a bug with Android Studio itself
where they don't properly kill / reload the DirectX rendering device
when it is in conflict with another app's active DirectX device
(something that the android studio developers should probably fix) .
What should you do
Avoid Drag and drop Facility
Use Stable Android Studio (Like Version 1.3) Avoid Beta Version .
File -> Invalidates Caches/Restart. (After Clean and rebuild your project)
I installed Android Studio 1.0 and have JDK 1.8.
I make New Project, use a 'blank activity with fragment' and set the minimum version to lollipop (5.0)
Then I go to fragment_main.xml and drag an UI element to the phone (in the example i used a button)
The moment the drag interface is visible on the phone, android studio hangs and i'm unable to do anything expect killing the process with windows taskmanager.
My mouse looks like this:
Any ideas?
Thanks.
I may have found a solution for this.
I was having the same exact issue and couldn't figure out what was going on for the life of me until:
I theorized that perhaps it was just the windows display that was frozen (the visual rendering of the Android Studio program itself) and guessed that perhaps this was using a DirectX device to do the rendering of the Android UI.
I happen to have another app running on my computer that uses a DirectX device for rendering (SimpleJungleTimer, an app I programmed with a DirectX overlay for League of Legends jungle timers). After I shut down this app Android Studio appears to be working properly (not freezing when working with the UI anymore)
Ultimately it sounds like this is a bug with Android Studio itself where they don't properly kill / reload the DirectX rendering device when it is in conflict with another app's active DirectX device (something that the android studio developers should probably fix), however until the android studio developers fix this you should be able to get around this bug by making sure any other applications that might use DirectX for rendering are shut down while coding in Android Studio so that their DirectX rendering devices don't conflict with Android Studio's DirectX device.
There are also problem with Java 8 in Mac OSX. When any drag and drop I made result in hanging the Android Studio 2.0 preview. This problem also happen to me when I use intellij 15.
You can have a look at this link: https://youtrack.jetbrains.com/issue/IDEA-146691.
I switch the JDK use in may projects to Java 7 and the drag and drop feature works. You can do the switch by choose File > Project Structure > Change in your JDK location.