谷歌地图升级到5.4版

现在用的手机是android2.2版的三星i9000,ROM自带的谷歌地图是4.5版,但官方早就升级到了5.4版,中间有性能和功能的大幅提升,可是尝试了若干方法安装升级都没有成功,如果用市场直接升级会得到“应用程序未安装”的错误提示,用adb手动安装,会得到 INSTALL_FAILED_SHARED_USER_INCOMPATIBLE 错误提示,另外还尝试了用RE获取root权限后后删除/system/app/Maps.apk后安装或者升级,依然不能成功,其实之前编译测试 apk文件的时候,遇到 INSTALL_FAILED_SHARED_USER_INCOMPATIBLE错误其实是因为 AndroidManifest.xml 文件中android:sharedUserId=”android.uid.system”设置项所指,可是这事儿现在没法弄,官方的Google maps的apk文件打开后里面的AndroidManifest.xml文件不能这样修改搞定。

崩溃之余想到个方法可以一试,就是把系统原来的4.5版 /system/app/Maps.apk拷贝到手机的另外地方,然后通过RE删除掉原来的文件后,在手机上点击Maps.apk文件安装一份新的4.5版谷歌地图,这样安装出来的文件就成为了第三方应用程序的模式,于是再进入设置->应用程序里面删掉刚安装的4.5版程序,然后再次通过adb命令安装最新5.4版的Maps.apk,结果成功了!


C:\Users\michael\Documents\Wandoujia\Download\App
adb install -r “Maps.apk”
335 KB/s (6297067 bytes in 18.355s)
pkg: /data/local/tmp/Maps.apk
Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]

C:\Users\michael\Documents\Wandoujia\Download\App
adb install “Maps.apk”
250 KB/s (6297067 bytes in 24.589s)
pkg: /data/local/tmp/Maps.apk
Success

11 thoughts on “谷歌地图升级到5.4版”

  1. This is one of the most incredible blogs Ive read in a very long time. The amount of information in here is stunning, like you practically wrote the book on the subject. Your blog is great for anyone who wants to understand this subject more. Great stuff; please keep it up!

  2. Can I simply just say what a relief to find
    a person that actually understands what they’re discussing
    over the internet. You actually know how to bring an issue
    to light and make it important. More and more people must look at this and understand this side of your story.

    I was surprised you are not more popular because you surely have the gift.

  3. When I initially left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on whenever a comment
    is added I receive four emails with the same comment.
    Is there a way you are able to remove me from that service?
    Thanks!

  4. Hi there! This is kind of off topic but I need some advice from an established blog.

    Is it very difficult to set up your own blog? I’m not very techincal but I can figure things out pretty quick.
    I’m thinking about creating my own but I’m not sure
    where to begin. Do you have any ideas or suggestions? With thanks

  5. Pingback: Bandar Sbobet

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image