Android Development Guide
-
wrote on 10 Jul 2016, 13:22 last edited by
Hello Devnet,
Is there any android development guide from zero to hello world level ? Because, I tried 3 different computers but I didn't do anything. 2 computers gave me same error in here. I want to make simple bluetooth app for android.
Now, I use a windows installer:
I have a lot of questions,
-Which Qt version compatible which Android API?
-Should I use Android x86 or Android ARMv7 or etc. ?
-In tools section which MinGW do I need?
-At Qt 5.7 section has MinGW 5.3.0 and tools section has MinGW. Should I setup MinGW at tools section?
-How to create an APK? and so on..So, what can I do now? :)
Thanks, -
Hello Devnet,
Is there any android development guide from zero to hello world level ? Because, I tried 3 different computers but I didn't do anything. 2 computers gave me same error in here. I want to make simple bluetooth app for android.
Now, I use a windows installer:
I have a lot of questions,
-Which Qt version compatible which Android API?
-Should I use Android x86 or Android ARMv7 or etc. ?
-In tools section which MinGW do I need?
-At Qt 5.7 section has MinGW 5.3.0 and tools section has MinGW. Should I setup MinGW at tools section?
-How to create an APK? and so on..So, what can I do now? :)
Thanks,wrote on 10 Jul 2016, 14:51 last edited by@ideadesigner Hi, Getting Started with Qt for Android should be helpful.
-
wrote on 12 Jul 2016, 09:54 last edited by ideadesigner 7 Dec 2016, 10:02
I tried again and I did it.
Now, I use emulator API level 16 and from left side projects settings, I choosed 'Android build SDK: android-16'.
But, I can not deploy some apps. For example, when I try to deploy "Bluetooth QML Chat Example" app to android (Qt 5.7 for android armv7) it gives me error.
Some apps don't give me error.BUILD FAILED C:\Users\boost\AppData\Local\Android\android-sdk\tools\ant\build.xml:649: The following error occurred while executing this line: C:\Users\boost\AppData\Local\Android\android-sdk\tools\ant\build.xml:694: null returned: 1
... When project is open, I choose from left side projects;
- I used api 16 emulator,
- I choosed 'Android build SDK: android-22'.
And deploying process is fine.
I didn't understand.
-
I tried again and I did it.
Now, I use emulator API level 16 and from left side projects settings, I choosed 'Android build SDK: android-16'.
But, I can not deploy some apps. For example, when I try to deploy "Bluetooth QML Chat Example" app to android (Qt 5.7 for android armv7) it gives me error.
Some apps don't give me error.BUILD FAILED C:\Users\boost\AppData\Local\Android\android-sdk\tools\ant\build.xml:649: The following error occurred while executing this line: C:\Users\boost\AppData\Local\Android\android-sdk\tools\ant\build.xml:694: null returned: 1
... When project is open, I choose from left side projects;
- I used api 16 emulator,
- I choosed 'Android build SDK: android-22'.
And deploying process is fine.
I didn't understand.
wrote on 12 Jul 2016, 11:15 last edited byHi.
Some of the Android API are required Android 4.3(API Level 18) or later. For Bluetooth devices with low power requirements, Android 4.3 (API Level 18) introduces API support for Bluetooth Low Energy.
Always check the version of the API before you can build.
-
Hi.
Some of the Android API are required Android 4.3(API Level 18) or later. For Bluetooth devices with low power requirements, Android 4.3 (API Level 18) introduces API support for Bluetooth Low Energy.
Always check the version of the API before you can build.
wrote on 12 Jul 2016, 20:57 last edited by@Devopia53
I see but I didn't use Bluetooth Low Energy. -
wrote on 27 Jul 2016, 08:17 last edited by
Hi @ideadesigner,
Try using Gradle instead of Ant. -
Hi @ideadesigner,
Try using Gradle instead of Ant.wrote on 2 Aug 2016, 17:28 last edited by@Shrinidhi-Upadhyaya
Why do you suggest Gradle? -
wrote on 3 Aug 2016, 09:49 last edited by
Install latest mingw... I had problems with make without it...