From 4380004176972d384e24ff032d7cd27b52e3dd62 Mon Sep 17 00:00:00 2001 From: Fredia Huya-Kouadio Date: Wed, 10 Mar 2021 00:14:57 -0800 Subject: Enable `doNotStrip` when doing development/debugging within Android Studio --- platform/android/java/lib/build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'platform/android/java/lib') diff --git a/platform/android/java/lib/build.gradle b/platform/android/java/lib/build.gradle index 6fc9a11a08..663ba73d40 100644 --- a/platform/android/java/lib/build.gradle +++ b/platform/android/java/lib/build.gradle @@ -36,8 +36,10 @@ android { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' - // Should be uncommented for development purpose within Android Studio - // doNotStrip '**/*.so' + // 'doNotStrip' is enabled for development within Android Studio + if (shouldNotStrip()) { + doNotStrip '**/*.so' + } } sourceSets { -- cgit v1.2.3