aboutsummaryrefslogtreecommitdiffstats
path: root/posts/android_studio_fedora_28.md
blob: 18860b0bdeb3666adb7df00323cdd0be4809759d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
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.