question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

target: android failing with v3

See original GitHub issue
      - name: 💐 Install Qt
        uses: jurplel/install-qt-action@v3
        with:
          target: android
/opt/hostedtoolcache/Python/3.10.6/x64/bin/python3 -m aqt install-qt linux android 5.15.2 android_armv7 --outputdir /home/runner/work/Qt
aqtinstall(aqt) v2.1.0 on Python 3.10.6 [CPython GCC 9.4.0]
The packages ['qt_base'] were not found while parsing XML of package information!
==============================Suggested follow-up:==============================
* Please use 'aqt list-qt linux android --arch 5.15.2' to show architectures available.
* Please use 'aqt list-qt linux android --modules 5.15.2 <arch>' to show modules available.
Error: Error: The process '/opt/hostedtoolcache/Python/3.10.6/x64/bin/python3' failed with exit code 1

Likely caused by: https://github.com/jurplel/install-qt-action/commit/8358dd9cdba87272a800a5567000bdc8cc647dd6#diff-ad2b60fd0fe67776e1dcc7801bcaeed4934823e3103a9d2ae656073002304eb1R115-R117

The following command works in a local test

python3 -m aqt install-qt linux android 5.15.2 android --outputdir qt

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
ddalcinocommented, Aug 20, 2022

On second thought, maybe it would be more appropriate to have the action run aqt list-qt to find out what architectures are available, and pick something from that list.

There’s definitely a use case for installing all of the architectures, or a handful of architectures, but it probably should not be the default case. It could be problematic to have the defaults use so much unnecessary net traffic and CPU time.

1reaction
m-kuhncommented, Aug 13, 2022

Specifying arch helps

      - name: 💐 Install Qt
        uses: jurplel/install-qt-action@v3
        with:
          target: android
          arch: android
Read more comments on GitHub >

github_iconTop Results From Across the Web

failed to find target with hash string android-23 - Stack Overflow
So do try the following; 1.Install the SDK Manager that support API level 23. Go to >SDK Manager, >Android SDK , then select...
Read more >
[Solved] How to Fix Failed to find target with hash string ...
This Video is about How to Fix Error: Failed to find target with hash string ' android 19' or any other numbers like...
Read more >
Android Build fails with "Failed to find target with hash string '27'"
This seems to be pulled from "/platforms/android/CordovaLib/project.properties" file, "target=android-27" because changing to "target=aandroid- ...
Read more >
Build failure with Android Target API 31 - Unity Forum
I'm updating Android Target API to 31 to meet Google's app submission requirement. But getting build failure. It works fine with Target API ......
Read more >
Update your target Android API level by November 1 - Ionic Blog
For existing apps, meaning a published app not receiving updates, apps must target an API level of 30 or higher to be discoverable...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found