Operation System: Windows 7, Eclipse
Here I present the steps how I add libraries to Android-Emulator's lib folder, it takes a week from me, but I have done all and want to share my results in order you can solve your problem very fast and effectively. So I will present steps how I done this:- Open Eclipse.
- Open Command Line (cmd) and go to path there your android SDK located:
cd C:\android\android-sdk-windows\tools
- Now we will run Emulator with given partition size, enter following command:
C:..\tools> emulator -avd EmulatorName -partition-size 512
NOTE: EmulatorName - is the name of your emulator. - Wait until emulator starts and minimize Command Line ( don't close it ), open new Command Line (cmd) and go to path:
cd C:\android\android-sdk-windows\platform-tools
- Run the command
C:..\platform-tools> adb remount
- Go to Eclipse and open
Window -> Open Perspective -> Other ...
- Select DDMS in the opened Dialog.
- Select "File Explorer" tab.
- Select directory \system\lib
- Select "Push a file onto Device" and select library(s) witch you want.
All Done !
TAG: android simulator copy file to system folder
没有评论:
发表评论