[SOLVED] Ministro?
-
Hi,
IIRC, you need to install Ministro by hand on the AVD. Or you can also deploy the Qt library directly.
There's both options available on the Deploy Configuration options in Run in the Project panel
-
The second or the this.
If you deploy locally, it takes longer the first time, then you only have your application to upload, but IIRC you'll have to do it again when you reboot the AVD.
Otherwise bundle with the APK, a bit longer to deploy but you don't need anything else
-
Okay, I think I will bundle it with the APK.
I just don't know how to do that. I'm trying to follow http://qt-project.org/doc/qtcreator-3.0/creator-run-settings.html but I'm getting no where at a slow rate.
-
That one's not for Android. Just open the Project Panel, go to run and deploy the Deployment part, you'll see a group of button allowing to choose what you want to do.
-
Hi, if you can't find it, it looks like this in the android run configuration:
!http://i.imgur.com/RnLM097.png(android run config)! -
-
I'm using Qt Creator 3.0. I have Qt 5.2 and Qt 4.8 kits. The problem with Qt 4.8 is that it requires necessitas.
The current build I am trying to compile for is Qt 4.8 running necessitas. I should try to port the project to 5.2 but I am having sooo much trouble with that I figured maybe I could get it to work on the original build.
-
Then I would install the ministro APK. You can find it in Google Play. If you are working with the Genymotion emulator, then you can find the APK file with google and install it by dragging it from the file manager to the emulator window. On a real device, you can install APK files also with the adb command over USB.
-
What is the Genymotion emulator?
I'll try installing the ministro APK. Where do i find this? Once I have that installed what do I do next?
I would prefer not installing anything outside of using Qt Creator. Mainly because I'm trying to minimize all steps that are required outside of Qt Creator. Once I'm done getting this whole project set up I'm going to write up a guide letting other know what was done so they can easily reproduce what I have.
-
Well you know there are search engines for the internet, right? :D
Ministro APK: http://sourceforge.net/projects/ministro.necessitas.p/
Ministrore play store link: https://play.google.com/store/apps/details?id=org.kde.necessitas.ministro
Genymotion Android Emulator: http://www.genymotion.com/I still prefer the "official" Android Emulator with "Intel HAXM":https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager Support. You can install that with the Android SDK downloader, but keep in mind that HAXm and Genymotion use x86 builds of Android (not ARM), one major reason why they are faster but from my experience not very good for native Qt apps.. my apps keep crashing with Andorid x86, don't know why on ARM devices and emulators they work fine.
-
[quote author="Xander84" date="1398886146"]Well you know there are search engines for the internet, right? :D
Ministro APK: http://sourceforge.net/projects/ministro.necessitas.p/
Ministrore play store link: https://play.google.com/store/apps/details?id=org.kde.necessitas.ministro
Genymotion Android Emulator: http://www.genymotion.com/
[/quote]I suppose so :(
This is always a fun response :)http://lmgtfy.com/?q=Ministro+APK
I'll try those and get back to you. I really appreciate everyone's help!
-
I get this in General Messages:
@C:/Users/Darrel/adt-bundle-windows-x86_64-20140321/sdk/platform-tools/adb.exe -s emulator-5554 install -r C:/Users/Darrel/Ministro II.apk@And then it seems to sit there like nothing happened. I figure it has installed so I run my program and it says
@ This application requires Ministro service. Would you like to install it?@
I hit yes:
@
Can't find Ministro service. The application can't start.
@
:(
-
Well I solved the problem of why it wouldn't install "Ministro II.apk"!
It wouldn't install it because of the name. It had a space in the name so I had to use quotes around the whole command!
@C:/Users/Darrel/adt-bundle-windows-x86_64-20140321/sdk/platform-tools/adb.exe -s emulator-5554 install -r C:/Users/Darrel/Ministro II.apk@
@C:/Users/Darrel/adt-bundle-windows-x86_64-20140321/sdk/platform-tools/adb.exe -s emulator-5554 install -r "C:/Users/Darrel/Ministro II.apk"@
It doesn't show that error from the Qt Creator General Messages interface. I had to be in CMD to see the error. Makes me wonder if Qt should default to always putting quotes around the paths?
That problem may be solved but it brings me to a new problem!
@Ministro is not compatible with your application. Please upgrade Ministro service.@