Android Studio on Fedora 28
Published on 2018-05-13
So far, I notices two issues:
- Using the NDK (r17) does not work because it requires
ncurses-compat-libs
installed; - 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.