Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-31833

Improve sdkmanager fetching for package data

XMLWordPrintable

    • Icon: User Story User Story
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 14.0.0
    • Android Support
    • None

      Due to the slowness of running `sdkmanager --list` command, the Android Settings page, the New Android Device wizard, are quite slow, taking more than 4 seconds to finish.

      One option to mitigate this is by running `sdkmanager --list_installed` when it makes sense, that is whenever we're trying to list data only and there's no intention to install new packages, this would apply to the New Android Device wizard, and some cases in the Settings page.

      Another option is caching the content of `sdkmanager --list` and using the cached content to parse the data for all cases except when we want to install new SDK or when running the SDK Manager Dialog. Also, the Android SDK directory could be watched for changes to refresh this cache in case packages are modified outside of Qt Creator.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            portale Alessandro Portale
            assam Assam Boudjelthia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes