Android Studio emulator System UI keeps crashing every 10 or so hours of use - TagMerge
2Android Studio emulator System UI keeps crashing every 10 or so hours of useAndroid Studio emulator System UI keeps crashing every 10 or so hours of use

Android Studio emulator System UI keeps crashing every 10 or so hours of use

Asked 1 years ago
0
2 answers

Try these.

  • Restart android studio and computer.
  • In android studio go to files invalidate cache and restart.
  • Create another AVD.

otherwise you need to use physical device.

Source: link

0

open Terminal and go to the directory/Users/<username>/Library/Android/sdk/emulator/qemu/darwin-x86_64/create an xml file named entitlements.xml with touch or cat commandsAdd this content to the entitlements.xml file:
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict>    <key>com.apple.security.hypervisor</key>    <true/></dict></plist>
4. Then simply sign the qemu-system-x86_64 with it:
codesign -s - --entitlements entitlements.xml --force qemu-system-x86_64

Source: link

Recent Questions on android

    Programming Languages