From c931356142108e93619dffffba9c2ed41f42d57b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=97=D0=B0=D1=86=D0=B5=D0=BF=D0=B8=D0=BD?= Date: Wed, 18 Oct 2017 19:44:42 +0300 Subject: [PATCH] [android] Added multidex config file to avoid NoClassDefFound crashes on start --- android/build.gradle | 1 + android/multidex-config.txt | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 android/multidex-config.txt diff --git a/android/build.gradle b/android/build.gradle index 2245d7d7b9..a2a299a798 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -133,6 +133,7 @@ android { buildConfigField 'String', 'PW_APPID', /"${pwProps['pwAppId']}"/ manifestPlaceholders += ['PW_PROJECT_ID': pwProps['pwProjectId']] multiDexEnabled true + multiDexKeepFile file('multidex-config.txt') externalNativeBuild { cmake { diff --git a/android/multidex-config.txt b/android/multidex-config.txt new file mode 100644 index 0000000000..98aef7659c --- /dev/null +++ b/android/multidex-config.txt @@ -0,0 +1,12 @@ +com/mapswithme/maps/bookmarks/data/MapObject.class +com/mapswithme/maps/bookmarks/data/FeatureId.class +com/mapswithme/maps/bookmarks/data/Bookmark.class +com/my/tracker/MyTracker.class +com/mapswithme/util/HttpClient.class +com/mapswithme/util/HttpClient$Params.class +com/mapswithme/util/HttpClient$HttpHeader.class +com/mapswithme/maps/location/PlatformSocket.class +com/mapswithme/util/Utils.class +com/mapswithme/maps/ads/Banner.class +com/mapswithme/maps/ugc/UGC$Rating.class +com/mapswithme/util/log/LoggerFactory.class