Skip to content

ming2d941/GTIntercherAndroid

 
 

Repository files navigation

GTIntercherAndroid

GTIntercherAndroid is GTInternalAndroid + GTLauncherAndroid. (After GTIntercherAndroid update i will update GTInternalAndroid and GTLauncherAndroid, if i'm not lazy :D.)

📜 Features

  • Launch growtopia without having to update the launcher if the game is updated.
  • Floating Windows.

😋 Coming Soon

💻 Requirements

The following dependencies are required to build the library from source.

🔨 Building

  • Android

    Download the Android SDK and Android NDK.

    # install openjdk-17
    pkg install openjdk-17
    
    # install gradle
    pkg install gradle

    Add a local.properties file to the root of the project as below

    # modify the local.properties file
    # although ndk.dir has been deprecated, but it still works
    sdk.dir=/path/to/android-sdk
    ndk.dir=/path/to/android-ndk
    # for example:
    sdk.dir=/data/data/com.termux/files/home/android-sdk
    ndk.dir=/data/data/com.termux/files/home/android-ndk-r23b

    Execute the gradle build command to start building the android app, when building for the first time, the below error will occur. this is because the gradle plugin will download a corresponding version of aapt2-7.0.3-7396180-linux.jar, we need to replace it.

    Replace the aapt2 in aapt2-7.0.3-7396180-linux.jar with aapt2-7.0.3-7396180-linux.jar or Making AGP jar file you need sdk-tools/build-tools/aapt2

    # aapt2 is inside the jar file(aapt2-7.0.3-7396180-linux.jar)
    # because the aapt2 is x86_64 architecture not aarch64, so we need to replace it
    # execute the find command to search aapt2-xxx-linux.jar, then replace it
    cd ~/.gradle
    find . -type f -name aapt2-*-linux.jar
    cp /path/to/aapt2-7.0.3-7396180-linux.jar /the/output/from/find/command

    If an error occurs during the build app, this may be a network problem, please execute the gradle build again or execute the gradle build --info for more information.

    Tutorial by: https://github.com/Lzhiyong/termux-ndk/tree/master/build-app

If you can't make it, you can download the finished application on the release page.

About

GTInternalAndroid + GTLauncherAndroid ?

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 56.7%
  • C 23.9%
  • Java 18.3%
  • Other 1.1%