我有以下问题:当我尝试从 necessitas 在实际设备上进行部署时,我无法通过 .apk 创建阶段。Ant 在找到 .aidl 文件后停止并出现错误。
这是我从 ant 得到的输出(我添加了一个 echo 来查看aidl 调用参数,所以它可能看起来不寻常):
echo: started Sat Mar 09 08:54:26 CET 2013
[echo] Handling aidl files...
echo: finished Sat Mar 09 08:54:26 CET 2013 (0ms)
echo: started Sat Mar 09 08:54:26 CET 2013
[echo] executable="D:\necessitas\android-sdk\platform-tools\aidl.exe"
[echo] framework="D:\necessitas\android-sdk\platforms\android-16\framework.aidl"
[echo] libraryBinAidlFolderPathRefid="project.library.bin.aidl.folder.path"
[echo] genFolder="D:\workspace\Test\android\gen"
[echo] aidlOutFolder="D:\workspace\Test\android\bin\aidl"
[echo] path="D:\workspace\Test\android\src"
echo: finished Sat Mar 09 08:54:26 CET 2013 (0ms)
aidl: started Sat Mar 09 08:54:26 CET 2013
[aidl] Found 2 AIDL files.
[aidl] Compiling 2 AIDL files.
Packaging Error: Command 'D:\necessitas/apache-ant-1.8.4/bin/ant.bat clean debug' failed.Exit code: 1
Error while building/deploying project Test (target: Necessitas Qt 4.8.2 for Android armv7a)
When executing step 'Packaging for Android'