Android, Qt5.1, Debian
-
Hi. In the past I have developed with Necessitas without any problem.
I have removed Necessitas to start to develop with Qt 5.1. When I try to deploy an application for Android I obtain this error: "/Dati/Qt/Android/apache-ant-1.9.2/bin/ant clean debug' failed.Exit code: 1".
What can I do to resolve the problem? -
This is my current configuration:
!http://www.denisgottardello.it/ant.jpeg(qtcreator -> options -> android)!
Is a problem related to a too updated ant version? -
When Im reading this page http://openjdk.java.net/install/, I see that the package openjdk 1.6.0 doesnt look to be for debian, but I guess thats not the source of the error. I also use ant 1.9.2 btw.
The main issue might be that your java location is wrong.
It should be /usr/lib/jvm/java-1.6.0-openjdk-i386 -
Probably has happened a problem copying the application.
The application has been installed correctly but when I try to start it in my mobile I obtain the error: "Your application encountered a fatal error and cannot continue."
I have uninstalled Ministro and made clean the mobile.
Is it a permissions error? -
Reading this table
http://source.android.com/source/build-numbers.html
the requested api level from my mobile is 10. Now the application works in my mobile correctly (not in the emulator but is not important).Now it's a very portable application instead of Necessitas - Ministro.
The next step is Mac OS X. Thanks a lot.