草庐IT

emulator

全部标签

Android Emulator : qemu-system-i386. exe:goldfish_battery_read:偏移量错误

所以,每当我尝试在android模拟器上启动我的应用程序时,IDE都会被以下错误轰炸:Emulator:qemu-system-i386.exe:goldfish_battery_read:Badoffset.......此错误还会显示应用程序每分钟左右运行的时间。我正在使用AndroidStudio3测试版6API级别26模拟器26.1.4AndroidSDK工具26.1.1图片x8626(奥利奥)...我尝试重新安装所有SDK工具并将所有内容更新到最新版本,但没有成功。我还重新安装了IDE并重新下载了所有内容,但仍然显示此错误。我想知道是否有人也遇到了这个错误?

Android 模拟器错误消息 : "PANIC: Missing emulator engine program for ' x8 6' CPUS."

我正在尝试使用AVD管理器运行Android模拟器。这是我的avd:http://image-upload.de/image/fnx79V/52b0d050ee.png这就是开始时发生的事情:http://image-upload.de/image/vGpQfa/e912d83939.png我有一台MacbookProRetina。直接从英特尔页面安装Haxm驱动程序。没有模拟器在工作。所有人都会收到相同的“错误”消息。运行命令(当我使用Homebrew安装Android-sdk和Android-platform-tools时出现此错误|遇到相同问题的任何人都应该删除它或查看冲突所在)

Android 模拟器错误消息 : "PANIC: Missing emulator engine program for ' x8 6' CPUS."

我正在尝试使用AVD管理器运行Android模拟器。这是我的avd:http://image-upload.de/image/fnx79V/52b0d050ee.png这就是开始时发生的事情:http://image-upload.de/image/vGpQfa/e912d83939.png我有一台MacbookProRetina。直接从英特尔页面安装Haxm驱动程序。没有模拟器在工作。所有人都会收到相同的“错误”消息。运行命令(当我使用Homebrew安装Android-sdk和Android-platform-tools时出现此错误|遇到相同问题的任何人都应该删除它或查看冲突所在)

android - 模拟器 : ERROR: x86 emulation currently requires hardware acceleration

我尝试在AndroidStudio中运行我的HelloWorld应用程序。我收到以下错误:Emulator:ERROR:x86emulationcurrentlyrequireshardwareacceleration!PleaseensureIntelHAXMisproperlyinstalledandusable.CPUaccelerationstatus:HAXkernelmoduleisnotinstalled!您能告诉我如何处理该错误吗? 最佳答案 根据thisresponse,完整的步骤是:1)打开SDK管理器(在And

android - 模拟器 : ERROR: x86 emulation currently requires hardware acceleration

我尝试在AndroidStudio中运行我的HelloWorld应用程序。我收到以下错误:Emulator:ERROR:x86emulationcurrentlyrequireshardwareacceleration!PleaseensureIntelHAXMisproperlyinstalledandusable.CPUaccelerationstatus:HAXkernelmoduleisnotinstalled!您能告诉我如何处理该错误吗? 最佳答案 根据thisresponse,完整的步骤是:1)打开SDK管理器(在And

android.os.FileUriExposedException : file:///storage/emulated/0/test. txt 通过 Intent.getData() 暴露在应用程序之外

当我尝试打开文件时,应用程序崩溃了。它在AndroidNougat下工作,但在AndroidNougat上它会崩溃。只有当我尝试从SD卡而不是系统分区打开文件时,它才会崩溃。一些权限问题?示例代码:Filefile=newFile("/storage/emulated/0/test.txt");Intentintent=newIntent(Intent.ACTION_VIEW);intent.setDataAndType(Uri.fromFile(file),"text/*");intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);startAc

android.os.FileUriExposedException : file:///storage/emulated/0/test. txt 通过 Intent.getData() 暴露在应用程序之外

当我尝试打开文件时,应用程序崩溃了。它在AndroidNougat下工作,但在AndroidNougat上它会崩溃。只有当我尝试从SD卡而不是系统分区打开文件时,它才会崩溃。一些权限问题?示例代码:Filefile=newFile("/storage/emulated/0/test.txt");Intentintent=newIntent(Intent.ACTION_VIEW);intent.setDataAndType(Uri.fromFile(file),"text/*");intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);startAc

android-emulator - 启动android模拟器而不启动Android Studio for flutter applications

是否有可能以flutterdoctor检测到它并且flutterrun应该能够部署到flutter代码的方式启动模拟器?我尝试了emulator-avd*imagename*但flutterdoctor无法检测到正在运行的模拟器并且flutterrun没有在模拟器上部署代码。 最佳答案 在记事本中键入以下内容并将其另存为“file_name.bat”并运行它:SETbuilddir=%~dp0SETEX="C:\Users\user_name\AppData\Local\Android\Sdk\emulator\emulator.e

android - 为什么我不能更改 Android 虚拟设备配置中的 "Emulated Performance: Graphics"设置?

我正在尝试使用AndroidStudio设置Flutter,并且我正在使用工具下的Android虚拟设备窗口设置虚拟设备。它在these中指定将EmulatedPerformance:Graphics设置更改为Hardware-GLES2.0的说明,但窗口不允许我将设置从Automatic更改。谁能解释一下我可以如何更改此设置?谢谢!截图: 最佳答案 在Pixel或Nexus5(x)等设备上运行的GooglePlay图片只能接受自动图形加速。因此,如果您不需要GooglePlay功能,则可以选择其他图片

linux - 没有 %gs 寄存器的 x86 子集 : binary patching code that uses %gs instead of trapping to emulation?

由于太复杂的原因无法在这里解释,我需要在x86的子集平台上运行x86GCC编译的Linux程序。该平台没有%gs寄存器,这意味着它必须被模拟,因为GCC依赖于%gs寄存器的存在。目前我有一个包装器,当程序试图访问%gs寄存器时捕获异常,并模拟它。但这是狗慢。有没有一种方法可以使用等效指令提前修补ELF中的操作码,从而避免陷阱和仿真? 最佳答案 您是否尝试过使用-mno-tls-direct-seg-refs选项编译您的代码?从我的GCC手册页(i686-apple-darwin10-gcc-4.2.1):-mtls-direct-s