From b8c8f0b86711b1d58e73502546e2cdffdfb02e03 Mon Sep 17 00:00:00 2001 From: Jun Luo <4catcode@gmail.com> Date: Thu, 19 Sep 2024 19:31:26 +0800 Subject: [PATCH 1/3] debug ci --- .github/workflows/test-deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index 8869ca78f..0b69bd9a0 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -78,7 +78,9 @@ jobs: matrix: emulator: [ # Temporarily disabled due to emulator issues - # { api-level: 23, target: google_apis }, + { api-level: 23, target: google_apis }, + { api-level: 26, target: google_apis }, + { api-level: 27, target: google_apis }, { api-level: 34, target: playstore } ] steps: From fac3206e1644af15d51a14ce4399af7498dfc0b9 Mon Sep 17 00:00:00 2001 From: Jun Luo <4catcode@gmail.com> Date: Thu, 19 Sep 2024 19:43:15 +0800 Subject: [PATCH 2/3] debug ci --- .github/workflows/test-deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index 0b69bd9a0..874fbb467 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -79,8 +79,9 @@ jobs: emulator: [ # Temporarily disabled due to emulator issues { api-level: 23, target: google_apis }, + { api-level: 24, target: google_apis }, + { api-level: 25, target: google_apis }, { api-level: 26, target: google_apis }, - { api-level: 27, target: google_apis }, { api-level: 34, target: playstore } ] steps: From 16fbd375c6cc0e9f3ee8c6a20a89ded96b59722c Mon Sep 17 00:00:00 2001 From: Jun Luo <4catcode@gmail.com> Date: Thu, 19 Sep 2024 20:31:49 +0800 Subject: [PATCH 3/3] debug ci --- .github/workflows/test-deploy.yml | 4 ---- .../org/stellar/javastellarsdkdemoapp/MainActivity.kt | 9 +++++---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index 874fbb467..4e8c20da6 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -77,11 +77,7 @@ jobs: fail-fast: false matrix: emulator: [ - # Temporarily disabled due to emulator issues { api-level: 23, target: google_apis }, - { api-level: 24, target: google_apis }, - { api-level: 25, target: google_apis }, - { api-level: 26, target: google_apis }, { api-level: 34, target: playstore } ] steps: diff --git a/android_test/app/src/main/java/org/stellar/javastellarsdkdemoapp/MainActivity.kt b/android_test/app/src/main/java/org/stellar/javastellarsdkdemoapp/MainActivity.kt index b5d2da1bf..9a460c42a 100644 --- a/android_test/app/src/main/java/org/stellar/javastellarsdkdemoapp/MainActivity.kt +++ b/android_test/app/src/main/java/org/stellar/javastellarsdkdemoapp/MainActivity.kt @@ -151,10 +151,11 @@ private fun testSDK(): String { } // Test Federation - val fedResp = Federation().resolveAddress("example*lobstr.co") - if (fedResp == null || fedResp.accountId == null) { - throw Exception("Query Federation failed") - } + // Disable the test: https://stackoverflow.com/questions/64844311/certpathvalidatorexception-connecting-to-a-lets-encrypt-host-on-android-m-or-ea + // val fedResp = Federation().resolveAddress("example*lobstr.co") + // if (fedResp == null || fedResp.accountId == null) { + // throw Exception("Query Federation failed") + // } // build and parse transaction val source: KeyPair =