delphixe5下编译android程序发布错误
兴高采烈安装了XE5,试试开发android程序,但是提示:
Troubleshooting: Cannot Deploy an Application for Android
[Error Error] Required local file "Android\<build configuration>\lib<project name>.so" not found. Deployment failed.
You must build your project before you deploy it.
(这个so文件编译成功没问题)
[Error Error] Missing provisioning information for the "Application Store" platform configuration, the file '<APK path>' has been sucessfully generated but it has not been signed and it is a non-instalable package.
It means that RAD Studio successfully deployed your application, but you did not provide the required provisioning information to sign it. You need to provide the required provisioning information in order to run your application from RAD Studio using the Application Store platform configuration (as opposed to Debug, which does not require this information).
Alternatively, you can sign your unsigned APK file manually.
这个大致意思要注册一个加密文件,我已经弄了,但是"Application Store"是啥呢,如何“ sign your unsigned APK file manually”我有点糊涂
[Exec Error] The command "<command line>" exited with code <integer other than 0>.
You must ensure that the Android SDK that you have assigned to the Android target platform in your project is configured with the right KeyTool location path. You can review and edit your Android SDK properties from the SDK Manager.
SDK已经安装好了,“right KeyTool location path”这个意思是Key工具路径,SDK我安装的好好的啊,android2.3,模拟器也是按照好了,JDK,ADT,NDK,一堆都OK,what 易做图 "the KeyTool location path"
下面是编译提示栏的错误信息,意思是apk没法生成,我迷茫了。appt.exe是生成程序的哈,似乎没法执行成功。
错误提示:
[PAClient Error] Error: E2312 Unable to execute '"C:\Program Files (x86)\Android\android-sdk\platform-tools\Aapt.exe" package -f -M "D:\XE5TEST\Android\Debug\TG\AndroidManifest.xml" -F "D:\XE5TEST\Android\Debug\TG\bin\TG-unsigned.apk" -I "C:\Program Files (x86)\Android\android-sdk\platforms\android-10\android.jar" -S "D:\XE5TEST\Android\Debug\TG\res" -A "D:\XE5TEST\Android\Debug\TG\assets" "D:\XE5TEST\Android\Debug\TG\library" "D:\XE5TEST\Android\Debug\TG\classes"' (Error 1) delphixe5;android --------------------编程问答-------------------- Delphi XE5支持Android ARM的开发,可以在Android虚拟机里运行,因此建议将XE5安装在64bit的Windows,内存可以大于3GB
Delphi XE5安装光盘中包含了最基本的Android开发的环境文件,但是并没有提供Android模拟机。
http://www.newasp.net/tech/74023.html --------------------编程问答-------------------- 我已经是安装在64位win7环境下了啊,我的笔记本内存是8G内存,我现在用的手机是华为P6,通过360手机助手,我也把驱动安装好了,在XE5可以看到target platform有我的P6,就是报“ Cannot Deploy an Application for Android”,我还是有点糊涂 --------------------编程问答-------------------- application store 要制作签名才能发表apk,如果你不发表就可以选择application store 的上面的选项,debug --------------------编程问答-------------------- 我也是同样的问题,搞了好久,不行 --------------------编程问答-------------------- 现在好了,api 等级用19就好了,API7 API8试过不行,可能是不支持版本
补充:移动开发 , Android