Fix: Fix weird R8 NPE on Android 6 only: Attempt to get length of nul… #296
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Android CI | |
| on: | |
| push: | |
| branches: [ "develop" ] | |
| pull_request: | |
| branches: [ "develop" ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # https://github.com/actions/checkout | |
| - uses: actions/checkout@v6 | |
| # region [Android SDK] | |
| # https://github.com/android-actions/setup-android | |
| - name: Setup Android SDK | |
| uses: android-actions/setup-android@v4 | |
| with: | |
| packages: '' | |
| # https://developer.android.com/tools/sdkmanager#install | |
| # https://github.com/imknown/AndroidLowLevelDetector/blob/develop/gradle/toml/build.toml | |
| - name: Install Android SDK Cmake | |
| run: sdkmanager --install "cmake;4.1.2" | |
| - name: Install Android SDK NDK | |
| # https://github.com/android/ndk/releases | |
| run: sdkmanager --install "ndk;30.0.14904198" | |
| # endregion [Android SDK] | |
| # region [Gradle] | |
| - name: Build with Gradle | |
| run: ./gradlew assembleFossDebug | |
| # endregion [Gradle] |