install the android market on android sdk

Upload: saumil2011

Post on 07-Apr-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/6/2019 Install the Android Market on Android SDK

    1/2

    Install the Android Market on Android SDK1. Download and install Android SDK. After that, set up a new emulator.

    2. Go to C:\Program Files\Android\android-sdk\platforms\android-8 (this is the default folderfor SDK Platform Android 2.3, API 8, revision 1), copy system.img and paste it toC:\Users\Username\.android\avd\Emulators name.avd

    3. Download tow files: Vending.apk, GoogleServicesFramework.apk. After that, put all these files

    into C:\Program Files\Android\android-sdk\tools,

    4. Press Winkey+R, type cmd and press Enter. In command prompt, change the directory toC:\Program Files\Android\android-sdk\tools.

    5. Type the following: emulator avd titanium_7_HVGA partition-size 100 and hit Enter(please replace titanium_7_HVGA with your emulators name). This command will launch youremulator.

    6. Launch another command prompt window, switch to C:\Program Files\Android\android-sdk\tools, type in: adb -s emulator-5554 shell and hit Enter. (Please make sure that the emulator

    is fully loaded, and replace 5554 with your emulators serial code which you can find at the top ofemulators window.) After that, type mount and hit Enter again. You will see something likebelow, and look for the line: /dev/block/mtdblock0 /system yaffs2 ro 00.

    7. Now, type in: mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system and hit Enter.This will remount the /system in read-write mode. Because we will copy some files to/system/app later, we must set read-write permission to that directory. To do it, type thefollowing: chmod 777 /system/app , hit Enter. After that, you need to exit. Type exit, hit Enteragain. The whole step will look like this.

    http://www.tech-recipes.com/rx/10004/accessing-android-market-from-android-sdk/http://developer.android.com/sdk/http://www.mediafire.com/?rest29bka7mm0ckhttp://www.mediafire.com/?rest29bka7mm0ckhttp://www.mediafire.com/?19n79m81o51tphthttp://www.mediafire.com/?19n79m81o51tphthttp://developer.android.com/sdk/http://www.mediafire.com/?rest29bka7mm0ckhttp://www.mediafire.com/?19n79m81o51tphthttp://www.tech-recipes.com/rx/10004/accessing-android-market-from-android-sdk/
  • 8/6/2019 Install the Android Market on Android SDK

    2/2