Install Android Studio in Fedora 22 Workstation

  1. Install Fedora 22 Workstation
  2. dnf update
  3. dnf install java-1.8.0-openjdk-devel.x86_64
  4. dnf install compat-libstdc++-296.i686 compat-libstdc++-33.i686 compat-libstdc++-33.x86_64 ncurses-libs.i686 zlib.i686       (Otherwise, you will have the “Unable to run mksdcard SDK tool” problem)
  5. Download Android Studio from
  6. Extract it.
  7. Open a terminal and cd to the extracted Android studio path
  8. cd to the bin folder inside Android studio folder
  9. JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk- sh
  10. The above sentence must be run in one line. (you may need to adjust the version. use “alternatives –display java”  command to locate your correct path)
  11. Follow the on-screen instruction.
  12. You are done.
  13. Use the command in step 9 whenever you want to start Android Studio.

Leave a Reply