Skip to content

Commit

Permalink
Updates prerequisite instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Raymond Oung committed May 26, 2020
1 parent 500d7e7 commit e776798
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ These scripts have currently been tested on:
* Ubuntu 18.04


## Prerequisites
Scripts in this repository require the Android SDK, see [Android SDK installation instructions](https://www.androidcentral.com/installing-android-sdk-windows-mac-and-linux-tutorial) for installation details. Once installed, export the SDK's path to the `ANDROID_HOME` environment variable, for example:
```
export ANDROID_HOME=/path/to/Android/Sdk/
```

To run `package_name.sh`, you will need `aapt` installed in `/usr/bin/`:
```
sudo apt install aapt
```


## TL;DR
Clone the repository and update submodules:
```
Expand Down Expand Up @@ -33,13 +45,6 @@ $ ./shortcut.sh com.android.chrome "Chrome"
The file `chrome_shortcut.apk` should then appear in the same directory.


## Dependencies
Scripts in this repository require the Android SDK, see [Android SDK installation instructions](https://www.androidcentral.com/installing-android-sdk-windows-mac-and-linux-tutorial) for installation details. Once installed, export the SDK's path to the `ANDROID_HOME` environment variable, for example:
```
export ANDROID_HOME=/path/to/Android/Sdk/
```


## Usage
### package_name.sh
Returns an APK's the package-name.
Expand Down

0 comments on commit e776798

Please sign in to comment.