New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 709007 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug

Blocking:
issue 638318



Sign in to add a comment

ChromePublicTest.apk will soon hit dex limit in release

Project Member Reported by zqzh...@chromium.org, Apr 6 2017

Issue description

It is weird that release builds have more methods than debug builds.

I found this on ChromePublicTest.apk:

* Release: 64049 methods
* Debug: 38273 methods

For ChromePublic.apk, it is correct:

* Release: 49258
* Debug: 93220

I've attached the method count sorted by Java package name (using tool "dex-method-counts")

Putting as high priority as we are getting very close to the 64K method count limit on release.
 
method_counts_release.txt
17.6 KB View Download
method_counts_debug.txt
11.6 KB View Download
Status: Available (was: Untriaged)
Summary: ChromePublicTest.apk will soon hit dex limit in release (was: ChromePublicTest.apk has more methods on release than debug)
The reason here is that with proguard enabled, the test APK contains the code from ChromePublic.apk in addition to the test code.

Without proguard, the test apk contains only its own code.

It's set up this way because proguard is a whole-program optimizer, and won't work unless it sees *all* of the code needed at runtime.

Looks like we're dangerously close to the limit though, so going to change the title of the bug to reflect that we need to multidex it.
Blocking: 638318
Project Member

Comment 3 by sheriffbot@chromium.org, Apr 6 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Fixed (was: Untriaged)
It had enable_multidex = true added to it:
78730f18fc734d034e44d0dc63091562be82edae

Sign in to add a comment