Fixed build on arch

This commit is contained in:
Emil Blennow 2021-10-16 17:27:18 +02:00
parent b5934f3841
commit 3bbc04b4a1
2 changed files with 2 additions and 7 deletions

View file

@ -27,7 +27,7 @@ You can use [this tool](https://github.com/remi0s/aosp-dictionary-tools) to crea
Install java: Install java:
```sh ```sh
sudo pacman -S jdk8-openjdk jre8-openjdk jre8-openjdk-headless sudo pacman -S jdk11-openjdk jre11-openjdk jre11-openjdk-headless
``` ```
Install Android SDK: Install Android SDK:
@ -41,11 +41,6 @@ Configure your SDK location in your `~/.bash_profile` or `~/.bashrc`:
export ANDROID_SDK_ROOT=~/snap/androidsdk/current/AndroidSDK/ export ANDROID_SDK_ROOT=~/snap/androidsdk/current/AndroidSDK/
``` ```
Install the platform tools for your target android version:
```sh
androidsdk "platform-tools" "platforms;android-29"
```
Compile the project. This will install all dependencies, make sure to accept Compile the project. This will install all dependencies, make sure to accept
licenses when prompted. licenses when prompted.

View file

@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { buildscript {
ext.kotlin_version = '1.4.30' ext.kotlin_version = '1.5.31'
repositories { repositories {
jcenter() jcenter()
google() google()