luckybilly / luckybilly/CC

Rebuild Project或者Make Project失败

Open
#184 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
4k
Forks
631
PR merge metrics
No merged PRs in 30d

Description

在使用CC时,点击Rebuild Project或者Make Project会失败,会报“Cannot fit requested classes in a single dex file (# methods: 78448 > 65536 ; # fields: 82718 > 65536)”这个错误,分包已经加了,但是运行和打包是没问题的。这是什么问题呢?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure by using CC with Android Studio's Rebuild Project or Make Project actions, and capture the reported dex method and field limits. Start by tracing the build path involved in those actions and compare it with the already-working run and packaging paths. Done means the cause is identified and the project can rebuild successfully without changing the working behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.