2011-12-22 22 views

Trả lời

12

Khi người nói trên không có, nhưng bạn có thể trích xuất gói ứng dụng từ trình khám phá tệp.

tôi đã sử dụng phương pháp này để cài đặt trên thị trường vào api 4 và 8:

Nếu bạn đang sử dụng cửa sổ, thay đổi "/" để "\" và chỉ cần gõ "android" thay vì" ./ android"

1) go to android sdk path and create a new machine: 
    * type this in terminal: 
     cd "/home/<username>/.eclipse/android-sdk/tools" 
    * then this 
     ./android 
    * then click on Tools -> Manage AVDs... 
    * create a new machine 

2) start the machine and set the partition size 
    * go to this path: 
     cd "/home/<username>/.eclipse/android-sdk/tools" 
    * open the machine (keep the terminal open) 
     ./emulator @<machine name> -partition-size 96 

3) modify some files, root and install apps 
    * go to this path: 
     cd "/home/<username>/.eclipse/android-sdk/platform-tools" 
    * pull the 'build.prop' file in the platform-tools folder 
     ./adb pull /system/build.prop 
    * remove this line: 'ro.config.nocheckin=yes' and save 
    * mount the partition to that we can write to it 
     ./adb remount 
    * replace the edited file 
     ./adb push build.prop /system/build.prop 
    * install the apps 
     ./adb install "/home/<username>/Emulator files/GoogleServicesFramework.apk" 
     ./adb install "/home/<username>/Emulator files/Gmail.apk" 
     ./adb install "/home/<username>/Emulator files/Vending.apk" 

4) root the phone 
    * go to this path: 
     cd "/home/<username>/.eclipse/android-sdk/platform-tools" 
    * mout system files 
     ./adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system 
    * put script for su in system 
     ./adb push "/home/<username>/Emulator files/su" /system/xbin/su 
    * make system folder writeble 
     ./adb shell chmod 06755 /system 
     ./adb shell chmod 06755 /system/xbin/su 
    * install super user app to manage permissions 
     ./adb install superuser.apk 

5) if apps are not showing in the market: 
    * go to applications -> manage applications in the emulator 
    * click on google services framework -> force stop and delete cache 
    * click on market -> force stop and delete data + cache 
    * restart device 
+0

Xin đừng ủng hộ vi phạm bản quyền trên StackOverflow. – CommonsWare

+1

cảm ơn, nó hoạt động! Tôi cần thị trường Android để thử nghiệm một số ứng dụng miễn phí ... – user804736

+3

Chúng tôi không thi hành bản quyền của người khác. Tuy nhiên, đi đến một số trang web bên thứ ba sơ sài để tải xuống nhị phân có vẻ giống như một điều ngu ngốc để làm. – Will

0

Android Market không khả dụng cho trình mô phỏng. Nó chỉ có sẵn theo giấy phép của Google để phân phối trên phần cứng.

Các vấn đề liên quan