Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
KaeruCT authored Jun 23, 2021
1 parent 172cc53 commit 5303402
Showing 1 changed file with 1 addition and 47 deletions.
48 changes: 1 addition & 47 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,53 +4,7 @@ A simplified gravity simulator for Android, built with [libgdx](http://libgdx.ba

# Building

## Eclipse
If you have [Eclipse with the ADT Plugin](https://developer.android.com/tools/sdk/eclipse-adt.html), you can
just [download this zip](https://github.com/KaeruCT/glxy-android/archive/master.zip), extract it,
import the projects inside into Eclipse and then export an APK.

## Ant
You can also build the application with Apache Ant.
To build, you will need to have the [Android SDK](https://developer.android.com/sdk/index.html)
and [Apache Ant](https://github.com/apache/ant) installed.

Be sure to have a supported target SDK version installed.
This application needs from version 5 onwards. It has been tested with version 17.
You can list the SDK versions you have installed with `$ android list targets`

Additionally, you will need jarsigner if you want to sign the resulting APK.
The jarsigner utility comes with the Java JDK.

1. Clone the repo:

`$ git clone https://github.com/KaeruCT/GLXY.git`

2. Go into the android project directory:

`$ cd GLXY/glxy-android`

4. Update the Android project:

`$ android update project --path . --target android-17`

If you don't have version 17 of the SDK, replace `android-17` for one the
SDK versions you have installed.

3. Run Ant:

`$ ant release`

4. Sign the resulting APK file:
```
$ mv bin/GLXY-release-unsigned.apk GLXY.apk && \
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 \
-keystore my-release-key.keystore GLXY.apk alias_name
```
5. Install the APK to your device:

You can do this manually, or with [adb](http://developer.android.com/tools/help/adb.html):

`$ adb install GLXY.apk`
You can build this with Gradle or Android Studio.

# Controls

Expand Down

0 comments on commit 5303402

Please sign in to comment.