Skip to content

Instantly share code, notes, and snippets.

@sultanqasim
Last active April 30, 2017 14:25
Show Gist options
  • Save sultanqasim/09f19221c67c71edd099eb86c6a92467 to your computer and use it in GitHub Desktop.
Save sultanqasim/09f19221c67c71edd099eb86c6a92467 to your computer and use it in GitHub Desktop.
Dependencies for building Android on Fedora 25
mkdir -p ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod +x ~/bin/repo
sudo dnf install python glibc.i686 libstdc++.i686 java maven ccache schedtool ncurses-compat-libs m4 xz-lzma-compat ImageMagick
sudo ln -s /usr/lib/jvm/java-1.8.0-openjdk /usr/lib/jvm/java-8-openjdk-amd64
# arco's fix for messed up maven certificate (not working on fedora, need to figure out)
echo QUIT | openssl s_client -showcerts -connect maven.cyanogenmod.org:443 > ssl.cyanogenmod.org.crt
sudo mv ssl.cyanogenmod.org.crt /etc/pki/ca-trust/source/anchors/
sudo update-ca-trust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment