From 70009f80abaeded8b0aea358a320b2aabfb26fb2 Mon Sep 17 00:00:00 2001 From: Siddarth Kumar Date: Sat, 17 Aug 2024 14:41:20 +0530 Subject: [PATCH] chore_: fix APK selection for run-android script (#21075) This commit fixes the APK selection process when executing `make run-android` --- scripts/run-android.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-android.sh b/scripts/run-android.sh index 4d4f757031..071ea90c40 100755 --- a/scripts/run-android.sh +++ b/scripts/run-android.sh @@ -13,7 +13,7 @@ export BUILD_TYPE=debug # Install the APK on running emulator or android device. installAndLaunchApp() { - adb install -r ./result/app-arm64-v8a-debug.apk > "${ADB_INSTALL_LOG_FILE}" 2>&1 + adb install -r "./result/app-${ANDROID_ABI_INCLUDE}-debug.apk" > "${ADB_INSTALL_LOG_FILE}" 2>&1 "${GIT_ROOT}/scripts/wait-for-metro-port.sh" 2>&1 # connected android devices need this port to be exposed for metro adb reverse "tcp:${RCT_METRO_PORT}" "tcp:${RCT_METRO_PORT}"