在Windows 10的Andr​​oid虚拟设备:慢启动,APK没有安装,但没有错误 [英] Android virtual device on Windows 10: slow to start up, apk not installed but no errors

查看:200
本文介绍了在Windows 10的Andr​​oid虚拟设备:慢启动,APK没有安装,但没有错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始学习Android的程序,目前正在使用Eclipse。我一直在使用一个手机正在运行的应用,但我目前的分配要求平板电脑。

我已经安装在Windows 10的Nexus 7的虚拟设备(来自微软没有HAXM的支持,还)。下面是启动code和我的两个问题是:


  • 这是正常的虚拟设备采取从发射9分钟到达本垒?

  • 什么是你可以推荐学习片段?
  • 基本设备

我的想法是,这必须是一个记忆的问题,所以我想,不遗余力内存,并运行碎片平板电脑+ API组合。

  [2015年3月19日17时55分21秒 -  IntentsLab] ------------------------ ------
[2015年3月19日17时55分21秒 - IntentsLab] Android的推出!
[2015年3月19日17时55分21秒 - IntentsLab]亚洲开发银行运行正常。
[2015年3月19日17时55分21秒 - IntentsLab]执行course.labs.intentslab.ActivityLoaderActivity活动启动
[2015年3月19日17时55分21秒 - IntentsLab]自动目标模式:推出兼容AVDNexus_7_ARMeabi7a新模拟器
[2015年3月19日17时55分21秒 - IntentsLab]启动一个新的仿真与虚拟设备Nexus_7_ARMeabi7a
[2015年3月19日17时55分35秒 - IntentsLab]研究发现新的模拟器:模拟器-5554
[2015年3月19日17时55分35秒 - IntentsLab]等待HOME('android.process.acore')即将推出...
[2015年3月19日18时04分24秒 - IntentsLab] HOME高达设备'模拟器-5554
[2015年3月19日18时04分24秒 - IntentsLab]上传IntentsLab.apk到设备'模拟器-5554
[2015年3月19日18时04分25秒 - IntentsLab]安装IntentsLab.apk ...
[2015年3月19日18时07分42秒 - IntentsLab]无法安装在设备上的apk ***模拟器-5554!
[2015年3月19日18时07分42秒 - IntentsLab](空)
[2015年3月19日18时07分43秒 - IntentsLab]启动取消!


解决方案

是的,如果没有HAXM的x86支持没有,那么它是完全正常的ARM仿真器无法运行,或永远需要运行。

你没有真正的设备,您可以使用呢?这将是你最好的选择。只要他们在使用Android 3.x中最常用的Andr​​oid手机/平板电脑/上eBay或Craigslist的GoogleTVs应该做的伎俩

另外,我觉得你不必要担心对不同设备上的碎片的复杂性。重新排列片段为不同的设备是不困难的部分。难的是得到的片段上运行的至少一个设备,无论该设备的可能。所以,不用担心与第二装置的测试,测试单个设备上应该趁现在你还在学习做。

I am starting to learn Android programming, currently using Eclipse. I have been using a phone for running apps, but my current assignment requires a tablet.

I have installed a Nexus 7 virtual device on Windows 10 (no HAXM support from Microsoft, yet). Below is the startup code, and my two questions are:

  • Is it normal for a virtual device to take 9 minutes from launch to reaching home?
  • What would be a basic device you can recommend for learning Fragments?

My thought is that this must be a memory issue, so I am thinking of a tablet+API combination that spares memory and runs Fragments.

[2015-03-19 17:55:21 - IntentsLab] ------------------------------
[2015-03-19 17:55:21 - IntentsLab] Android Launch!
[2015-03-19 17:55:21 - IntentsLab] adb is running normally.
[2015-03-19 17:55:21 - IntentsLab] Performing course.labs.intentslab.ActivityLoaderActivity activity launch 
[2015-03-19 17:55:21 - IntentsLab] Automatic Target Mode: launching new emulator with compatible AVD 'Nexus_7_ARMeabi7a'
[2015-03-19 17:55:21 - IntentsLab] Launching a new emulator with Virtual Device 'Nexus_7_ARMeabi7a' 
[2015-03-19 17:55:35 - IntentsLab] New emulator found: emulator-5554
[2015-03-19 17:55:35 - IntentsLab] Waiting for HOME ('android.process.acore') to be launched...
[2015-03-19 18:04:24 - IntentsLab] HOME is up on device 'emulator-5554'
[2015-03-19 18:04:24 - IntentsLab] Uploading IntentsLab.apk onto device 'emulator-5554'
[2015-03-19 18:04:25 - IntentsLab] Installing IntentsLab.apk...
[2015-03-19 18:07:42 - IntentsLab] Failed to install ***.apk on device 'emulator-5554!
[2015-03-19 18:07:42 - IntentsLab] (null)
[2015-03-19 18:07:43 - IntentsLab] Launch canceled!

解决方案

Yes, if there is no HAXM x86 support yet, then it's completely normal for the ARM emulator to not run, or to take forever to run.

Don't you have real device you can use instead? That would be your best option. Most used Android phones/tablets/GoogleTVs on Ebay or Craigslist should do the trick as long as they're at least Android 3.x.

Also, I think you worry needlessly about the complexity of fragments on different devices. Rearranging fragments for different devices is not the hard part. The hard part is to get fragments running on at least one device, whatever that device may be. So don't worry about testing with a second device, testing on a single device should do for now while you're still learning.

这篇关于在Windows 10的Andr​​oid虚拟设备:慢启动,APK没有安装,但没有错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