Closed ray0728 closed 2 years ago
PLATFORM_VERSION_CODENAME=UpsideDownCake
你用的aosp master分支吧,用这边提供的manifest 拉代码
无法直接拉取分支,会提示找不到gerrit.googlesource.com。更换为清华源也不行。提示访问不到 https://mirrors.tuna.tsinghua.edu.cn/git/git-repo
所以才通过下载月更新包 https://mirrors.tuna.tsinghua.edu.cn/aosp-monthly/aosp-latest.tar的方式下载代码。
请问有其他什么好办法可以拉取redroid分支吗?
try export REPO_URL=https://github.com/aosp-mirror/tools_repo.git
then sync again
用镜像可以下载下来了,但是编译的时候又出新的问题。麻烦再帮忙看看吧 m之后提示
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=12
TARGET_PRODUCT=redroid_x86_64
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=x86_64
TARGET_ARCH_VARIANT=x86_64
TARGET_2ND_ARCH=x86
TARGET_2ND_ARCH_VARIANT=x86_64
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.190-android-x86_64-Ubuntu-20.04.3-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=SQ1D.220205.004
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=frameworks/av/services/audiopolicy/config
执行一段时间后就报错了
[100% 251/251] out/soong/.bootstrap/bin/soong_build out/soong/bu
FAILED: out/soong/build.ninja
cd "$(dirname "out/soong/.bootstrap/bin/soong_build")" && BUILDER="$PWD/$(basename "out/soong/.bootstrap/bin/soong_build")" && cd / && env -i "$BUILDER" --top "$TOP" --out "out/soong" -n "out" -d "out/soong/build.ninja.d" -t -l out/.module_paths/Android.bp.list -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used
Android.bp Killed
20:34:56 soong bootstrap failed with: exit status 1 ninja: build stopped: subcommand failed.
用镜像可以下载下来了,但是编译的时候又出新的问题。麻烦再帮忙看看吧 m之后提示
PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=12 TARGET_PRODUCT=redroid_x86_64 TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_ARCH=x86_64 TARGET_ARCH_VARIANT=x86_64 TARGET_2ND_ARCH=x86 TARGET_2ND_ARCH_VARIANT=x86_64 HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-5.4.190-android-x86_64-Ubuntu-20.04.3-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=SQ1D.220205.004 OUT_DIR=out PRODUCT_SOONG_NAMESPACES=frameworks/av/services/audiopolicy/config
执行一段时间后就报错了
[100% 251/251] out/soong/.bootstrap/bin/soong_build out/soong/bu FAILED: out/soong/build.ninja cd "$(dirname "out/soong/.bootstrap/bin/soong_build")" && BUILDER="$PWD/$(basename "out/soong/.bootstrap/bin/soong_build")" && cd / && env -i "$BUILDER" --top "$TOP" --out "out/soong" -n "out" -d "out/soong/build.ninja.d" -t -l out/.module_paths/Android.bp.list -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used Android.bp Killed 20:34:56 soong bootstrap failed with: exit status 1 ninja: build stopped: subcommand failed.
应该是内存不足导致的,我尝试调大swap,编译中暂未出现异常
我做了一些apk的裁剪,编译的时候遇到这样的问题,求助:
裁剪内容:
<remove-project name="platform/packages/apps/BasicSmsReceiver"/>
<remove-project name="platform/packages/apps/Bluetooth"/>
<remove-project name="platform/packages/apps/Browser2"/>
<remove-project name="platform/packages/apps/Calendar" />
<remove-project name="platform/packages/apps/Camera2" />
<remove-project name="platform/packages/apps/Car/Calendar" />
<remove-project name="platform/packages/apps/Car/Cluster" />
<remove-project name="platform/packages/apps/Car/DebuggingRestrictionController" />
<remove-project name="platform/packages/apps/Car/Dialer" />
<remove-project name="platform/packages/apps/Car/Hvac" />
<remove-project name="platform/packages/apps/Car/LatinIME" />
<remove-project name="platform/packages/apps/Car/Launcher" />
<remove-project name="platform/packages/apps/Car/LinkViewer" />
<remove-project name="platform/packages/apps/Car/LocalMediaPlayer" />
<remove-project name="platform/packages/apps/Car/Media" />
<remove-project name="platform/packages/apps/Car/Messenger" />
<remove-project name="platform/packages/apps/Car/Notification" />
<remove-project name="platform/packages/apps/Car/Provision" />
<remove-project name="platform/packages/apps/Car/Radio" />
<remove-project name="platform/packages/apps/Car/RotaryController" />
<remove-project name="platform/packages/apps/Car/Settings" />
<remove-project name="platform/packages/apps/Car/SettingsIntelligence" />
<remove-project name="platform/packages/apps/Car/SystemUpdater" />
<remove-project name="platform/packages/apps/Car/libs" />
<remove-project name="platform/packages/apps/Car/tests" />
<remove-project name="platform/packages/apps/CarrierConfig" />
<remove-project name="platform/packages/apps/CellBroadcastReceiver" />
<remove-project name="platform/packages/apps/CertInstaller" />
<remove-project name="platform/packages/apps/Contacts" />
<remove-project name="platform/packages/apps/DeskClock" />
<remove-project name="platform/packages/apps/DevCamera" />
<remove-project name="platform/packages/apps/Dialer" />
<remove-project name="platform/packages/apps/EmergencyInfo" />
<remove-project name="platform/packages/apps/Gallery" />
<remove-project name="platform/packages/apps/Gallery2" />
<remove-project name="platform/packages/apps/HTMLViewer" />
<remove-project name="platform/packages/apps/ImsServiceEntitlement" />
<remove-project name="platform/packages/apps/KeyChain" />
<remove-project name="platform/packages/apps/LegacyCamera" />
<remove-project name="platform/packages/apps/Messaging" />
<remove-project name="platform/packages/apps/Music" />
<remove-project name="platform/packages/apps/MusicFX" />
<remove-project name="platform/packages/apps/Nfc" />
<remove-project name="platform/packages/apps/OnDeviceAppPrediction" />
<remove-project name="platform/packages/apps/OneTimeInitializer" />
<remove-project name="platform/packages/apps/PhoneCommon" />
<remove-project name="platform/packages/apps/Protips" />
<remove-project name="platform/packages/apps/QuickSearchBox" />
<remove-project name="platform/packages/apps/QuickAccessWallet" />
<remove-project name="platform/packages/apps/SafetyRegulatoryInfo" />
<remove-project name="platform/packages/apps/SampleLocationAttribution" />
<remove-project name="platform/packages/apps/SecureElement" />
<remove-project name="platform/packages/apps/SpareParts" />
<remove-project name="platform/packages/apps/Stk" />
<remove-project name="platform/packages/apps/Tag" />
<remove-project name="platform/packages/apps/ThemePicker" />
<remove-project name="platform/packages/apps/TvSettings" />
<remove-project name="platform/packages/apps/TV" />
<remove-project name="platform/packages/apps/UniversalMediaPlayer" />
<remove-project name="platform/packages/apps/WallpaperPicker" />
<remove-project name="platform/packages/apps/WallpaperPicker2" />
<remove-project name="platform/packages/inputmethods/LatinIME" />
<remove-project name="platform/packages/inputmethods/LeanbackIME" />
<remove-project name="platform/packages/modules/CellBroadcastService" />
<remove-project name="platform/packages/modules/Wifi" />
<remove-project name="platform/packages/providers/BookmarkProvider" />
<remove-project name="platform/packages/providers/CalendarProvider" />
<remove-project name="platform/packages/providers/CallLogProvider" />
<remove-project name="platform/packages/providers/ContactsProvider" />
<remove-project name="platform/packages/providers/TelephonyProvider" />
<remove-project name="platform/packages/services/Telephony" />
<remove-project name="platform/packages/wallpapers/ImageWallpaper" />
<remove-project name="platform/packages/screensavers/Basic" />
<remove-project name="platform/packages/screensavers/PhotoTable" />
<remove-project name="platform/packages/services/Car" />
<remove-project name="platform/packages/services/Mms" />
<remove-project name="platform/packages/wallpapers/LivePicker" />
<remove-project name="platform/packages/modules/ArtPrebuilt" />
<remove-project name="platform/packages/modules/BootPrebuilt/5.4/arm64" />
<remove-project name="platform/packages/modules/BootPrebuilt/5.10/arm64" />
<remove-project name="platform/packages/modules/CaptivePortalLogin" />
<remove-project name="platform/packages/modules/GeoTZ" />
<remove-project name="platform/packages/modules/IPsec" />
<remove-project name="platform/packages/modules/NetworkPermissionConfig" />
<remove-project name="platform/packages/modules/StatsD" />
<remove-project name="platform/packages/modules/TestModule" />
<remove-project name="platform/packages/providers/BlockedNumberProvider" />
<remove-project name="platform/packages/providers/PartnerBookmarksProvider" />
<remove-project name="platform/packages/providers/TvProvider" />
<remove-project name="platform/packages/providers/UserDictionaryProvider" />
<remove-project name="platform/packages/services/BuiltInPrintService" />
<remove-project name="platform/packages/services/Iwlan"/>
<remove-project name="platform/packages/services/Mtp" />
<remove-project name="platform/packages/services/Telecomm" />
编译错误:
FAILED: Installed file list: out/target/product/redroid_x86_64/installed-files-root.txt
Outputs: out/target/product/redroid_x86_64/installed-files-root.txt out/target/product/redroid_x86_64/installed-files-root.json
Error: exited with code: 1
Command: /bin/bash -c "(mkdir -p out/target/product/redroid_x86_64/ ) && (rm -f out/target/product/redroid_x86_64/installed-files-root.txt ) && (out/soong/host/linux-x86/bin/fileslist out/target/product/redroid_x86_64/root > out/target/product/redroid_x86_64/installed-files-root.json ) && (build/make/tools/fileslist_util.py -c out/target/product/redroid_x86_64/installed-files-root.json > out/target/product/redroid_x86_64/installed-files-root.txt )"
Output:
panic: lstat out/target/product/redroid_x86_64/root: no such file or directory
goroutine 1 [running]:
main.main.func2(0x7ffcc58d0dad, 0x26, 0x0, 0x0, 0x52c060, 0xc0000881b0, 0x2e, 0xc0000ac080)
/src/redroid/build/soong/cmd/fileslist/fileslist.go:130 +0x289
path/filepath.Walk(0x7ffcc58d0dad, 0x26, 0xc000090f58, 0x2e, 0x3)
prebuilts/go/linux-x86/src/path/filepath/path.go:404 +0x6b
main.main()
/src/redroid/build/soong/cmd/fileslist/fileslist.go:128 +0x311
更新之后编译redroid-12.0.0_x86_64 报错。麻烦帮忙指正一下是不是缺少了什么依赖,谢谢。
FAILED: //libcore/mmodules/intracoreapi:art.module.intra.core.api.stubs.source metalava merged [common]
Outputs: out/soong/.intermediates/libcore/mmodules/intracoreapi/art.module.intra.core.api.stubs.source/android_common/metalava/art.module.intra.core.api.stubs.source-stubs.srcjar out/soong/.intermediates/libcore/mmodules/intracoreapi/art.module.intra.core.api.stubs.source/android_common/metalava/art.module.intra.core.api.stubs.source_api.txt out/soong/.intermediates/libcore/mmodules/intracoreapi/art.module.intra.core.api.stubs.source/android_common/metalava/art.module.intra.core.api.stubs.source_removed.txt out/soong/.intermediates/libcore/mmodules/intracoreapi/art.module.intra.core.api.stubs.source/android_common/metalava/check_last_released_api.timestamp out/soong/.intermediates/libcore/mmodules/intracoreapi/art.module.intra.core.api.stubs.source/android_common/metalava/last_released_baseline.txt
Error: exited with code: 1
Command: rm -rf out/soong/.intermediates/libcore/mmodules/intracoreapi/art.module.intra.core.api.stubs.source/android_common/metalava && out/soong/host/linux-x86/bin/sbox --sandbox-path out/soong/.temp --manifest out/soong/.intermediates/libcore/mmodules/intracoreapi/art.module.intra.core.api.stubs.source/android_common/metalava.sbox.textproto
Output:
The failing command was run inside an sbox sandbox in temporary directory
out/soong/.temp/sbox/d1f39fc706ecfdb8759b42109ce09092dba106f8
The failing command line was:
rm -rf out/soong/.intermediates/libcore/mmodules/intracoreapi/art.module.intra.core.api.stubs.source/android_common/metalava/stubsDir && mkdir -p out/soong/.intermediates/libcore/mmodules/intracoreapi/art.module.intra.core.api.stubs.source/android_common/metalava/stubsDir && rm -rf ./out/srcjars && mkdir -p ./out/srcjars && ./tools/out/bin/zipsync -d ./out/srcjars -l ./out/srcjars/list -f "*.java" && rm -rf out/soong/.intermediates/libcore/mmodules/intracoreapi/art.module.intra.core.api.stubs.source/android_common/metalava/home && mkdir -p out/soong/.intermediates/libcore/mmodules/intracoreapi/art.module.intra.core.api.stubs.source/android_common/metalava/home && ANDROID_PREFS_ROOT=out/soong/.intermediates/libcore/mmodules/intracoreapi/art.module.intra.core.api.stubs.source/android_common/metalava/home ./tools/out/bin/metalava -J-XX:OnError="cat hs_err_pid%p.log" -J-XX:CICompilerCount=6 -J-XX:+UseDynamicNumberOfGCThreads -J--add-opens=java.base/java.util=ALL-UNNAMED -encoding UTF-8 -source 1.9 @./out/.intermediates/libcore/mmodules/intracoreapi/art.module.intra.core.api.stubs.source/android_common/metalava.rsp @./out/srcjars/list --no-banner --color --quiet --format=v2 --repeat-errors-max 10 --hide UnresolvedImport --api ./out/art.module.intra.core.api.stubs.source_api.txt --removed-api ./out/art.module.intra.core.api.stubs.source_removed.txt --stubs out/soong/.intermediates/libcore/mmodules/intracoreapi/art.module.intra.core.api.stubs.source/android_common/metalava/stubsDir --merge-inclusion-annotations libcore/ojluni/annotations/mmodule --hide-annotation libcore.api.Hide --show-single-annotation libcore.api.IntraCoreApi --skip-annotation-instance-methods=false --hide MissingPermission --hide BroadcastBehavior --hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol --hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo --check-compatibility:api:released libcore/mmodules/intracoreapi/api/intra/last-api.txt --check-compatibility:removed:released libcore/mmodules/intracoreapi/api/intra/last-removed.txt --baseline:compatibility:released libcore/mmodules/intracoreapi/api/intra/last-incompatibilities.txt --update-baseline:compatibility:released ./out/last_released_baseline.txt --error-message:compatibility:released $'\n******************************\nYou have tried to change the API from what has been previously released in\nan SDK. Please fix the errors listed above.\n******************************\n' && ./tools/out/bin/soong_zip -write_if_changed -jar -o ./out/art.module.intra.core.api.stubs.source-stubs.srcjar -C out/soong/.intermediates/libcore/mmodules/intracoreapi/art.module.intra.core.api.stubs.source/android_common/metalava/stubsDir -D out/soong/.intermediates/libcore/mmodules/intracoreapi/art.module.intra.core.api.stubs.source/android_common/metalava/stubsDir && touch ./out/check_last_released_api.timestamp && rm -rf out/soong/.intermediates/libcore/mmodules/intracoreapi/art.module.intra.core.api.stubs.source/android_common/metalava/srcjars
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.concurrent.ConcurrentHashMap$EntryIterator.next(ConcurrentHashMap.java:3498)
at java.base/java.util.concurrent.ConcurrentHashMap$EntryIterator.next(ConcurrentHashMap.java:3483)
at java.base/java.util.HashMap.putMapEntries(HashMap.java:507)
at java.base/java.util.HashMap.<init>(HashMap.java:485)
at java.base/java.util.PropertyResourceBundle.<init>(PropertyResourceBundle.java:201)
at java.base/java.util.PropertyResourceBundle.<init>(PropertyResourceBundle.java:177)
at java.base/java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:3235)
at java.base/java.util.ResourceBundle.loadBundle(ResourceBundle.java:1994)
at java.base/java.util.ResourceBundle.findBundle(ResourceBundle.java:1776)
at java.base/java.util.ResourceBundle.findBundle(ResourceBundle.java:1728)
at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1662)
at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1593)
at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:1509)
at com.intellij.AbstractBundle.findBundle(AbstractBundle.java:132)
at com.intellij.DynamicBundle.findBundle(DynamicBundle.java:33)
at com.intellij.AbstractBundle.getResourceBundle(AbstractBundle.java:119)
at com.intellij.AbstractBundle.getResourceBundle(AbstractBundle.java:103)
at com.intellij.AbstractBundle.getResourceBundle(AbstractBundle.java:95)
at com.intellij.AbstractBundle.getMessage(AbstractBundle.java:44)
at com.intellij.core.JavaPsiBundle.message(JavaPsiBundle.java:33)
at com.intellij.lang.java.parser.ReferenceParser.parseReferenceParameterList(ReferenceParser.java:285)
at com.intellij.lang.java.parser.ReferenceParser.parseJavaCodeReference(ReferenceParser.java:220)
at com.intellij.lang.java.parser.ReferenceParser.parseTypeInfo(ReferenceParser.java:116)
at com.intellij.lang.java.parser.ReferenceParser.parseTypeInfo(ReferenceParser.java:56)
at com.intellij.lang.java.parser.ExpressionParser.parsePrimaryExpressionStart(ExpressionParser.java:554)
at com.intellij.lang.java.parser.ExpressionParser.parsePrimary(ExpressionParser.java:341)
at com.intellij.lang.java.parser.ExpressionParser.parsePostfix(ExpressionParser.java:322)
at com.intellij.lang.java.parser.ExpressionParser.parseUnary(ExpressionParser.java:316)
at com.intellij.lang.java.parser.ExpressionParser.parseExpression(ExpressionParser.java:166)
at com.intellij.lang.java.parser.ExpressionParser.parseBinary(ExpressionParser.java:198)
at com.intellij.lang.java.parser.ExpressionParser.parseExpression(ExpressionParser.java:163)
at com.intellij.lang.java.parser.ExpressionParser.parseBinary(ExpressionParser.java:198)
exit status 1
FAILED: //libcore:art-module-public-api-stubs-nullability-validation metalava merged [common]
Outputs: out/soong/.intermediates/libcore/art-module-public-api-stubs-nullability-validation/android_common/metalava/art-module-public-api-stubs-nullability-validation-stubs.srcjar out/soong/.intermediates/libcore/art-module-public-api-stubs-nullability-validation/android_common/metalava/art-module-public-api-stubs-nullability-validation_annotations.zip out/soong/.intermediates/libcore/art-module-public-api-stubs-nullability-validation/android_common/metalava/art-module-public-api-stubs-nullability-validation_nullability_warnings.txt
Error: exited with code: 1
Command: rm -rf out/soong/.intermediates/libcore/art-module-public-api-stubs-nullability-validation/android_common/metalava && out/soong/host/linux-x86/bin/sbox --sandbox-path out/soong/.temp --manifest out/soong/.intermediates/libcore/art-module-public-api-stubs-nullability-validation/android_common/metalava.sbox.textproto
Output:
The failing command was run inside an sbox sandbox in temporary directory
out/soong/.temp/sbox/0ca22a9cd5b48a5ddb838ea16bed78b7ca5ec83b
The failing command line was:
rm -rf out/soong/.intermediates/libcore/art-module-public-api-stubs-nullability-validation/android_common/metalava/stubsDir && mkdir -p out/soong/.intermediates/libcore/art-module-public-api-stubs-nullability-validation/android_common/metalava/stubsDir && rm -rf ./out/srcjars && mkdir -p ./out/srcjars && ./tools/out/bin/zipsync -d ./out/srcjars -l ./out/srcjars/list -f "*.java" && rm -rf out/soong/.intermediates/libcore/art-module-public-api-stubs-nullability-validation/android_common/metalava/home && mkdir -p out/soong/.intermediates/libcore/art-module-public-api-stubs-nullability-validation/android_common/metalava/home && ANDROID_PREFS_ROOT=out/soong/.intermediates/libcore/art-module-public-api-stubs-nullability-validation/android_common/metalava/home ./tools/out/bin/metalava -J-XX:OnError="cat hs_err_pid%p.log" -J-XX:CICompilerCount=6 -J-XX:+UseDynamicNumberOfGCThreads -J--add-opens=java.base/java.util=ALL-UNNAMED -encoding UTF-8 -source 1.9 @./out/.intermediates/libcore/art-module-public-api-stubs-nullability-validation/android_common/metalava.rsp @./out/srcjars/list --no-banner --color --quiet --format=v2 --repeat-errors-max 10 --hide UnresolvedImport --stubs out/soong/.intermediates/libcore/art-module-public-api-stubs-nullability-validation/android_common/metalava/stubsDir --exclude-documentation-from-stubs --include-annotations --exclude-annotation androidx.annotation.RequiresApi --validate-nullability-from-list libcore/nullability_annotated_classes.txt --nullability-warnings-txt ./out/art-module-public-api-stubs-nullability-validation_nullability_warnings.txt --extract-annotations ./out/art-module-public-api-stubs-nullability-validation_annotations.zip --merge-qualifier-annotations libcore/ojluni/annotations/sdk/nullability --hide HiddenTypedefConstant --hide SuperfluousPrefix --hide AnnotationExtraction --merge-inclusion-annotations libcore/ojluni/annotations/mmodule --hide-annotation libcore.api.Hide --validate-nullability-from-merged-stubs && ./tools/out/bin/soong_zip -write_if_changed -jar -o ./out/art-module-public-api-stubs-nullability-validation-stubs.srcjar -C out/soong/.intermediates/libcore/art-module-public-api-stubs-nullability-validation/android_common/metalava/stubsDir -D out/soong/.intermediates/libcore/art-module-public-api-stubs-nullability-validation/android_common/metalava/stubsDir && rm -rf out/soong/.intermediates/libcore/art-module-public-api-stubs-nullability-validation/android_common/metalava/srcjars
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at gnu.trove.TIntArrayList.<init>(TIntArrayList.java:61)
at com.intellij.lang.impl.MarkerProduction.<init>(MarkerProduction.java:35)
at com.intellij.lang.impl.PsiBuilderImpl.<init>(PsiBuilderImpl.java:88)
at com.intellij.lang.impl.PsiBuilderImpl.<init>(PsiBuilderImpl.java:111)
at com.intellij.lang.impl.PsiBuilderFactoryImpl.createBuilder(PsiBuilderFactoryImpl.java:37)
at com.intellij.lang.java.parser.JavaParserUtil.parseFragment(JavaParserUtil.java:203)
at com.intellij.psi.impl.source.tree.JavaDocElementType$1.parseContents(JavaDocElementType.java:77)
at com.intellij.psi.impl.source.tree.LazyParseableElement.lambda$ensureParsed$0(LazyParseableElement.java:192)
at com.intellij.psi.impl.source.tree.LazyParseableElement$$Lambda$157/0x00000001002d2c40.run(Unknown Source)
at com.intellij.psi.impl.DebugUtil.performPsiModification(DebugUtil.java:565)
at com.intellij.psi.impl.source.tree.LazyParseableElement.ensureParsed(LazyParseableElement.java:191)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:242)
at com.intellij.psi.impl.source.tree.LazyParseablePsiElement.getFirstChild(LazyParseablePsiElement.java:88)
at com.intellij.psi.impl.source.tree.LazyParseablePsiElement.acceptChildren(LazyParseablePsiElement.java:102)
at com.intellij.psi.JavaRecursiveElementVisitor.visitElement(JavaRecursiveElementVisitor.java:44)
at com.intellij.psi.impl.source.tree.LazyParseablePsiElement.accept(LazyParseablePsiElement.java:242)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:80)
at com.intellij.psi.JavaRecursiveElementVisitor.visitElement(JavaRecursiveElementVisitor.java:44)
at com.intellij.psi.JavaElementVisitor.visitDocTag(JavaElementVisitor.java:76)
at com.intellij.psi.JavaElementVisitor.visitInlineDocTag(JavaElementVisitor.java:140)
at com.intellij.psi.impl.source.javadoc.PsiInlineDocTagImpl.accept(PsiInlineDocTagImpl.java:105)
at com.intellij.psi.impl.source.tree.LazyParseablePsiElement.acceptChildren(LazyParseablePsiElement.java:104)
at com.intellij.psi.JavaRecursiveElementVisitor.visitElement(JavaRecursiveElementVisitor.java:44)
at com.intellij.psi.PsiElementVisitor.visitComment(PsiElementVisitor.java:59)
at com.intellij.psi.JavaElementVisitor.visitDocComment(JavaElementVisitor.java:72)
at com.intellij.psi.impl.source.javadoc.PsiDocCommentImpl.accept(PsiDocCommentImpl.java:334)
at com.intellij.psi.impl.source.tree.SharedImplUtil.acceptChildren(SharedImplUtil.java:185)
at com.intellij.psi.impl.source.PsiFileImpl.acceptChildren(PsiFileImpl.java:753)
at com.intellij.psi.JavaRecursiveElementVisitor.visitElement(JavaRecursiveElementVisitor.java:44)
at com.intellij.psi.PsiElementVisitor.visitFile(PsiElementVisitor.java:35)
at com.intellij.psi.JavaElementVisitor.visitJavaFile(JavaElementVisitor.java:340)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.accept(PsiJavaFileBaseImpl.java:467)
exit status 1
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
you need more RAM (or restart and try again).
参考文档说明,编译android源码时候报错,请问这是什么原因导致的呢?谢谢
执行的docker命令: