简体   繁体   中英

Android Studio hangs out

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

  1. Avoid Drag and drop Facility

  2. Use Stable Android Studio (Like Version 1.3) Avoid Beta Version .

  3. File -> Invalidates Caches/Restart. (After Clean and rebuild your project)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM