Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to create a virtual Android device
Forum Updated to NodeBB v4.3 + New Features

How to create a virtual Android device

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
16 Posts 3 Posters 14.5k 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.
  • tomyT Offline
    tomyT Offline
    tomy
    wrote on last edited by
    #7

    The problem is that I cannot install the required packages. :(

    1 Reply Last reply
    0
    • G Offline
      G Offline
      ginar44
      wrote on last edited by
      #8

      Look at this guy install that stuff: https://www.youtube.com/watch?v=k2HUwxggRq4

      And mybe change sdk. I dont use any installation.exe ( no android studio) only .zip android-sdk_r24.4.1-windows
      (the first)
      https://www.google.pl/search?q=android-sdk_r24.4.1-windows&ie=utf-8&oe=utf-8&client=firefox-b&gfe_rd=cr&ei=hminWKXFHaLi8AfvgZz4DA

      1 Reply Last reply
      1
      • tomyT Offline
        tomyT Offline
        tomy
        wrote on last edited by tomy
        #9

        It seems that the problem is of the SDK and AVD Managers. I hope so.
        I'm downloading android-sdk_r24.4.1-windows.zip.
        Then I follow the steps mentioned in video.

        1 Reply Last reply
        0
        • tomyT Offline
          tomyT Offline
          tomy
          wrote on last edited by tomy
          #10

          I downloaded that .zip. It contains these and the Tools folder contains these. When Run the SDK Manager it shows almost nothing.
          what is the problem this time? :(

          What does that .zip show for you? Why mine shows nothing!

          1 Reply Last reply
          0
          • tomyT Offline
            tomyT Offline
            tomy
            wrote on last edited by
            #11

            This is the content of the SDK folder created when installing Android Studio 2.2.3. Its size is about 4.84GB. That is, It is bigger than any other SDK Tools.
            But I don't know why it doesn't install all packages it includes!!

            1 Reply Last reply
            0
            • G Offline
              G Offline
              ginar44
              wrote on last edited by
              #12

              Your problem is that SDK Manager doesn't show you all packages.
              Try open SDK Manager.exe as an administrator.
              Seems like known issue
              http://stackoverflow.com/questions/11314359/android-sdk-manager-does-not-show-packages-to-be-installed

              tomyT 1 Reply Last reply
              1
              • tomyT Offline
                tomyT Offline
                tomy
                wrote on last edited by
                #13

                Thanks. I read it carefully.
                Again no success! :-(

                I guess the problem is of the the proxy settings. Mine is like this.

                1 Reply Last reply
                0
                • tomyT Offline
                  tomyT Offline
                  tomy
                  wrote on last edited by tomy
                  #14

                  I uninstalled everything and started the work again this time this way:
                  On my Windows 7 x64, I installed:

                  • qt-opensource-windows-x86-android-5.7.0 (I thought the problem may be of 5.8 so installed this time 5.7)
                  • android-studio-bundle-145.3537739-windows (Android Studio 2.2.3)
                  • android-ndk-r13b
                  • apache-ant-1.10.1
                  • jdk-8u121-windows-x64

                  And after setting the Android Tab of Qt Creator 5.7, I ran SDK Manager using its path:C:\Users\CS\AppData\Local\Android\sdk

                  Result: http://imgur.com/a/CLZZu

                  Once again, this time using a Windows 10 x64 virtual machine, I installed:

                  • qt-opensource-windows-x86-android-5.8.0
                  • android-studio-bundle-145.3537739-windows (Android Studio 2.2.3)
                  • android-ndk-r13b
                  • apache-ant-1.10.1
                  • jdk-8u121-windows-x64

                  And after setting the Android Tab of Qt Creator 5.8, I ran SDK Manager using its path: C:\Users\CS\AppData\Local\Android\sdk

                  Result: http://imgur.com/a/WAuCe

                  They are unfortunately the same.
                  So the problem is not of the operating system.

                  I don't know if I had gone the way wrongly somewhere. But it's so strange.
                  I think there maybe a problem with Android Studio 2.2.3. Probably I should test a lower version, 2.2.2 for creating an AVD. :-( :-( :-(

                  1 Reply Last reply
                  0
                  • G ginar44

                    Your problem is that SDK Manager doesn't show you all packages.
                    Try open SDK Manager.exe as an administrator.
                    Seems like known issue
                    http://stackoverflow.com/questions/11314359/android-sdk-manager-does-not-show-packages-to-be-installed

                    tomyT Offline
                    tomyT Offline
                    tomy
                    wrote on last edited by tomy
                    #15

                    @ginar44
                    Hi Ginar,

                    I could finally handle the problem, although not completely.
                    Thanks for your help up to here.

                    Please see the screenshot below. I want to know, what stuffs/updates do I need to install please?

                    http://imgur.com/a/Iru1N

                    jsulmJ 1 Reply Last reply
                    0
                    • tomyT tomy

                      @ginar44
                      Hi Ginar,

                      I could finally handle the problem, although not completely.
                      Thanks for your help up to here.

                      Please see the screenshot below. I want to know, what stuffs/updates do I need to install please?

                      http://imgur.com/a/Iru1N

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #16

                      @tomy In another thread I already said that you should check the "Show Package Details" check box in the bottom right corner. Did you try? You need to check it then you will see Android images you need for emulator.

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      1

                      • Login

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