前言
本片博客主要用于记录android开发中遇到的各种错误和解决方法,仅用于学习,会不断更新。
1. Error running app: Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled.
解决方法:
菜单栏,Tools -> Adnroid -> enable ADB integration。
2. 启动安卓模拟器失败,报如下错:
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
解决方法: 安装 HAXM,安装链接如下,windows和mac都有。
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager