Android Studio hangs when drag/dropping UI element

后端 未结 2 1379
我寻月下人不归
我寻月下人不归 2021-01-02 23:59

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)

The

2条回答
  •  隐瞒了意图╮
    2021-01-03 00:53

    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.

提交回复
热议问题