Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
V2EX
›
Android
Android 编译支持 MultiDex 应该怎么设置,老是报错
ldehai
·
Dec 12, 2015
· 13005 views
This topic created in 3800 days ago, the information mentioned may be changed or developed.
现在编译老是报这个错误
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
老是
编译
Execution
multidex
1 replies
•
2015-12-12 12:20:37 +08:00
1
ldehai
OP
Dec 12, 2015
解决了,貌似是给 Java 分配的内存不够用,加了如下配置:
dexOptions {
javaMaxHeapSize "4g"
preDexLibraries = false
}
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
5882 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 44ms ·
UTC 06:35
·
PVG 14:35
·
LAX 23:35
·
JFK 02:35
♥ Do have faith in what you're doing.
❯