setup-profiler.sh 619 B

1234567891011121314
  1. #!/usr/bin/env bash
  2. # install depends
  3. sudo apt update
  4. sudo apt-get install libc++1 libc++abi1 default-jre android-tools-adb gtk-sharp2
  5. # setup mono
  6. sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
  7. sudo apt install apt-transport-https ca-certificates
  8. echo "deb https://download.mono-project.com/repo/ubuntu stable-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
  9. sudo apt update
  10. sudo apt-get install -y mono-complete
  11. echo "Setup successful, you should now be able to run the profiler with cd SnapdragonProfiler and ./run_sdp.sh"