setup-android
setup-android copied to clipboard
Build with ndk
I tried to setup a libGDX application for building.
On the first build is the wrong ndk version installed.
https://github.com/SimonIT/CollapseTheGame/runs/1460452130
After specifying the installed ndk version in the build.gradle the following error appears:
https://github.com/SimonIT/CollapseTheGame/runs/1460505051
(More details: https://github.com/SimonIT/CollapseTheGame/runs/1465844104)
@SimonIT , this is available since [email protected] , try it out.
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- name: Install NDK
run: sdkmanager "ndk;22.0.7026061"
Cool! Will try it
I resolved the other errors by the by creating a debug keystore. Maybe that's something also to consider for this nice action
I'm 80% sure that the debug store would be created by android tools when you run gradle build. I'm saying this because I can't recall ever having to create it manually. Recall creating release store, but not debug.
Also, like you already know from your build.yml , creating a keystore requires a boatload of arguments and I already see the ugliness of optionally adding them to action.yml . Let's just see if it works without creating it manually first :crossed_fingers: