当前位置: 首页 > 知识库问答 >
问题:

Android模拟器无法启动,陷入循环

微生青青
2023-03-14

我知道Android模拟器有很多问题,StackOverflow几乎溢出了关于它的问题。我知道,我已经经历了其中的大多数,为我的问题寻找答案:)

我有通常的HAXM问题时,我开始,但我修复了VT设置在我的BIOS和我重新安装了HAXM。

android_sdk_home=C:\users\maffe

仿真器:设备FD:1160

HAXM正在工作,仿真程序在快速virt模式下运行

01-22 05:48:36.771 654 3-6543/?E/netd:无法打开/proc/sys/net/ipv6/conf/default/optimistic_dad:没有这样的文件或目录

01-22 05:48:36.771 654 3-6543/?E/netd:无法打开/proc/sys/net/ipv6/conf/eth0/optimistic_dad:没有这样的文件或目录

01-22 05:48:36.771 654 3-6543/?E/netd:无法打开/proc/sys/net/ipv6/conf/lo/optimistic_dad:没有这样的文件或目录

01-22 05:48:36.771 654 3-6543/?E/netd:无法打开/proc/sys/net/ipv6/conf/eth0/use_optimatic:没有这样的文件或目录

01-22 05:48:36.771 654 3-6543/?E/NETD:无法打开/proc/sys/net/ipv6/conf/lo/use_optimatic:没有这样的文件或目录

01-22 05:48:36.772 654 3-6543/?E/NETD:无法打开/proc/sys/net/ipv6/conf/sit0/use_optimatic:没有这样的文件或目录

01-22 05:48:36.875 654 4-6544/?I/AudioFlinger:使用默认的3000毫秒作为待机时间。

01-22 05:48:36.876 654 4-6544/?I/ServiceManager:正在等待服务BatteryStats...

01-22 05:48:36.903 654 5-6545/?d/AndroidRuntime:>>>>>>开始com.android.internal.os.zygoteInit uid 0<<<<<<

01-22 05:48:36.904 654 5-6545/?I/ART:选项[2]=-XJNIGREFLIMIT:2000

01-22 05:48:36.904 654 5-6545/?I/ART:选项[3]=-XStackTraceFile:/data/anr/traces.txt

01-22 05:48:36.904 654 5-6545/?I/ART:选项[4]=退出

01-22 05:48:36.904 654 5-6545/?I/ART:选项[10]=-XX:MaintHreadStackSize=24K

01-22 05:48:36.905 654 5-6545/?I/ART:选项[11]=-AgentLib:JDWP=Transport=DT_Android_ADB,Suspend=N,Server=Y

01-22 05:48:36.905 654 5-6545/?I/ART:选项[12]=-xLockProfThreshold:500

01-22 05:48:36.905 654 5-6545/?I/ART:选项[16]=-XMS64M

01-22 05:48:36.905 654 5-6545/?I/ART:option[17]=-ximage-compiler-option

01-22 05:48:36.905 654 5-6545/?I/ART:选项[18]=--runtime-arg

01-22 05:48:36.905 654 5-6545/?I/ART:选项[20]=-xmx64m

01-22 05:48:36.905 654 5-6545/?I/ART:option[21]=-ximage-compiler-option

01-22 05:48:36.905 654 5-6545/?I/ART:选项[22]=--image-classes=/system/etc/preloaded-classs

01-22 05:48:36.905 654 5-6545/?I/ART:option[27]=-xcompiler-option

01-22 05:48:36.905 654 5-6545/?I/ART:选项[28]=--runtime-arg

01-22 05:48:36.905 654 5-6545/?I/ART:option[29]=-xcompiler-option

01-22 05:48:37.886 654 4-6544/?I/ServiceManager:正在等待服务BatteryStats...

01-22 05:48:38.558 654 3-6543/?V/NATController:runCmd(/system/bin/iptables-f natctrl_FORWARD)res=0

01-22 05:48:38.576 654 3-6543/?v/natcontroller:runCmd(/system/bin/iptables-a natctrl_FORWARD-j DROP)res=0

01-22 05:48:38 608 654 3-6543/?V/NATController:runCmd(/system/bin/iptables-x natctrl_tether_counters)res=0

01-22 05:48:38 636 654 3-6543/?V/NATController:runCmd(/system/bin/iptables-n natctrl_tether_counters)res=0

01-22 05:48:38.633 669 8-6698/?w/iptables:type=1400审核(0.0:151):avc:拒绝{module_request}for kmod=“ipt_tcpmss”scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0

01-22 05:48:38.639 654 3-6543/?v/natcontroller:runCmd(/system/bin/iptables-t mangle-a natctrl_mangle_FORWARD-p tcp--tcp-flags SYN syn-j TCPMSS--clamp-mss-to-pmtu)res=1

01-22 05:48:38.896 654 4-6544/?I/ServiceManager:正在等待服务BatteryStats...

01-22 05:48:39 183 674 5-6745/?w/iptables:type=1400审核(0.0:152):avc:拒绝{module_request}for kmod=“ipt_owner”scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0

01-22 05:48:39 183 674 5-6745/?w/iptables:type=1400审核(0.0:153):avc:拒绝{module_request}for kmod=“ipt_owner”scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0

01-22 05:48:39 183 674 5-6745/?w/iptables:type=1400审核(0.0:154):avc:拒绝{module_request}for kmod=“ipt_owner”scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0

01-22 05:48:39 188 654 3-6543/?i/iptables:iptables:没有该名称的chain/target/match。

01-22 05:48:39 196 654 3-6543/?I/iptables:iptables被退出(%1)终止

01-22 05:48:39 197 654 3-6543/?e/BandwidthController:runIptablesCmd():res=1 status=256失败/system/bin/iptables-bw_INPUT-m所有者-socket-exists

01-22 05:48:39 193 674 6-6746/?w/ip6table:type=1400审核(0.0:155):avc:拒绝{module_request}for kmod=“ip6t_owner”scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0

01-22 05:48:39 193 674 6-6746/?w/ip6table:type=1400审核(0.0:156):avc:拒绝{module_request}for kmod=“ip6t_owner”scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0

01-22 05:48:39 193 674 6-6746/?w/ip6table:type=1400审核(0.0:157):avc:拒绝{module_request}for kmod=“ip6t_owner”scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0

01-22 05:48:39 202 654 3-6543/?i/ip6tables:ip6tables:没有该名称的链/目标/匹配。

01-22 05:48:39 202 654 3-6543/?I/ip6tables:ip6tables被退出(%1)终止

01-22 05:48:39 203 654 3-6543/?e/BandwidthController:runIptablesCmd():res=1 status=256失败/system/bin/ip6tables-bw_INPUT-m所有者-socket-exists

01-22 05:48:39 216 674 7-6747/?E/logwrapper:执行/system/bin/ip失败:没有这样的文件或目录

01-22 05:48:39 228 654 3-6543/?E/CommandListener:初始化RouteController失败(远程I/O错误)

01-22 05:48:39 229 654 3-6543/?d/mdnsds:mdnssdlistener::hander正在启动

01-22 05:48:39 229 654 3-6752/?d/mdnsds:MDnsSdListener开始监视

01-22 05:48:39 230 654 3-6752/?D/MDNSDS:使用pollCount 1进行轮询

01-22 05:48:39 907 654 4-6544/?I/ServiceManager:正在等待服务BatteryStats...

01-22 05:48:40.357 654 5-6545/?a/art:art/runtime/gc/heap.cc:293]73b8a000-77b8a000 rw-p 00000000 00:04 16488
/dev/ashmem/dalvik-合子空间(已删除)

01-22 05:48:40.357 654 5-6545/?a/art:art/runtime/gc/heap.cc:293]b3ab5000-b3adb000 r--p 00976000 1f:01 705 1
/data/dalvik-cache/x86/system@framework@boot.art

01-22 05:48:40.357 654 5-6545/?a/art:art/runtime/gc/heap.cc:293]b3adb000-b3adc000 r-xp 00000000 1F:00898
/system/lib/libsigchain.so

...(为简洁起见)

01-22 05:48:40.415 654 5-6545/?a/art:art/runtime/gc/heap.cc:293]b7780000-b7781000 r-xp 00000000 00:00 0[vdso]

01-22 05:48:40.415 654 5-6545/?a/art:art/runtime/gc/heap.cc:293]b7781000-b7782000 r--p 00016000 1f:00 258/系统/bin/链接器

01-22 05:48:40.415 654 5-6545/?a/art:art/runtime/gc/heap.cc:293]b7788000-b7789000r--p 00003000 1f:00194
/system/bin/app_process32

01-22 05:48:40.415 654 5-6545/?a/art:art/runtime/gc/heap.cc:293]b7789000-b778a000 rw-p 00000000 00:00 0

01-22 05:48:40.417 654 5-6545/?a/art:art/runtime/gc/heap.cc:293]bff3f000-bff60000 rw-p 00000000 00:00 0[堆栈]

01-22 05:48:40.421 654 5-6545/?a/art:art/Runtime/Runtime.cc:289]正在中止运行库...

01-22 05:48:40.422 654 5-6545/?a/art:art/runtime/runtime.cc:289](正在中止的线程未附加到运行时!)

01-22 05:48:40.422 654 5-6545/?a/art:art/runtime/runtime.cc:289]
本机:#00 pc 00005d03/system/lib/libbacktrace_libc++.so(UnwindCurrent::Unwind(unsigned int,ucontext*)+83)

01-22 05:48:40.422 654 5-6545/?a/art:art/runtime/runtime.cc:289]
native:#02 pc 003C9E67/system/lib/libart.so(art::dumpnativestack(std::__1::basic_ostream>&,int,char const*,art::mirrol::artmethod*)+135)

01-22 05:48:40.422 654 5-6545/?a/art:art/runtime/runtime.cc:289]
本机:#03 pc 003777cb/system/lib/libart.so(art::abortstate::dump(std::__1::basic_ostream>&)+267)

01-22 05:48:40.424 654 5-6545/?a/art:art/runtime/runtime.cc:289]
本机:#04 pc 00377ead/system/lib/libart.so(art::runtime::abort()+125)

01-22 05:48:40.424 654 5-6545/?a/art:art/runtime/runtime.cc:289]
本机:#05 pc 000EC704/system/lib/libart.so(art::logmessage::~logmessage()+1876)

01-22 05:48:40.424 654 5-6545/?a/art:art/runtime/runtime.cc:289]
native:#06 pc 001ec6cc/system/lib/libart.so(art::gc::heap::heap(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,double,double,unsigned int,unsigned int,unsigned int,unsigned int,std::__1::basic_string,std::__1::allocator>const&,

01-22 05:48:40.424 654 5-6545/?a/art:art/runtime/runtime.cc:289]
native:#07 pc 0037a32b/system/lib/libart.so(art::runtime::init(std::__1::vector,std::__1::allocator>,void const*>,std::__1::allocator>,void const*>

常量(&,bool)+1387)

01-22 05:48:40.424 654 5-6545/?a/art:art/runtime/runtime.cc:289]
native:#08 pc 0037D6a8/system/lib/libart.so(art::runtime::create(std::__1::vector,std::__1::allocator>,void const*>,std::__1::allocator>,void const*>,std::__1::allocator>,void const*>

常量(&,bool)+104)

01-22 05:48:40.424 654 5-6545/?a/art:art/runtime/runtime.cc:289]
本机:#09 pc 002ff0fd/system/lib/libart.so(JNI_CreateJavaVM+1117)

01-22 05:48:40.424 654 5-6545/?a/art:art/runtime/runtime.cc:289]
本机:#10 pc 00072bfa/system/lib/libandroid_runtime.so(android::androidruntime::startvm(_javavm**,_jnienv**,bool)+2346)

01-22 05:48:40.424 654 5-6545/?a/art:art/runtime/runtime.cc:289]
本机:#12 pc 000018B1/system/bin/app_process32(???)

01-22 05:48:40.424 654 5-6545/?a/art:art/runtime/runtime.cc:289]
本机:#13 pc 00012F94/system/lib/libc.so(__libc_init+100)

01-22 05:48:40.424 654 5-6545/?a/art:art/runtime/runtime.cc:289]
本机:#14 pc 00001B66/system/bin/app_process32(???)

01-22 05:48:40.426 654 5-6545/?a/art:art/runtime/runtime.cc:289]
本机:#15 pc 00000004???

01-22 05:48:40.426 654 5-6545/?a/art:art/runtime/runtime.cc:289]转储所有未持有适当锁的线程:thread list lock mutator lock

