所以我计划在休息一段时间后重新编码。我在新笔记本电脑上下载了Android Studio并创建了谷歌地图活动。
我对代码所做的唯一更改是为谷歌地图插入我的api密钥。当我尝试在模拟器中启动我的应用程序时,我收到了这个:
Cannot launch AVD in emulator.
Output:
Creating filesystem with parameters:
ERROR: resizing partition e2fsck failed with exit code 1
Size: 69206016
Block size: 4096
Blocks per group: 32768
Inodes per group: 4224
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 16896
Block groups: 1
Reserved block group size: 7
Created filesystem with 11/4224 inodes and 1302/16896 blocks
Hax is enabled
Hax ram_size 0x60000000
HAX is working and emulator runs in fast virt mode.
emulator: Listening for console connections on port: 5554
emulator: Serial number of this emulator (for ADB): emulator-5554
[3900]:WARNING:./android/base/files/IniFile.cpp:158:Failed to process .ini file C:\Users\Mike Jones\.android\emu-update-last-check.ini for reading.
[17164]:WARNING:./android/base/files/IniFile.cpp:158:Failed to process .ini file C:\Users\Mike Jones\.android\emu-update-last-check.ini for reading.
答案 0 :(得分:0)
我正在使用ubuntu 16 64位版本。在android-studio 2.2中,我设置了我的ANDROID_HOME路径,没有更多的错误。设置路径如下:
`sudo gedit ~/.bashrc`
`export ANDROID_HOME=$HOME/Android/Sdk`
`export PATH=$PATH:$ANDROID_HOME/tools`
答案 1 :(得分:-1)
你在android sdk中使用Intel x86 Emulator Accelerator(HAXM安装程序) 如果没有完成,你可以通过管理员的许可播放{ANDROID_SDK_HOME} \ extras \ intel \ Hardware_Accelerated_Excecution_Manager \ intelhaxm-android.exe