草庐IT

EGL_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 - 模拟器 : 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 - E/libEGL : validate_display:255 error 3008 (EGL_BAD_DISPLAY) on Nexus 9 + Android 6

我正在将Cordova3.4中的旧大型应用程序从Eclipse移植到AndroidStudio,因为该应用程序使用的库现已在Android6中更新。在build.gradle和settings.gradle出现一些问题后,应用程序构建、运行,我可以制作apk。在搭载Android5的设备上一切正常。在Nexus9上使用Android6时,应用程序崩溃,出现白屏并出现以下错误:E/libEGL:validate_display:255error3008(EGL_BAD_DISPLAY)在Internet上我找不到这个问题的答案,我尝试处理图像分辨率,但问题没有解决。本帖Error“val

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

android - 无法在模拟器上的/storage/emulated/0 上创建目录

我想在我的android模拟器上创建一个目录,但我做不到,我已经有listwrite_storage的权限,我没有得到任何错误,但mkdir()返回false,我验证外部存储是否是也是可写的,它适用于物理设备我的代码:///CriaumanovapastaparacolocarobackupFiledirect=newFile(Environment.getExternalStorageDirectory(),"/FinancasRWBackup");try{if(!direct.exists()){if(isExternalStorageWritable()&&isExternalS

android - Visual Studio Android Emulator 无法运行应用程序

我最近开始接触Xamarin开发。我在Xcode制作iOS应用程序方面有很多经验,而且iOS方面非常简单。现在我正在尝试实现Android。我下载了一个HelloWorld示例来了解情况。当我运行它时,我可以毫无问题地显示模拟器(MonoForAndroid_API_10和MonoForAndroid_API_12),但实际应用程序不会运行,也不会显示在模拟器。基本上,每当我在Android上的Xamarin中使用run或runwith时,它都会启动一个功能齐全的模拟器,尽管它是空的。如何让我的应用程序在模拟器上运行? 最佳答案 与