You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello, I made a simple instruction on how to fix some Android's UIAutomatorViewer errors which I have encountered on my machine.
Here it is:
1. Wrong Java version
-Djava.ext.dirs=/home/user/Android/Sdk/tools/lib/x86_64:/home/user/Android/Sdk/tools/lib is not supported. Use -classpath instead.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
When using Bluetooth headphones, you may encounter the problem running an emulator in Android Studio, the sound in the headphones switches to low quality.
This is due to the fact that the Android emulator starts using your headphones as a microphone so that you can enter voice commands into Android.
In the vast majority of cases, no one uses voice input on the Android emulator, so it can be disabled through the emulator config file.:
Open the /.android/ folder on your computer (~/.android/ for Linux, /Users/{user_name}/.android/ for Mac and Windows)
Next, open the folder for the emulator you need (/avd/{emulator_name}/)
Edit the file config.ini and replace the item hw.audioInput=yes with hw.audioInput=no