出现以下错误,但是当我增加“最大堆大小”时,它没有任何作用。我已经升级到8G,没有任何变化。还有其他事情吗?
抑制状态 错误java.lang.OutOfMemoryError。考虑增加$(JavaMaximumHeapSize)的值。 Java执行'java.exe -Xmx1G -jar“ C:\ Program Files(x86)\ Android \ android-sdk \ build-tools \ 28.0.0-rc1 \ lib \ dx.jar”时内存不足--no-strict --output obj \ Debug \ android \ bin“ C:\ code \ Droid \ obj \ Debug \ android \ bin \ classes.zip”“” C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Community \ Common7 \ IDE \ ReferenceAssemblies \ Microsoft \ Framework \ MonoAndroid \ v8.0 \ mono.android.jar“ obj \ Debug \ lp \ 10 \ jl \ bin \ classes.jar obj \ Debug \ lp \ 11 \ jl \ bin \ classes.jar obj \ Debug \ lp \ 12 \ jl \ bin \ classes.jar obj \ Debug \ lp \ 13 \ jl \ bin \ classes.jar obj \ Debug \ lp \ 14 \ jl \ bin \ classes.jar obj \ Debug \ lp \ 15 \ jl \ bin \ classes.jar obj \ Debug \ lp \ 16 \ jl \ bin \ classes.jar obj \ Debug \ lp \ 17 \ jl \ bin \ classes.jar obj \ Debug \ lp \ 18 \ jl \ bin \ classes.jar obj \ Debug \ lp \ 19 \ jl \ classes.jar obj \ Debug \ lp \ 20 \ jl \ classes.jar obj \ Debug \ lp \ 21 \ jl \ classes.jar obj \ Debug \ lp \ 22 \ jl \ classes.jar obj \ Debug \ lp \ 3 \ jl \ arch-core-common.jar obj \ Debug \ lp \ 4 \ jl \ arch-lifecycle-common.jar obj \ Debug \ lp \ 5 \ jl \ bin \ classes.jar obj \ Debug \ lp \ 6 \ jl \ bin \ classes.jar obj \ Debug \ lp \ 8 \ jl \ bin \ classes.jar obj \ Debug \ lp \ 9 \ jl \ bin \ classes.jar'