English 中文(简体)
试图用日食将文件推入文件和机器人装置的问题
原标题:Problems trying to push files into android device using eclipse

我目前使用Samsung Galaxy S2 i1900G 来测试我的应用程序,但显然我需要按一个数据库文件,这样我的应用程序才能连接到它并工作。但似乎每次我试图将一个文件插入设备时都会出错 。

在这里,我不断得到的错误

[2012-05-20 16:16:26 - ddms] transfer error: Read-only file system
[2012-05-20 16:16:56] Failed to push selection: Read-only file system

我似乎无法弄清楚问题是什么。 如果我扎根手机会有什么不同吗? 现在能否根治三星银河S2i1900G模型? 希望你们能帮我。

问题回答

这就是解决问题的办法

  1. Open Android Virtual device manager
  2. select your emulator
  3. edit your emulator
  4. must specified size of your sd card 1024MB
  5. in hardware option click new set property add sd card support: yes(value)
  6. start your emulator, in eclipse window-->showview-->other->android-->file explorer
  7. ->in file explorer open mnt->sdcard and using pushfile button for insert your file and image
  8. DONE

您可以尝试 adb 外壳挂载 - o remount,rw/ data 将/ 数据重新挂载为 rw

如果您的应用程序需要访问数据库, 您不需要将一个副本复制到手机上。 而且无论如何, 如果您要将手机扎根并强制使用, 这种应用程序只会在您的特定手机上工作 。

本文<http://www.vogella.com/articles/AndroidSQLite/article.html - 解释如何使用带有安有机器人应用程序的SQLite数据库。您应该使用内置的 API 来从您的应用程序中创建数据库,如果它不存在的话。

这可能是因为您的设备在 USB 存储模式中连接到 USB 存储模式中, 这意味着您的 SD 卡已挂载... 您必须用不同模式连接您的设备, 以便 adb 能够按下文件 。

即使工作有效,你也不会 能够推到所有的云端, 它可能看起来像你有一个问题 当你不这样做。

在 DDMS 视图中, 文件浏览器标签选择 sdcard 目录, 并尝试按 - 它应该去 - 您只能按到 rw dirs, 有些只读取 。 如果您可以这样做, 您只需要确定您使用的 dir 是 rw - 在同一视图的权限标签中显示 。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签