各位大虾,我想修改系统自带的一些APP,比如Launcher、Settings、Gallery等等。
我的做饭是把android源码编译后,导入到eclipse中进行修改,但是发现很多API和变量都是隐藏属性(@Hide),我再把源码编译出来的API加入进去,eclipse中没错误。
但是准备到模拟器上运行的时候提示:
Re-installation failed due to different application signatures.
You must perform a full uninstall of the application. WARNING: This will remove the application data!
Please execute 'adb uninstall com.android.launcher' in a shell.
但是系统默认的Launcher是在ROM里面(System/app),删除不掉,该怎么办? 
我想知道我的方法是正确的吗?

解决方案 »

  1.   

    你想卸载launcher的话必须要有root权限,http://www.gphans.com/forum/183
    否则不能卸载的...
      

  2.   

    删除了原来的那个Launcher
    运行project,logcat里输出:
    Package com.android.launcher signatures do not match
    the previously installed version;
    console输出:
    Installation error: INSTALL_FAILED_UPDATE_INCOMPATIBLE
      

  3.   

    可是eclipse里面是不能运行launcher源码的啊 你是怎么编译的呢
      

  4.   

    我把源码编译后的APP里的luncher导入到eclipse
    再把编译后的API当做Lib加入到eclipse launcher工程里
    eclipse不是默认自动编译吗?
      

  5.   

    请问你改过android源码中的Settings的布局没有?我现在要在Settings里面加一个popupwindow,便、代码改了没有发生变化,因为加代码的地方是preferenceScreen,不知道preferenceScreen可以放进popupwindow里吗?