It’s a good day. I have tested for a while Fedora 26 Alpha and I can say that it’s pretty rock stable. Really, I had less issue than before with an alpha version of an operative system.
The next step. The Android Studio installation
Like I said above, the system (actually a Lenovo E470) is incredibly stable and all works out of the box. I’m really really pleased with Fedora 26 Alpha, impressed.
The next step (in my everyday use) to stress the system is to install Android Studio and to find if it’s working or not on Fedora 26. And, last but not least, try to find if it’s fast, less or more than Fedora 25.
First, let’s try to install it.
Go on Android Studio – The Official IDE for Android page and download Android Studio.
Then, unpack it on the /opt folder:
$ sudo unzip ~/Downloads/android-studio-ide-version-linux.zip -d /opt/
Note. My user is an administrator. I have downloaded file in the ~/Downloads folder. -version- depends on what you download.
$ cd /opt/android-studio/bin/
$ ./studio.sh
Android Studio installation process was flawless completed, but I got some errors on creating Android Virtual Devices:
Unable to create a virtual device:
Unable to create Android virtual device
Unable to run mksdcard SDK tool.
So, a look at the official documentation suggests to install some libraries:
sudo dnf install zlib.i686 ncurses-libs.i686 bzip2-libs.i686
Got a warning and seems impossible to create an Android Virtual Device:
[ 26781] WARN - vdmanager.AvdManagerConnection -
~/Android/Sdk/emulator/mksdcard: error while loading shared libraries:
libgcc_s.so.1: cannot open shared object file: No such file or directory
So, we need to install libs for mksdcard SDK Tool:
sudo dnf install compat-libstdc++-296.i686 compat-libstdc++-33.i686 compat-libstdc++-33.x86_64 glibc.i686 glibc-devel.i686 libstdc++.i686 libX11-devel.i686 libXrender.i686 libXrandr.i686
Note. Thanks to Sudhir Khanger, it seems working with the install of libgcc.i686 only.
And now Android Studio and emulators are fully working!
Finally, we can make a launcher for Android Studio. We can easily do it inside from the IDE, just use Tools > Create Desktop Entry > OK. At a first use, Android Studio IDE seems fast as in Fedora 25 stable.
I think you only need `libgcc.i686` for mksdcard tool.
I did another installation with ‘libgcc.i686’ only and all went fine. Thanks for the tip.
Thank You!!!
Cheers!
worked like a charm (read the post, pre-install requisites, install studio)
You’re welcome!
Thank you
Glad to helped you.
And I see only black screen and messages:
emulator: Error while connecting to socket ‘127.0.0.1:1970’: 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 36
Never experimented that issue, maybe you can find useful this:
https://stackoverflow.com/questions/26697270/ubuntu-all-android-emulatorx86-and-arm-stuck-on-error-while-connecting-to-so
Tried. Didn’t work (