Mac OSX:Android Studio在首次启动时意外退出

时间:2016-11-20 10:40:57

标签: android macos android-studio

我刚刚下载了最新版本的Android工作室并尝试运行它,但我立即收到错误消息“Android Studio意外退出”。

我按照类似线程的建议来设置STUDIO_SDK版本(在终端中),但这似乎没有帮助。我试过从启动器和终端打开应用程序但我在两个方面都得到了相同的错误。

$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home
$ echo $STUDIO_SDK
/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk
$ grep -A 1 "JVMVersion" /Applications/Android\ Studio.app//Contents/Info.plist
      <key>JVMVersion</key>
      <string>1.8*,1.8+</string>

我还缺少什么?

没有idea.log文件,但问题报告如下:

Process:         launchd [11964]
Path:            /Applications/Android Studio.app/Contents/MacOS/studio
Identifier:      com.google.android.studio
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  launchd [9844]

Date/Time:       2016-11-23 09:24:19.877 +0000
OS Version:      Mac OS X 10.7.5 (11G63)
Report Version:  9

Interval Since Last Report:          7418 sec
Crashes Since Last Report:           21
Per-App Crashes Since Last Report:   18
Anonymous UUID:                      69831F0A-5E39-44B1-A534-CB06C4589328

Crashed Thread:  Unknown

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00007fff5fc01028

Backtrace not available

Unknown thread crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000055  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x0000000000000000
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: 0x00007fff5fc01028  rfl: 0x0000000000010203  cr2: 0x00007fff5fc01028
Logical CPU: 2

Binary images description not available


External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 1
    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: 47204
    thread_create: 0
    thread_set_state: 0

Model: MacBookPro8,1, BootROM MBP81.0047.B27, 2 processors, Intel Core i5, 2.4 GHz, 4 GB, SMC 1.68f99
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.198.19.22)
Bluetooth: Version 4.0.8f17, 2 service, 11 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: ST9500325ASG, 500.11 GB
Serial ATA Device: HL-DT-ST DVDRW  GS31N
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 3
USB Device: hub_device, 0x0424  (SMSC), 0x2513, 0xfa100000 / 2
USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 5
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 7
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0252, 0xfa120000 / 4
USB Device: hub_device, 0x0424  (SMSC), 0x2513, 0xfd100000 / 2
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3

1 个答案:

答案 0 :(得分:5)

我发现了我的问题。 OS X 10.7.5不支持Android Studio。在download page系统要求声明我至少需要10.8.5:

  

Mac®OSX®10.8或更高版本,最高10.12(macOS Sierra)