最近启动Android Studio一直打不开,报错:Translated Report (Full Report Below)
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: studio [44539]
Path: /Applications/Android Studio Preview.app/Contents/MacOS/studio
Identifier: com.google.android.studio-EAP
Version: EAP AI-213.7172.25.2211.8571212 (AI-213.7172.25.2211.8571212)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-04-21 09:47:35.9905 +0800
OS Version: macOS 13.3.1 (22E261)
Report Version: 12
Crashed Thread: 3
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called
Application Specific Backtrace 0:
0 CoreFoundation 0x000000019697b19c __exceptionPreprocess + 176
1 libobjc.A.dylib 0x000000019649a4d4 objc_exception_throw + 60
2 CoreFoundation 0x00000001969a43f4 _CFBundleGetValueForInfoKey + 0
3 AppKit 0x0000000199b42c14 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 320
4 AppKit 0x0000000199b30ee8 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 816
5 AppKit 0x0000000199c8b26c -[NSPanel _initContent:styleMask:backing:defer:contentView:] + 48
6 AppKit 0x0000000199b30bac -[NSWindow initWithContentRect:styleMask:backing:defer:] + 48
7 AppKit 0x0000000199c8b220 -[NSPanel initWithContentRect:styleMask:backing:defer:] + 48
8 AppKit 0x0000000199b2f90c -[NSWindowTemplate nibInstantiate] + 216
9 AppKit 0x0000000199b027e4 -[NSIBObjectData instantiateObject:] + 212
10 AppKit 0x0000000199b021b0 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 252
11 AppKit 0x0000000199af7f6c loadNib + 340
12 AppKit 0x0000000199af759c +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 560
13 AppKit 0x0000000199af72a0 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 180
14 AppKit 0x0000000199dc8e28 -[NSAlert init] + 92
15 studio 0x0000000102d18be0 parseVMOptions + 1092
16 studio 0x0000000102d17bd8 -[Launcher buildArgsFor:] + 180
17 studio 0x0000000102d181e8 -[Launcher launch] + 644
18 Foundation 0x000000019787263c __NSThread__start__ + 716
19 libsystem_pthread.dylib 0x0000000196823fa8 _pthread_start + 148
20 libsystem_pthread.dylib 0x000000019681eda0 thread_start + 8
Kernel Triage:
VM - (arg = 0x0) pmap_enter retried due to resource shortage
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x1967e3f14 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1967f6240 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1967ecb78 mach_msg_overwrite + 604
3 libsystem_kernel.dylib 0x1967e4290 mach_msg + 24
4 CoreFoundation 0x1969028b8 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x196901198 __CFRunLoopRun + 1208
6 CoreFoundation 0x19690058c CFRunLoopRunSpecific + 612
7 studio 0x102d17630 parkRunLoop + 124
8 studio 0x102d17500 main + 280
9 dyld 0x1964cbf28 start + 2236
Thread 1:
0 libsystem_pthread.dylib 0x19681ed8c start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x19681ed8c start_wqthread + 0
Thread 3 Crashed:
0 libsystem_kernel.dylib 0x1967ec724 __pthread_kill + 8
1 libsystem_pthread.dylib 0x196823c28 pthread_kill + 288
2 libsystem_c.dylib 0x196731ae8 abort + 180
3 libc++abi.dylib 0x1967dcb84 abort_message + 132
4 libc++abi.dylib 0x1967cc3d0 demangling_terminate_handler() + 348
5 libobjc.A.dylib 0x1964a302c _objc_terminate() + 144
6 libc++abi.dylib 0x1967dbf48 std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x1967ded34 __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) + 36
8 libc++abi.dylib 0x1967dece0 __cxa_throw + 140
9 libobjc.A.dylib 0x19649a634 objc_exception_throw + 412
10 CoreFoundation 0x1969a43f4 -[NSException raise] + 16
11 AppKit 0x199b42c14 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 320
12 AppKit 0x199b30ee8 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 816
13 AppKit 0x199c8b26c -[NSPanel _initContent:styleMask:backing:defer:contentView:] + 48
14 AppKit 0x199b30bac -[NSWindow initWithContentRect:styleMask:backing:defer:] + 48
15 AppKit 0x199c8b220 -[NSPanel initWithContentRect:styleMask:backing:defer:] + 48
16 AppKit 0x199b2f90c -[NSWindowTemplate nibInstantiate] + 216
17 AppKit 0x199b027e4 -[NSIBObjectData instantiateObject:] + 212
18 AppKit 0x199b021b0 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 252
19 AppKit 0x199af7f6c loadNib + 340
20 AppKit 0x199af759c +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 560
21 AppKit 0x199af72a0 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 180
22 AppKit 0x199dc8e28 -[NSAlert init] + 92
23 studio 0x102d18be0 parseVMOptions + 1092
24 studio 0x102d17bd8 -[Launcher buildArgsFor:] + 180
25 studio 0x102d181e8 -[Launcher launch] + 644
26 Foundation 0x19787263c __NSThread__start__ + 716
27 libsystem_pthread.dylib 0x196823fa8 _pthread_start + 148
28 libsystem_pthread.dylib 0x19681eda0 thread_start + 8
Thread 4:
0 libsystem_pthread.dylib 0x19681ed8c start_wqthread + 0
Thread 5:
0 libsystem_pthread.dylib 0x19681ed8c start_wqthread + 0
Thread 3 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x00000001967e0647 x5: 0x000000016da05120 x6: 0x000000000000006e x7: 0x0000000000000003
x8: 0x9291d2264a25bc98 x9: 0x9291d2272785cc98 x10: 0x0000000000000200 x11: 0x000000000000000b
x12: 0x000000000000000b x13: 0x00000000001ff800 x14: 0x00000000000007fb x15: 0x000000009c21303d
x16: 0x0000000000000148 x17: 0x00000001f67acf20 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x000000016da07000 x21: 0x0000000000002903 x22: 0x000000016da070e0 x23: 0x0000600002221680
x24: 0x0000000000008001 x25: 0x00000001e667acaa x26: 0x0000000199c8dc94 x27: 0x00000000000000c8
x28: 0x00000001e65d7b52 fp: 0x000000016da05090 lr: 0x0000000196823c28
sp: 0x000000016da05070 pc: 0x00000001967ec724 cpsr: 0x40001000
far: 0x00000001967d02e0 esr: 0x56000080 Address size fault
Binary Images:
0x102d14000 - 0x102d1bfff com.google.android.studio-EAP (EAP AI-213.7172.25.2211.8571212) <99709da7-402a-30bc-8710-0eaf087461b3> /Applications/Android Studio Preview.app/Contents/MacOS/studio
0x104b48000 - 0x104b53fff net.java.openjdk.11.0.13.jdk (1.0) <7c651f08-9171-379d-87fb-44abf3b6eb2b> /Applications/Android Studio Preview.app/Contents/jre/Contents/MacOS/libjli.dylib
0x104b2c000 - 0x104b37fff libobjc-trampolines.dylib (*) <80f14f3d-d099-3693-a8e0-eb9a526b1790> /usr/lib/libobjc-trampolines.dylib
0x1967e3000 - 0x19681cfe7 libsystem_kernel.dylib (*) <7acbd9bc-d056-310e-858d-81b116cf6d28> /usr/lib/system/libsystem_kernel.dylib
0x196883000 - 0x196d5cfff com.apple.CoreFoundation (6.9) <b4fdaece-9727-3969-b014-27f7f24c8e01> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x1964c6000 - 0x19655453b dyld (*) <ac277a36-1808-327a-8761-cca585421212> /usr/lib/dyld
0x19681d000 - 0x196829fff libsystem_pthread.dylib (*) <b401cfb3-8dfe-32db-92b3-ba8af0f8ca6e> /usr/lib/system/libsystem_pthread.dylib
0x1966bb000 - 0x196739ff7 libsystem_c.dylib (*) <9277aff7-3cc3-30d0-99b7-c62680da95cf> /usr/lib/system/libsystem_c.dylib
0x1967c7000 - 0x1967e2fff libc++abi.dylib (*) <fa1e66a8-48dd-3435-a00e-4fcd9bf5de69> /usr/lib/libc++abi.dylib
0x196480000 - 0x1964c5f3f libobjc.A.dylib (*) <25a3d3ea-8a9e-3a8f-becc-0199e4ed6f94> /usr/lib/libobjc.A.dylib
0x199ae7000 - 0x19a9f5fff com.apple.AppKit (6.9) <cc3e5215-4cd7-364c-8750-6eb7002720ce> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x19781c000 - 0x1981e1fff com.apple.Foundation (6.9) <b7d67e5a-dce2-3f6b-b2b8-895a3669e3ec> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)
Writable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 1
ColorSync 512K 23
CoreGraphics 16K 1
Foundation 16K 1
Kernel Alloc Once 32K 1
MALLOC 210.3M 33
MALLOC guard page 192K 10
MALLOC_MEDIUM (reserved) 480.0M 4 reserved VM address space (unallocated)
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
STACK GUARD 56.1M 6
Stack 18.1M 6
VM_ALLOCATE 32K 2
__AUTH 639K 159
__AUTH_CONST 12.1M 308
__CTF 824 1
__DATA 2779K 294
__DATA_CONST 14.8M 311
__DATA_DIRTY 708K 108
__FONT_DATA 2352 1
__LINKEDIT 800.5M 4
__OBJC_RO 66.2M 1
__OBJC_RW 2011K 1
__TEXT 227.8M 325
dyld private memory 272K 2
mapped file 72.6M 16
shared memory 848K 13
=========== ======= =======
TOTAL 2.3G 1633
TOTAL, minus reserved VM space 1.5G 1633
-----------
Full Report
-----------
{"app_name":"studio","timestamp":"2023-04-21 09:47:37.00 +0800","app_version":"EAP AI-213.7172.25.2211.8571212","slice_uuid":"99709da7-402a-30bc-8710-0eaf087461b3","build_version":"AI-213.7172.25.2211.8571212","platform":1,"bundleID":"com.google.android.studio-EAP","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.3.1 (22E261)","roots_installed":0,"name":"studio","incident_id":"A98BE277-1591-43DB-83B9-B72BBE0D945A"}
{
"uptime" : 110000,
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "Macmini9,1",
"coalitionID" : 5706,
"osVersion" : {
"train" : "macOS 13.3.1",
"build" : "22E261",
"releaseType" : "User"
},
"captureTime" : "2023-04-21 09:47:35.9905 +0800",
"incident" : "A98BE277-1591-43DB-83B9-B72BBE0D945A",
"pid" : 44539,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2023-04-21 09:47:35.8292 +0800",
"procStartAbsTime" : 2877426394145,
"procExitAbsTime" : 2877430190870,
"procName" : "studio",
"procPath" : "\/Applications\/Android Studio Preview.app\/Contents\/MacOS\/studio",
"bundleInfo" : {"CFBundleShortVersionString":"EAP AI-213.7172.25.2211.8571212","CFBundleVersion":"AI-213.7172.25.2211.8571212","CFBundleIdentifier":"com.google.android.studio-EAP"},
"storeInfo" : {"deviceIdentifierForVendor":"1ED93613-47ED-58E0-BDBC-A6705BD45C0C","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.google.android.studio-EAP",
"crashReporterKey" : "60DBDA1A-F5DF-BFBC-1652-39F237594A67",
"throttleTimeout" : 2147483647,
"codeSigningID" : "com.google.android.studio-EAP",
"codeSigningTeamID" : "EQHXZ8M8AV",
"codeSigningFlags" : 570491649,
"codeSigningValidationCategory" : 6,
"codeSigningTrustLevel" : 0,
"wakeTime" : 72722,
"sleepWakeUUID" : "9215D57D-BB1C-4367-867F-43CA53560CCC",
"sip" : "enabled",
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"ktriageinfo" : "VM - (arg = 0x0) pmap_enter retried due to resource shortage\n",
"asi" : {"libsystem_c.dylib":["abort() called"]},
"asiBacktraces" : ["0 CoreFoundation 0x000000019697b19c __exceptionPreprocess + 176\n1 libobjc.A.dylib 0x000000019649a4d4 objc_exception_throw + 60\n2 CoreFoundation 0x00000001969a43f4 _CFBundleGetValueForInfoKey + 0\n3 AppKit 0x0000000199b42c14 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 320\n4 AppKit 0x0000000199b30ee8 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 816\n5 AppKit 0x0000000199c8b26c -[NSPanel _initContent:styleMask:backing:defer:contentView:] + 48\n6 AppKit 0x0000000199b30bac -[NSWindow initWithContentRect:styleMask:backing:defer:] + 48\n7 AppKit 0x0000000199c8b220 -[NSPanel initWithContentRect:styleMask:backing:defer:] + 48\n8 AppKit 0x0000000199b2f90c -[NSWindowTemplate nibInstantiate] + 216\n9 AppKit 0x0000000199b027e4 -[NSIBObjectData instantiateObject:] + 212\n10 AppKit 0x0000000199b021b0 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 252\n11 AppKit 0x0000000199af7f6c loadNib + 340\n12 AppKit 0x0000000199af759c +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 560\n13 AppKit 0x0000000199af72a0 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 180\n14 AppKit 0x0000000199dc8e28 -[NSAlert init] + 92\n15 studio 0x0000000102d18be0 parseVMOptions + 1092\n16 studio 0x0000000102d17bd8 -[Launcher buildArgsFor:] + 180\n17 studio 0x0000000102d181e8 -[Launcher launch] + 644\n18 Foundation 0x000000019787263c __NSThread__start__ + 716\n19 libsystem_pthread.dylib 0x0000000196823fa8 _pthread_start + 148\n20 libsystem_pthread.dylib 0x000000019681eda0 thread_start + 8"],
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"lastExceptionBacktrace" : [{"imageOffset":1016208,"symbol":"__exceptionPreprocess","symbolLocation":164,"imageIndex":4},{"imageOffset":107732,"symbol":"objc_exception_throw","symbolLocation":60,"imageIndex":9},{"imageOffset":1184756,"symbol":"_CFBundleGetValueForInfoKey","symbolLocation":0,"imageIndex":4},{"imageOffset":375828,"symbol":"-[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled]","symbolLocation":320,"imageIndex":10},{"imageOffset":302824,"symbol":"-[NSWindow _initContent:styleMask:backing:defer:contentView:]","symbolLocation":816,"imageIndex":10},{"imageOffset":1720940,"symbol":"-[NSPanel _initContent:styleMask:backing:defer:contentView:]","symbolLocation":48,"imageIndex":10},{"imageOffset":301996,"symbol":"-[NSWindow initWithContentRect:styleMask:backing:defer:]","symbolLocation":48,"imageIndex":10},{"imageOffset":1720864,"symbol":"-[NSPanel initWithContentRect:styleMask:backing:defer:]","symbolLocation":48,"imageIndex":10},{"imageOffset":297228,"symbol":"-[NSWindowTemplate nibInstantiate]","symbolLocation":216,"imageIndex":10},{"imageOffset":112612,"symbol":"-[NSIBObjectData instantiateObject:]","symbolLocation":212,"imageIndex":10},{"imageOffset":111024,"symbol":"-[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:]","symbolLocation":252,"imageIndex":10},{"imageOffset":69484,"symbol":"loadNib","symbolLocation":340,"imageIndex":10},{"imageOffset":66972,"symbol":"+[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:]","symbolLocation":560,"imageIndex":10},{"imageOffset":66208,"symbol":"-[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:]","symbolLocation":180,"imageIndex":10},{"imageOffset":3022376,"symbol":"-[NSAlert init]","symbolLocation":92,"imageIndex":10},{"imageOffset":19424,"symbol":"parseVMOptions","symbolLocation":1092,"imageIndex":0},{"imageOffset":15320,"symbol":"-[Launcher buildArgsFor:]","symbolLocation":180,"imageIndex":0},{"imageOffset":16872,"symbol":"-[Launcher launch]","symbolLocation":644,"imageIndex":0},{"imageOffset":353852,"symbol":"__NSThread__start__","symbolLocation":716,"imageIndex":11},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":6},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":6}],
"faultingThread" : 3,
"threads" : [{"id":978572,"queue":"com.apple.main-thread","frames":[{"imageOffset":3860,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":3},{"imageOffset":78400,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":3},{"imageOffset":39800,"symbol":"mach_msg_overwrite","symbolLocation":604,"imageIndex":3},{"imageOffset":4752,"symbol":"mach_msg","symbolLocation":24,"imageIndex":3},{"imageOffset":522424,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":4},{"imageOffset":516504,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":4},{"imageOffset":513420,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":4},{"imageOffset":13872,"symbol":"parkRunLoop","symbolLocation":124,"imageIndex":0},{"imageOffset":13568,"symbol":"main","symbolLocation":280,"imageIndex":0},{"imageOffset":24360,"symbol":"start","symbolLocation":2236,"imageIndex":5}]},{"id":978592,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":6}]},{"id":978593,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":6}]},{"triggered":true,"id":978594,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":6819808839},{"value":6134190368},{"value":110},{"value":3},{"value":10561453663055101080},{"value":10561453666769161368},{"value":512},{"value":11},{"value":11},{"value":2095104},{"value":2043},{"value":2619420733},{"value":328},{"value":8430210848},{"value":0},{"value":6},{"value":6134198272},{"value":10499},{"value":6134198496},{"value":105553152054912},{"value":32769},{"value":8160521386,"objc-selector":"appearance"},{"value":6875045012,"symbolLocation":0,"symbol":"-[NSWindow appearance]"},{"value":200},{"value":8159853394,"objc-selector":"_finishedLoadingNibDependencies"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6820084776},"cpsr":{"value":1073745920},"fp":{"value":6134190224},"sp":{"value":6134190192},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6819858212,"matchesCrashFrame":1},"far":{"value":6819742432}},"frames":[{"imageOffset":38692,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":3},{"imageOffset":27688,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":6},{"imageOffset":486120,"symbol":"abort","symbolLocation":180,"imageIndex":7},{"imageOffset":88964,"symbol":"abort_message","symbolLocation":132,"imageIndex":8},{"imageOffset":21456,"symbol":"demangling_terminate_handler()","symbolLocation":348,"imageIndex":8},{"imageOffset":143404,"symbol":"_objc_terminate()","symbolLocation":144,"imageIndex":9},{"imageOffset":85832,"symbol":"std::__terminate(void (*)())","symbolLocation":16,"imageIndex":8},{"imageOffset":97588,"symbol":"__cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*)","symbolLocation":36,"imageIndex":8},{"imageOffset":97504,"symbol":"__cxa_throw","symbolLocation":140,"imageIndex":8},{"imageOffset":108084,"symbol":"objc_exception_throw","symbolLocation":412,"imageIndex":9},{"imageOffset":1184756,"symbol":"-[NSException raise]","symbolLocation":16,"imageIndex":4},{"imageOffset":375828,"symbol":"-[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled]","symbolLocation":320,"imageIndex":10},{"imageOffset":302824,"symbol":"-[NSWindow _initContent:styleMask:backing:defer:contentView:]","symbolLocation":816,"imageIndex":10},{"imageOffset":1720940,"symbol":"-[NSPanel _initContent:styleMask:backing:defer:contentView:]","symbolLocation":48,"imageIndex":10},{"imageOffset":301996,"symbol":"-[NSWindow initWithContentRect:styleMask:backing:defer:]","symbolLocation":48,"imageIndex":10},{"imageOffset":1720864,"symbol":"-[NSPanel initWithContentRect:styleMask:backing:defer:]","symbolLocation":48,"imageIndex":10},{"imageOffset":297228,"symbol":"-[NSWindowTemplate nibInstantiate]","symbolLocation":216,"imageIndex":10},{"imageOffset":112612,"symbol":"-[NSIBObjectData instantiateObject:]","symbolLocation":212,"imageIndex":10},{"imageOffset":111024,"symbol":"-[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:]","symbolLocation":252,"imageIndex":10},{"imageOffset":69484,"symbol":"loadNib","symbolLocation":340,"imageIndex":10},{"imageOffset":66972,"symbol":"+[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:]","symbolLocation":560,"imageIndex":10},{"imageOffset":66208,"symbol":"-[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:]","symbolLocation":180,"imageIndex":10},{"imageOffset":3022376,"symbol":"-[NSAlert init]","symbolLocation":92,"imageIndex":10},{"imageOffset":19424,"symbol":"parseVMOptions","symbolLocation":1092,"imageIndex":0},{"imageOffset":15320,"symbol":"-[Launcher buildArgsFor:]","symbolLocation":180,"imageIndex":0},{"imageOffset":16872,"symbol":"-[Launcher launch]","symbolLocation":644,"imageIndex":0},{"imageOffset":353852,"symbol":"__NSThread__start__","symbolLocation":716,"imageIndex":11},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":6},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":6}]},{"id":978605,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":6}]},{"id":978607,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":6}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64",
"base" : 4342235136,
"CFBundleShortVersionString" : "EAP AI-213.7172.25.2211.8571212",
"CFBundleIdentifier" : "com.google.android.studio-EAP",
"size" : 32768,
"uuid" : "99709da7-402a-30bc-8710-0eaf087461b3",
"path" : "\/Applications\/Android Studio Preview.app\/Contents\/MacOS\/studio",
"name" : "studio",
"CFBundleVersion" : "AI-213.7172.25.2211.8571212"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4373905408,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "net.java.openjdk.11.0.13.jdk",
"size" : 49152,
"uuid" : "7c651f08-9171-379d-87fb-44abf3b6eb2b",
"path" : "\/Applications\/Android Studio Preview.app\/Contents\/jre\/Contents\/MacOS\/libjli.dylib",
"name" : "libjli.dylib",
"CFBundleVersion" : "11.0.13"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 4373790720,
"size" : 49152,
"uuid" : "80f14f3d-d099-3693-a8e0-eb9a526b1790",
"path" : "\/usr\/lib\/libobjc-trampolines.dylib",
"name" : "libobjc-trampolines.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6819819520,
"size" : 237544,
"uuid" : "7acbd9bc-d056-310e-858d-81b116cf6d28",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6820474880,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 5087232,
"uuid" : "b4fdaece-9727-3969-b014-27f7f24c8e01",
"path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "1971"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6816555008,
"size" : 582972,
"uuid" : "ac277a36-1808-327a-8761-cca585421212",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6820057088,
"size" : 53248,
"uuid" : "b401cfb3-8dfe-32db-92b3-ba8af0f8ca6e",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6818607104,
"size" : 520184,
"uuid" : "9277aff7-3cc3-30d0-99b7-c62680da95cf",
"path" : "\/usr\/lib\/system\/libsystem_c.dylib",
"name" : "libsystem_c.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6819704832,
"size" : 114688,
"uuid" : "fa1e66a8-48dd-3435-a00e-4fcd9bf5de69",
"path" : "\/usr\/lib\/libc++abi.dylib",
"name" : "libc++abi.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6816268288,
"size" : 286528,
"uuid" : "25a3d3ea-8a9e-3a8f-becc-0199e4ed6f94",
"path" : "\/usr\/lib\/libobjc.A.dylib",
"name" : "libobjc.A.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6873313280,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.AppKit",
"size" : 15790080,
"uuid" : "cc3e5215-4cd7-364c-8750-6eb7002720ce",
"path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
"name" : "AppKit",
"CFBundleVersion" : "2299.50.120"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6836830208,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.Foundation",
"size" : 10248192,
"uuid" : "b7d67e5a-dce2-3f6b-b2b8-895a3669e3ec",
"path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
"name" : "Foundation",
"CFBundleVersion" : "1971"
}
],
"sharedCache" : {
"base" : 6815891456,
"size" : 3539533824,
"uuid" : "ebddd61c-5dcf-399c-a88b-759edf197103"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nColorSync 512K 23 \nCoreGraphics 16K 1 \nFoundation 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 210.3M 33 \nMALLOC guard page 192K 10 \nMALLOC_MEDIUM (reserved) 480.0M 4 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 56.1M 6 \nStack 18.1M 6 \nVM_ALLOCATE 32K 2 \n__AUTH 639K 159 \n__AUTH_CONST 12.1M 308 \n__CTF 824 1 \n__DATA 2779K 294 \n__DATA_CONST 14.8M 311 \n__DATA_DIRTY 708K 108 \n__FONT_DATA 2352 1 \n__LINKEDIT 800.5M 4 \n__OBJC_RO 66.2M 1 \n__OBJC_RW 2011K 1 \n__TEXT 227.8M 325 \ndyld private memory 272K 2 \nmapped file 72.6M 16 \nshared memory 848K 13 \n=========== ======= ======= \nTOTAL 2.3G 1633 \nTOTAL, minus reserved VM space 1.5G 1633 \n",
"legacyInfo" : {
"threadTriggered" : {
}
},
"logWritingSignature" : "4b37d553d7677733da6394bccd78374df431116c",
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "62699e1ec1ff2978b47f6c3b",
"factorPackIds" : {
"SIRI_FIND_MY_CONFIGURATION_FILES" : "631f72d1de559130376df1fb"
},
"deploymentId" : 240000023
},
{
"rolloutId" : "5fb4245a1bbfe8005e33a1e1",
"factorPackIds" : {
},
"deploymentId" : 240000021
}
],
"experiments" : [
{
"treatmentId" : "c28e4ee6-1b08-4f90-8e05-2809e78310a3",
"experimentId" : "6317d2003d24842ff850182a",
"deploymentId" : 400000013
}
]
}
}
直接运行 android studio脚本, 报错,说 (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), 这怎么会找 x86架构的东西,明明下载的是 arm版本的。
但是我下载的就是Arm版本的,感觉莫名其妙,谷歌上搜索也没有搜索到有用的东西。
然后今天突然发现是虚拟机的参数配置环境变量路径引起的:
在这个路径下面,用纯文本打开后
Library/LaunchAgents/jetbrains.vmoptions.plist
发现了这一堆东西
launchctl setenv "IDEA_VM_OPTIONS" "/Users/xxx/Downloads/macjihuo2022-2023/vmoptions/idea.vmoptions"
launchctl setenv "CLION_VM_OPTIONS" "/Users/xxx/Downloads/macjihuo2022-2023/vmoptions/clion.vmoptions"
launchctl setenv "PHPSTORM_VM_OPTIONS" "/Users/xxx/Downloads/macjihuo2022-2023/vmoptions/phpstorm.vmoptions"
launchctl setenv "GOLAND_VM_OPTIONS" "/Users/xxx/Downloads/macjihuo2022-2023/vmoptions/goland.vmoptions"
launchctl setenv "PYCHARM_VM_OPTIONS" "/Users/xxx/Downloads/macjihuo2022-2023/vmoptions/pycharm.vmoptions"
launchctl setenv "WEBSTORM_VM_OPTIONS" "/Users/xxx/Downloads/macjihuo2022-2023/vmoptions/webstorm.vmoptions"
launchctl setenv "WEBIDE_VM_OPTIONS" "/Users/xxx/Downloads/macjihuo2022-2023/vmoptions/webide.vmoptions"
launchctl setenv "RIDER_VM_OPTIONS" "/Users/xxx/Downloads/macjihuo2022-2023/vmoptions/rider.vmoptions"
launchctl setenv "DATAGRIP_VM_OPTIONS" "/Users/xxx/Downloads/macjihuo2022-2023/vmoptions/datagrip.vmoptions"
launchctl setenv "RUBYMINE_VM_OPTIONS" "/Users/xxx/Downloads/macjihuo2022-2023/vmoptions/rubymine.vmoptions"
launchctl setenv "APPCODE_VM_OPTIONS" "/Users/xxx/Downloads/macjihuo2022-2023/vmoptions/appcode.vmoptions"
launchctl setenv "DATASPELL_VM_OPTIONS" "/Users/xxx/Downloads/macjihuo2022-2023/vmoptions/dataspell.vmoptions"
launchctl setenv "GATEWAY_VM_OPTIONS" "/Users/xxx/Downloads/macjihuo2022-2023/vmoptions/gateway.vmoptions"
launchctl setenv "JETBRAINS_CLIENT_VM_OPTIONS" "/Users/xxx/Downloads/macjihuo2022-2023/vmoptions/jetbrains_client.vmoptions"
launchctl setenv "JETBRAINSCLIENT_VM_OPTIONS" "/Users/xxx/Downloads/macjihuo2022-2023/vmoptions/jetbrainsclient.vmoptions"
launchctl setenv "STUDIO_VM_OPTIONS" "/Users/xxx/Downloads/macjihuo2022-2023/vmoptions/studio.vmoptions"
launchctl setenv "DEVECOSTUDIO_VM_OPTIONS" "/Users/xxx/Downloads/macjihuo2022-2023/vmoptions/devecostudio.vmoptions"
然后我突然想起来macjihuo2022-2023 这个文件是我用来破解 Py Charm的 python文件,后来不知道哪一天我给删除了。。。然后就引起了这一些列的问题。
最终,我把这些路径删除,然后保存文件,重启电脑后,解决了AS启动失败问题。
网友评论