[我是android的初学者,试图运行我的第一个android项目。 我的haxm工作正常,我根据haxm大小设置了512mb的ram大小。 它没有给出任何错误信息。并且在模拟器上仅显示空白屏幕。
任何人都可以帮助我吗?] [1]
Messages of AVD:Nexus_5_API_23
C:\Users\Chinky\AppData\Local\Android\sdk\tools\emulator.exe -netdelay none -netspeed full -avd Nexus_5_API_23
Warning: No DNS servers found
emulator: device fd:732
HAXM is working and emulator runs in fast virt mode
creating window 0 0 240 320
emulator: WARNING: UpdateCheck: failed to get a URL: 6 (Error)
emulator: WARNING: UpdateCheck: failed to get the latest version, skipping check (current version '24.4.1'
APP窗口的消息
Device connected: emulator-5554
Device is ready: Nexus_5_API_23 [emulator-5554]
Target device: Nexus_5_API_23 [emulator-5554]
Installing APK: C:\Users\Chinky\Desktop\android\HappyBirthday\app\build\outputs\apk\app-debug.apk
Uploading file to: /data/local/tmp/com.example.android.happybirthday
Installing com.example.android.happybirthday
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.example.android.happybirthday"
Messages of Event Log
12:17:37 PM Gradle sync started
12:19:23 PM Gradle sync completed
12:19:27 PM Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources]
12:19:38 PM Gradle build finished in 13s 932ms
12:20:38 PM Executing tasks: [:app:assembleDebug]
12:20:46 PM Gradle build finished in 8s 624ms
模拟器上的空白屏幕。