01-22 05:48:40.426 654 5-6545/?a/art:art/runtime/runtime.cc:289]所有线程

01-22 05:48:40.547 939-939/?i/debug:**

01-22 05:48:40.547 939-939/?i/debug:生成指纹:“android/sdk_google_phone_x86/generic_x86:5.1.1/lmy48x/2524186:userdebug/test-keys”

01-22 05:48:40.547 939-939/?I/Debug:修订:“0”

01-22 05:48:40.551 939-939/?I/Debug:eax 00000000 ebx 00001991 ecx 00001991 edx 00000006

01-22 05:48:40.552 939-939/?I/Debug:esi b7782c48 edi 0000000C

01-22 05:48:40.552 939-939/?I/Debug:xcs 00000073 xds 0000007B XX 0000007B xfs 00000000 xss 0000007B

01-22 05:48:40.552 939-939/?I/debug:#03 pc 0001BDF4/system/lib/libc.so(中止+84)

01-22 05:48:40.552 939-939/?I/debug:#04 pc 00377F56/system/lib/libart.so(艺术::运行时::中止()+294)

01-22 05:48:40.553 939-939/?I/debug:#05 pc 000EC704/system/lib/libart.so(艺术::logmessage::~logmessage()+1876)

常量(&,bool)+1387)

01-22 05:48:40.553 939-939/?i/debug:#08 pc 0037D6A8/system/lib/libart.so(art::runtime::create(std::__1::vector,std::__1::allocator>,void const*>,std::__1::allocator,std::__1::allocator>,void const*>

常量(&,bool)+104)

01-22 05:48:40.553 939-939/?I/debug:#11 pc 00073A80/system/lib/libandroid_runtime.so(android::androidruntime::start(char const*,android::vector const&,bool)+368)

01-22 05:48:40.553 939-939/?I/debug:#12 pc 000018B1/system/bin/app_process32

01-22 05:48:40.553 939-939/?I/debug:#13 pc 00012F94/system/lib/libc.so(__libc_init+100)

01-22 05:48:40.554 939-939/?I/DEBUG:#15 pc 00000004

01-22 05:48:40.627 929-929/?I/ServiceManager:服务“Media.Audio_Flinger”已死亡

My.avd文件夹位于C:\users\maffe中,您可以看到HAXM正在工作。

    null
    null

共有1个答案

裴存
2023-03-14

我发现了问题所在。我不小心将VM堆设置为2GB。我应该把它留在64MB:)

 类似资料:
  • 问题内容: 当我右键单击我的Android项目并选择时。模拟器启动,所做的更改确实反映出来。 但是当我执行以下以下命令时,它不会反映出来。 而且,如果没有打开模拟器,则deploy and emulator-start命令将失败。 。 这是我的android-maven-plugin-emulator-start.vbs文件。 这是我的POM.XML 问题答案: 跑之前。Maven插件无法部署到不

  • 我必须改用eclipse吗? IDE显示以下消息:

  • MainFormular.java 在Android.app.activity.performCreate(activity_main_formular 洛克卡特

  • 问题内容: Android Studio模拟器无法在Kali Linux中启动。我得到的错误是: 17/12/25上午3:01 Gradle同步开始 凌晨3:01开始项目设置 3:01 AM Gradle同步以1s 333ms完成(从缓存状态开始) 上午3:02 *守护程序未运行;现在从tcp:5037开始 上午3:02模拟器:libGL错误:无法加载驱动程序:i965_dri.so 上午3:02

  • 我一直在做一个android项目,我在我的iMac上使用android studio[软件OS X 10.9.5,图形英特尔高清图形5000 1024 MB,处理器1.4GHz英特尔酷睿i5]。 我可以在谷歌上找到很多类似的解决方案&所以,但我不能在Mac上使用这些解决方案??? 我遵循了这里给出的所有步骤,但运气不好,仍然无法启动模拟器。我想这和mac OS有关。 有人能告诉我在MAC上怎么做吗

  • 我尝试在Ubuntu14.04的android Studio中启动模拟器中的应用程序,结果显示以下错误。 正在进行渐变生成时显示错误: /home/next/nte/machinesetup/android-sdk-linux/tools/emulator-netdelay none-netspeed full-avd Nexus_5X_API_24无法启动“/home/next/nte/mach