[Android] Issues with ant
-
"Screenshot":https://docs.google.com/file/d/0BygGiQfhIcvGN21qaFYwQmNNaFk/edit?usp=sharing
I have the x86_64 ndk because I under Windows Seven 64bits.
Please notice, I already get it works with this ndk. -
But Qt is not made for x64 actually, at least not the windows version.
Btw, update your java jdk. Its outdated and vulnerable.
What might be an issue is that you are using x86 JDK, but not the x86 NDK.Edit: I just checked my windows install of Qt (usually I use linux) and I have the x86 NDK and x64 java.
http://i.imgur.com/P7iQraG.png
On linux I also got this clean debug error, but it was related to some false java directory, so it wasnt working. -
Hmm, somewhere I read this might happen if you have any kind of special character in one of the resources (like a library name, app name etc.)
Btw, regarding the resource errors you get. Could you pls go to your Qt project, then /android/res/values and show the content of libs.xml -
[quote author="Moster" date="1376038382"]
On linux I also got this clean debug error, but it was related to some false java directory, so it wasnt working.[/quote]Simply install java sdk in separate folder, select this folder in QtCreator settings and it will work... have had same problem.
After any changes do not forgot to delete "android" folder in your project folder. Run qmake and build your project, android folder will be recreated with current settings.
-
[quote author="AcerExtensa" date="1376048185"]
[quote author="Moster" date="1376038382"]
On linux I also got this clean debug error, but it was related to some false java directory, so it wasnt working.[/quote]Simply install java sdk in separate folder, select this folder in QtCreator settings and it will work... have had same problem.
After any changes do not forgot to delete "android" folder in your project folder. Run qmake and build your project, android folder will be recreated with current settings.
[/quote]Thanks, but I resolved this error ages ago :) I just said that it was related to a wrong java sdk folder in my android configuration
-
Oh, ok, but for Flamaros try this:
bq. After any changes do not forgot to delete “android” folder in your project folder. Run qmake and build your project, android folder will be recreated with current settings.
-
Thanks a lot, It works.
We have some issues with the android folder, because we added some java files and do some modifications modifications in the androidManifest to launch our own java Application object.
[quote author="AcerExtensa" date="1376048822"]Oh, ok, but for Flamaros try this:
bq. After any changes do not forgot to delete “android” folder in your project folder. Run qmake and build your project, android folder will be recreated with current settings. [/quote]