Necessitas deploying error
-
Hi everyone!
I am recently install latest Necessitas SDK on my Ubuntu 12.10.
Then create simple app with 1 button and try run it on emulator, but got this error on deploying step:
@-pre-build:-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] Found 2 AIDL files.
[aidl] Compiling 2 AIDL files.
[echo] ----------
[echo] Handling RenderScript files...
Packaging Error: Command '/home/botir/necessitas/apache-ant-1.8.4/bin/ant clean debug' failed.Exit code: 1
Error while building/deploying project untitled1 (target: Necessitas Qt 4.8.2 for Android armv5)
When executing step 'Packaging for Android'@
How to fix it? -
Well, it is issue with Java... it requires additional copying some libraries from JRE to JSE (or vice versa)... try to google it...
-
I tried. Most solutions in the web are similar to "sheeeng.blogspot.com":http://sheeeng.blogspot.com/2011/09/packaging-error-command-usrbinant-debug.html
and it is useless for me. Others is installing right packages of jdk, i have installed openjdk-6.
For now i am stuck. -
Any advice which way to dig?
-
did you try to debug the problem?
starting with running manually the ant command that fails and finding out why it fails. -
No i didn't. I never use Ant before, how to do what you say?
-
I had an almost similar problem. Here is my question on stackoverflow and what was the solution for me: http://stackoverflow.com/questions/15308639/deploying-in-necessitas