Fixed
Status Update
Comments
uc...@google.com <uc...@google.com>
ia...@arctouch.com <ia...@arctouch.com> #2
[Comment deleted]
xa...@google.com <xa...@google.com>
je...@google.com <je...@google.com> #3
[Comment deleted]
ia...@arctouch.com <ia...@arctouch.com> #4
Also of note is the adb error when trying to install bad APK: INSTALL_FAILED_DEXOPT
je...@google.com <je...@google.com>
sp...@google.com <sp...@google.com> #5
load dex files over 5Gb. -> load dex files over 5Mb.
an...@google.com <an...@google.com>
an...@google.com <an...@google.com> #6
Same here! Looking forward to a solution :)
Android Studio version: 0.8.12
buildToolsVersion 21.0.1
Gradle 1.11
Android Studio version: 0.8.12
buildToolsVersion 21.0.1
Gradle 1.11
an...@google.com <an...@google.com> #7
There is already an option in dx allowing to force generation of smaller dex files:
--set-max-idx-number=<value>
Unfortunately changing the default is not a solution since the linearAlloc limit can be reached at very different levels depending on the classes hierarchy and other criteria.
In addition for most applications, moving to multidex will only help to workaround the linearalloc limit for the installation. But the application will still crash against the same limit at execution. The only working use case where I know multidex can help with linearalloc is when the apk does not contains one application but distinct pieces running in separate process.
--set-max-idx-number=<value>
Unfortunately changing the default is not a solution since the linearAlloc limit can be reached at very different levels depending on the classes hierarchy and other criteria.
In addition for most applications, moving to multidex will only help to workaround the linearalloc limit for the installation. But the application will still crash against the same limit at execution. The only working use case where I know multidex can help with linearalloc is when the apk does not contains one application but distinct pieces running in separate process.
[Deleted User] <[Deleted User]> #8
Comment has been deleted.
[Deleted User] <[Deleted User]> #9
Comment has been deleted.
Description
AI-182.5107.16.33.5264788, JRE 1.8.0_152-release-1248-b01x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.13.6 unknown, screens 1280x800, 1920x1080; Retina
Android Gradle Plugin: 3.3.1
Gradle: 4.10.2
NDK: from local.properties: (not specified); latest from SDK: (not found);
LLDB: pinned revision 3.1 not found; latest from SDK: (package not found);
CMake: from local.properties: (not specified); latest from SDK: (not found); from PATH: 3.12.2;
Source: user_sentiment_feedback
IMPORTANT: Please read