Skip to content

Commit 2a276f5

Browse files
committed
Add diagnostics
1 parent 9cf3b46 commit 2a276f5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/check.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,18 @@ jobs:
184184
uses: android-actions/setup-android@v3
185185
with:
186186
packages: tools platform-tools ndk;${{ env.NDK_VERSION }}
187+
- name: Verify Android SDK setup
188+
run: |
189+
echo "ANDROID_HOME: $ANDROID_HOME"
190+
echo "ANDROID_SDK_ROOT: $ANDROID_SDK_ROOT"
191+
echo "Checking for legacy tools directory:"
192+
ls -la "$ANDROID_HOME/tools/bin/" 2>/dev/null || echo "Legacy tools directory not found"
193+
echo "Checking for cmdline-tools:"
194+
ls -la "$ANDROID_HOME/cmdline-tools/" 2>/dev/null || echo "cmdline-tools directory not found"
195+
echo "Checking which sdkmanager is in PATH:"
196+
which sdkmanager || echo "sdkmanager not found in PATH"
197+
echo "Java version:"
198+
java -version
187199
- run: rustup target add x86_64-linux-android aarch64-linux-android armv7-linux-androideabi i686-linux-android aarch64-apple-ios-sim
188200
- run: npm ci
189201
- run: npm run bootstrap

0 commit comments

Comments
 (0)