所以我一直在玩Genymotion.喜欢使用它然而无法弄清楚如何将图像放入Android Gallery应用程序(所以我可以测试另一个应用程序).目前在Galaxy Nexus上运行Android 4.3.
尝试通过adb和eclipse的文件浏览器推送图像.图像被精确复制到/ mnt/shell/emulated/0/Pictures.
有什么建议?是否可以使用Genymotion在Gallery中获取图片?
提前致谢.
编辑:管理从浏览器执行此操作,但仍然对通过adb或文件系统将图像传输到图库感到好奇.
我已经构建了一个完美的演示应用程序,如下所示:

几次运行后,Genymotion突然停止工作,出现如下屏幕:
.
Logcat会记录以下行:
05-25 13:58:24.326: E/eglCodecCommon(2163): writeFully: failed: Broken pipe
05-25 13:58:24.418: E/EGL_genymotion(2163): tid 2163: eglChooseConfig(544): error 0x3001 (EGL_NOT_INITIALIZED)
05-25 13:58:24.422: E/AndroidRuntime(2163): FATAL EXCEPTION: main
05-25 13:58:24.422: E/AndroidRuntime(2163): Process: com.nextgenintl.aimassistant, PID: 2163
05-25 13:58:24.422: E/AndroidRuntime(2163): java.lang.IllegalArgumentException: eglChooseConfig failed EGL_NOT_INITIALIZED
05-25 13:58:24.422: E/AndroidRuntime(2163): at android.view.HardwareRenderer$GlRenderer.chooseEglConfig(HardwareRenderer.java:1173)
05-25 13:58:24.422: E/AndroidRuntime(2163): at android.view.HardwareRenderer$GlRenderer.loadEglConfig(HardwareRenderer.java:1135)
05-25 13:58:24.422: E/AndroidRuntime(2163): at android.view.HardwareRenderer$GlRenderer.initializeEgl(HardwareRenderer.java:1117)
05-25 13:58:24.422: E/AndroidRuntime(2163): at android.view.HardwareRenderer$GlRenderer.initialize(HardwareRenderer.java:1057)
05-25 13:58:24.422: E/AndroidRuntime(2163): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1550)
05-25 13:58:24.422: E/AndroidRuntime(2163): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
05-25 13:58:24.422: E/AndroidRuntime(2163): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5670)
05-25 13:58:24.422: E/AndroidRuntime(2163): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761) …Run Code Online (Sandbox Code Playgroud) 我用的genymotion是模拟器。我重新启动了 eclipse 并且adb已正确定位,但应用程序未启动。
这是错误:
[2014-12-13 14:57:52 - Serbay] ------------------------------
[2014-12-13 14:57:52 - Serbay] Android Launch!
[2014-12-13 14:57:52 - Serbay] The connection to adb is down, and a severe error has occured.
[2014-12-13 14:57:52 - Serbay] You must restart adb and Eclipse.
[2014-12-13 14:57:52 - Serbay] Please ensure that adb is correctly located at 'C:\adt-bundle-windows-x86-20140702\sdk\platform-tools\adb.exe' and can be executed.
Run Code Online (Sandbox Code Playgroud) 在Genymotion上运行Android的本机项目中,我运行了该应用程序。有一次我收到一个问题,并从VM卸载了该应用程序。重新运行该应用程序后,我收到了警报:
Unable to open a realm at path '.management'.
Please use a path where your app has read-write permissions. <unknown>
index.js:100 loadModuleImplementation
require.js:171 guardedLoadModule
require.js:123
_require
require.js:107 <unknown>
Repeaters.js:6 loadModuleImplementation
require.js:171 guardedLoadModule
require.js:123
_require
require.js:107 <unknown>
NavigationRouter.js:12 loadModuleImplementation
require.js:171 guardedLoadModule
require.js:123
_require
require.js:107 <unknown>
RootContainer.js:5 loadModuleImplementation
require.js:171 guardedLoadModule
require.js:123
_require
require.js:107 <unknown>
index.android.js:8 loadModuleImplementation
require.js:171 guardedLoadModule
require.js:116
_require
require.js:107 global code
require-0.js:1
Run Code Online (Sandbox Code Playgroud)
我尝试关闭Genymotion,通过adb shell卸载,通过adb shell手动设置权限。我似乎无法解决问题。
有什么建议么?
谢谢!
我正在使用genymotion来运行我的React Native开发环境.当一个特定的组件加载时,我得到console.error消息:there was a problem sending log messages to your development environment使用一个奇怪的堆栈跟踪<unknown>代替几个命名函数.
我将问题缩小到我的代码中的一个组件:
class Questions extends React.Component {
constructor(props){
super(props);
this.state = {
style: 'all',
selected: ''}
}
render = () => {
return (
<View style={styles.questions}>
<ScrollView>
{(this.props.questions && this.state.style == 'all')&&
this.props.questions.map(post => {
return (
<TouchableHighlight onPress={() => this.loadQuestion(post)} key={post.ID + new Date(post.post_date)} style={styles.questionCard} >
<View style={styles.questionCard} >
<View style={styles.title}>
<Text style={{color: 'white'}}>{post.post_title}</Text>
<Text style={{color: 'white'}}> - {post.display_name} {utils.timeSince(new Date(post.post_date))}</Text>
</View>
</View>
</TouchableHighlight> …Run Code Online (Sandbox Code Playgroud) 我已经成功安装了Genymotion和Virtualbox,但无法创建虚拟设备.虚拟设备是完整下载但文件已损坏,不仅是一个而是全部
在设备上开始思考很长时间,然后给出:

VirtualBox显示如下信息:

在日志中:
??? 28 00:16:21 [Genymotion] [Debug] Starting player at "/home/nord/Programms/genymotion"
??? 28 00:16:21 [Genymotion Player] [Debug] [ADB] Use Genymotion Android tools: "/home/nord/Programms/genymotion/tools/adb"
??? 28 00:16:21 [Genymotion Player] [Warning] Unable to load translations. Falling back to english
??? 28 00:16:21 [Genymotion Player] [Debug] Proxy configuration: no proxy used
??? 28 00:16:21 [Genymotion Player] [Warning] **** STARTING VIRTUAL DEVICE ****
??? 28 00:16:21 [Genymotion Player] [Warning] Player version: 2.2.0
??? 28 00:16:21 [Genymotion Player] [Debug] Loading "vboxmanage" plugin
??? 28 …Run Code Online (Sandbox Code Playgroud) 我正在尝试使用Genymotion来运行Android 5.0(Android版本并不重要,因为它失败了多次).我安装了Google Play(从这里开始).所有其他应用程序都可以运行(Chrome也可以使用),但我猜他们已经进行了一些更新,现在每当我点击Chrome时,该应用程序崩溃了(截图如下).
我只是在找一个允许我在Genymotion中运行Chrome应用程序的解决方案.有没有办法让Chrome浏览器安装在模拟器中?(不要做本机模拟器,因为它是sooooooo slooowwwww)
安装Ubuntu 15.04 Genymotion后,它无法启动以下错误.
genymotion: error while loading shared libraries: libdouble-conversion.so.1: cannot open shared object file: No such file or directory
Run Code Online (Sandbox Code Playgroud)
所以我安装了libdouble-conversion1,但它仍然无法启动以下日志输出.
命令输出:
genymotion
Logging activities to file: ~/.Genymobile/genymotion.log
Aborted (core dumped)
Run Code Online (Sandbox Code Playgroud)
日志输出:
Jan 9 13:40:10 [Genymotion] [Fatal] This application failed to start because it could not find or load the Qt platform plugin "xcb".
Available platform plugins are: xcb.
Reinstalling the application may fix this problem.
Run Code Online (Sandbox Code Playgroud) 当我试图打开Genymotion时,会出现以下对话框:

我怎么解决这个问题?
genymotion ×10
android ×6
eclipse ×2
react-native ×2
adb ×1
expo ×1
image ×1
installation ×1
java ×1
realm ×1
ubuntu-15.04 ×1
virtualbox ×1