~fkooman/www.tuxed.net

ref: de22341cf6a4793142073b7e111b18779c12b65a www.tuxed.net/posts/android_studio_fedora_28.md -rw-r--r-- 714 bytes
de22341cFrançois Kooman update posts 3 years ago

#title: Android Studio on Fedora 28 published: 2018-05-13

So far, I notices two issues:

  1. Using the NDK (r17) does not work because it requires ncurses-compat-libs installed;
  2. The emulator won't run because you have to force it to use "system libs" instead of the libraries bundled with the emulator.

In slightly related news: you can no longer run the NDK (r17) on CentOS 7 since the requirements for glibc were updated. Good stuff...

So to fix the first problem:

$ sudo dnf -y install ncurses-compat-libs

To fix the second one you can add the following to $HOME/.bash_profile:

export ANDROID_EMULATOR_USE_SYSTEM_LIBS=1

Then make sure this is active by logging out and in.