I've installed Android Studio 3.5 on a Mac OS X (version 10.11 El Capitan) laptop. When I try to run "Hello World" app in the emulator, I'm running into error that reads
Emulator: Process finished with exit code 133 (interrupted by signal 5: SIGTRAP)
Additionally, an system-native error window pops up that says:
emulator cannot be opened because of a problem.
Check with the developer to make sure emulator works with this version of OS X. You may need to reinstall the application. Be sure to install any available updates for the application and OS X.
Click Report to see more detailed information and send a report to Apple.
I did the default installation first. Then, after quite some googling, I've found out that HAXM version is incompatible with my OS. OK, but it's about "acceleration", so if uninstall it, then, according to uninstall script,
Important: Removing Intel HAXM will disable acceleration of all Intel(R) x86 Android emulators. Your Android Virtual Devices will continue to function, but will no longer be accelerated.
Hmm, I've got the same error after uninstalling HAXM. Then I completely removed Android Studio, and installed it again, this time unticking the HAXM box. Same error.
11:58 Executing tasks: [:app:assembleDebug] in project /Users/<user>/AndroidStudioProjects/myfirstapp
11:58 Emulator: dyld: Symbol not found: _kSecAttrKeyTypeECSECPrimeRandom
11:58 Emulator: Referenced from: /Users/<user>/Library/Android/sdk/emulator/lib64/qt/lib/libQt5WebEngineCoreAndroidEmu.5.12.1.dylib (which was built for Mac OS X 10.12)
11:58 Emulator: Expected in: /System/Library/Frameworks/Security.framework/Versions/A/Security
11:58 Emulator: in /Users/<user>/Library/Android/sdk/emulator/lib64/qt/lib/libQt5WebEngineCoreAndroidEmu.5.12.1.dylib
11:58 Emulator: Process finished with exit code 133 (interrupted by signal 5: SIGTRAP)
OK,
(which was built for Mac OS X 10.12)
in the log is a worrying sign. However, the download page states the following system requirements, all of which are met:
Mac® OS X® 10.10 (Yosemite) or higher, up to 10.14 (macOS Mojave) 4 GB RAM minimum, 8 GB RAM recommended 2 GB of available disk space minimum, 4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image) 1280 x 800 minimum screen resolution
EDIT: using older version
As suggested in comments, I've tried an older version (3.0.1), as I found a reference suggesting it works on my OS. But I've run into exact the same problem. It turned out, that during the installation process the latest greatest incompatible components are downloaded and installed on the first launch without asking anything.
Is it possible to plug an older emulator in?
Has anyone run into this problem and solved it?
A couple of possibly notes:
- I'm hesitant to upgrade the OS, because I need my old Adobe CS3 products
- I do have VirtualBox installed on my laptop (some posts that I read today implied this could be relevant).
- I am a software developer, but this is my first experience with mobile apps.