Obsolete
Status Update
Comments
ai...@gmail.com <ai...@gmail.com> #2
The libncurses.so.5 error appears as follows:
/home/cgutman/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
/home/cgutman/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
Description
The list of required libraries at
Steps to reproduce:
1. Install Fedora 24 and update to latest packages with 'dnf update'
2. Install Android Studio 2.2.2 including the required libraries on the page mentioned above.
3. Run studio.sh
4. During the initial setup wizard, allow AS to create a new AVD.
5. Note an error dialog appears stating it is not able to create the SD card image.
6. The attached stack trace will appear in the studio.sh terminal window.
Expected behavior:
Error dialog should not display and the AVD should be created successfully.
Actual behavior:
AVD is not created and an error dialog is displayed.
If you would like, I can file a separate ticket for the NDK build issue. It requires ncurses-compat-libs otherwise it complains about missing libncurses.so.5. If not, you can reproduce by attempting to build hellojni after completing the above steps.
Details:
Fedora 24 Workstation 64-bit (fully updated as of 11/5)
Android Studio 2.2.2 (JRE 1.8.0_76-release-b03)