Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problems trying to push files into android device using eclipse

I'm currently using Samsung Galaxy S2 i1900G to try to test my application but apparently I need to push a database file in order for my application to connect to it and work. But it would seem that every time I try to push a file into the device I would get an error.

Here's the error I keep getting

[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

I can't seem to figure out what the problem is. Will it make any difference if I were to root my phone? And is it possible to root Samsung Galaxy S2 i1900G model for now? Hope you guys can help me out.

like image 301
Ryuujin Avatar asked Jul 29 '26 17:07

Ryuujin


1 Answers

Here is the solution

  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
like image 129
rinkesh Avatar answered Aug 01 '26 08:08

rinkesh