网上有人说把apk文件拷贝到手机sd卡里面执行即可,由于我没有手机,无法试验,不知道是不是这样?
如果真是这样,那我还有点疑问,这个apk文件里面已经包括了程序里面使用到的所有资源了吗?如果包括了,那么假如某一天我想修改一下软件的界面文字,岂不是要重新打包apk?为什么不把资源放在外部,让程序运行的时候加载,这样修改资源就不用再把apk包了,玩家也可以diy软件的界面了。

解决方案 »

  1.   

    要用android sdk提供的adb tool
    执行adb install 或者 adb push *.apk /system/app/即可。
    关于后面部分的问题,假如我哪天不爽,删了里面的资源,程序不是运行不起来了么...
      

  2.   

    The apk file is a ZIP file. It contains complied classes and resources.If your change the resource, it must re-build the apk file. Because the R.java may be changed for different resource file.The resource file position maybe the differrence between phone and PC. Because application run on the mobile should be more tiny and exactly, then it will have a better performance.