Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Unable to run application Necessitas SDK : missing Ministro -SOLVED
Forum Updated to NodeBB v4.3 + New Features

Unable to run application Necessitas SDK : missing Ministro -SOLVED

Scheduled Pinned Locked Moved Installation and Deployment
8 Posts 6 Posters 12.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    galrub
    wrote on last edited by
    #1

    Hello all,

    i download the Necessitas sdk installer for windows, but when I try to run a simple Qt GUI main window on the ARM (Android API 3.2) I get:
    @This application requires Ministro service.
    Would you like to install it@
    I click 'ok' to install it but it says:
    @Can't find Ministro service,
    the application can't start@

    also I get this 'No Activity found ' exception in the Qt creator:
    @W/System.err( 604): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=market://search?q=pname:org.kde.necessitas.ministro }
    ....
    ....
    E/WindowManager( 604): Activity org.kde.necessitas.origo.QtActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40869030 that was originally added here
    E/WindowManager( 604): android.view.WindowLeaked: Activity org.kde.necessitas.origo.QtActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40869030 that was originally added here@

    does this has to do with the Android API version? any ideas?
    Thanks,
    G

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      using a higher API version might solve your problem. Have a try with API 10 or higher.

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • G Offline
        G Offline
        galrub
        wrote on last edited by
        #3

        it's Android 3.2 Level 13, so it's not that,
        so it's not that, but thanks.

        I think the key here is the
        'No Activity found to handle Intent' exception, it needs the activity to get the ministro from the market service

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          zither
          wrote on last edited by
          #4

          You'll need to download ministro from Android Market service OR

          You can deploy to include library files (*.so) to target device.
          This settings can be changed in project settings.

          1 Reply Last reply
          0
          • G Offline
            G Offline
            galrub
            wrote on last edited by
            #5

            [quote author="zither" date="1320501503"]You'll need to download ministro from Android Market service OR

            You can deploy to include library files (*.so) to target device.
            This settings can be changed in project settings.[/quote]

            ok, so here is what I did, kind of late so will test it tomorrow:

            1. downloaded the Ministro II + configuration tool apk(es)
            2. used the adb in the package tools to install these apk (adb install XXX.apk while the emulator is on).

            Update:
            did the trick!

            thanks,
            G

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mezvangi
              wrote on last edited by
              #6

              hello
              I have the same problem and I find this soloution
              just run AVD (build your application)

              in avd Andriod go to the menu >chose browser or search
              write ministro.apk
              click download from sourcefrog
              and install ministro like you install application in andriod phone :D

              Sorry i have bad english :D

              1 Reply Last reply
              0
              • H Offline
                H Offline
                homeless
                wrote on last edited by
                #7

                Hello there,
                I have the same problem. I did like mezvangi did. I installed ministro.apk in android emulator. I simply run the emulator, searched ministro.apk still in android emulator and installed like we do in a usual cell phone.

                1 Reply Last reply
                0
                • X Offline
                  X Offline
                  XiaoMC
                  wrote on last edited by
                  #8

                  I have installed the ministro II.apk and configuration apk, but the emulator told me the version is not right,maybe I need to install the previous version?
                  This night I‘ll try.

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved