草庐IT

x86-emulation

全部标签

android - 无法在 MacOSX 上的 Android Studio 之外启动 Android Emulator

将qemu进程固定到dock然后退出并再次单击它后,我收到以下错误。有没有一种方法可以直接从Finder启动模拟器而无需先转到AndroidStudio?/Users/johnny/Develop/android/sdk/tools/qemu/darwin-x86_64/qemu-system-x86_64;exit;dyld:Librarynotloaded:libQt5Widgets.5.dylibReferencedfrom:/Users/johnny/Develop/android/sdk/tools/qemu/darwin-x86_64/qemu-system-x86_64R

android - java.io.FileNotFoundException :/storage/emulated/0/saved_images/grub. jpg:打开失败:ENOENT(没有这样的文件或目录)

我正在使用下面的代码将图像保存在sd卡中,但我一直收到下面的异常privatevoidSaveImage(BitmapfinalBitmap,Stringfilename){Stringroot=Environment.getExternalStorageDirectory().toString();FilemyDir=newFile(root+"/saved_images");myDir.mkdirs();Stringfname=filename;Filefile=newFile(myDir,fname);if(file.exists())file.delete();try{File

android - 如何在 Android-x86 中从命令行启动 GUI

我设法让Android-x86在VMware播放器中运行,但如果我需要通过按Alt+F1进入命令行,我将无法返回到GUI。如何从命令行重新启动GUI? 最佳答案 要启动GUI,我必须在虚拟机的VirtualBox显示设置中选择VboxVGA而不是VMSVGA。注意:这是一个使其与VirtualBox一起工作的解决方案,以防它帮助发现此问题的人。使它与VMware播放器一起工作的解决方案可能是相似的。我也找到了这个信息here:Mandatory:Unlessguestadditionsareinstalled,changethede

android - 无法在我的 Mac OS Yosemite 上运行 Android Studio。错误 : The following SDK component was not installed: sys-img-x86-addon-google_apis-google-21

我无法在我的MacOSYosemite上运行AndroidStudio。安装向导弹出并完成设置,屏幕显示error:Error:ThefollowingSDKcomponentwasnotinstalled:sys-img-x86-addon-google_apis-google-21.我检查了以下问题,AndroidStudiodoesn'tstart,failssayingcomponentsnotinstalled.不知道如何把它带到Mac 最佳答案 试试你提到的链接中建议的这个:打开终端并执行这两个命令:cd/Applica

android - 模拟器 : emulator: ERROR: Running multiple emulators with the same AVD is an experimental feature

我删除了模拟器并重新安装它并得到了同样的错误。Emulator:emulator:ERROR:RunningmultipleemulatorswiththesameAVDisanexperimentalfeature.Emulator:Processfinishedwithexitcode1. 最佳答案 删除.lock文件对我有用。找到avd并删除锁定文件。在Mac.android/avd/'NAMEOFAVD.avd目录中。我删除的文件是hardware-qemu.ini.lock和multiinstance.lock。

android - Visual Studio Emulator for Android 是否仍支持拖放包安装?

我在VisualStudioEmulatorforAndroid上安装了一个包通过拖放之前。我昨天得到了一个新的更新。模拟器似乎不再支持拖放。任何人都可以阐明这一点吗? 最佳答案 如果您以提升的权限运行模拟器,就会发生这种情况。尝试在没有提升的情况下重新运行(不是以管理员身份)。 关于android-VisualStudioEmulatorforAndroid是否仍支持拖放包安装?,我们在StackOverflow上找到一个类似的问题: https://sta

android - emulator.exe 已停止工作?

我尝试运行一个android示例,但我不断收到:emulator.exe已停止工作。这是控制台行:[2011-02-1110:14:49-Teste]Newemulatorfound:emulator-5554[2011-02-1110:14:49-Teste]WaitingforHOME('android.process.acore')tobelaunched...[2011-02-1110:14:49-Emulator][2011-02-1110:14:49-Emulator]ThisapplicationhasrequestedtheRuntimetoterminateitina

android - 错误 : "emulator-5554 disconnected! Cancelling activity launch' ?

这个问题在这里已经有了答案:关闭10年前。PossibleDuplicate:HelloAndroid]emulator-5554disconnected!Cancelling'com.example.helloandroid.HelloAndroidactivitylaunch'!我删除了Eclipse,然后重新安装它,然后运行我的程序,它会运行。但是过了一段时间这个错误又来了emulator-5554断开连接!正在取消Activity启动'!我不明白为什么它会一次又一次地发生......:(我也有打开的设备

android - 如何使用 LineageOS 代码库作为起点构建 Android-x86?

我已经有了一个包含LineageOS完整源代码的目录,它是用以下代码初始化的:repoinit-uhttps://github.com/LineageOS/android.git-blineage-15.1经过几次构建后,该目录超过70GiB。现在我想构建Android-x86(LineageOS分支/端口),我想知道是否有一种方法可以“rebase”现有源代码而不是重新下载它。Android-x86代码库初始化为repoinit-ugit://git.osdn.net/gitroot/android-x86/manifest-boreo-x86我尝试从同一目录运行它,但得到的结果是:

android - 运行时异常 : Unable to create output dir:/storage/emulated/0/app_spoon-screenshots

我正在使用gradle-spoon-plugin为AndroidUI测试设置Spoon使用Spoon2.0.0快照。我的项目是使用AndroidGradle插件3.0.1设置的。当通过spoonRule.screenshot(activity,"hello")截屏时,我得到这个RuntimeException:java.lang.RuntimeException:Unabletocreateoutputdir:/storage/emulated/0/app_spoon-screenshotsatcom.squareup.spoon.SpoonRule.createDir(SpoonRu