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. cannot locate symbol "__emutls_get_address" - even with new Application
Forum Updated to NodeBB v4.3 + New Features

cannot locate symbol "__emutls_get_address" - even with new Application

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 2 Posters 2.0k Views
  • 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.
  • SeDiS Offline
    SeDiS Offline
    SeDi
    wrote on last edited by
    #1

    Hi,
    I try to run my programs under Android.
    Even a new project (File->New->QtQuick->Swipe) fails on the application output with the error message below.
    What is my mistake?
    BR Sebastian

    E AndroidRuntime: FATAL EXCEPTION: qtMainLoopThread
    E AndroidRuntime: Process: org.qtproject.example.Test, PID: 24242
    E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__emutls_get_address" referenced by "/data/app/org.qtproject.example.Test-Zths8CNnOaiVG9dAWdIz5A==/lib/arm64/libQt6Core_arm64-v8a.so"...
    E AndroidRuntime: 	at java.lang.Runtime.load0(Runtime.java:928)
    E AndroidRuntime: 	at java.lang.System.load(System.java:1633)
    E AndroidRuntime: 	at org.qtproject.qt.android.QtNative$2.run(QtNative.java:229)
    E AndroidRuntime: 	at org.qtproject.qt.android.QtThread$2.run(QtThread.java:51)
    E AndroidRuntime: 	at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)
    E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:764)
    
    
    "org.qtproject.example.Test" died.
    

    I work on a Win10 machine, use Creator 4.14.1, Qt 6.5.1 and deploy to a Nokia 8 (TA-1012) with Android 9.

    Settings: please see screenshots:
    01Devices.png
    02Build.png
    03Run.png
    04System.png
    05Creator.png

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mvuori
      wrote on last edited by
      #2

      When you Googled about __emutls_get_address, you should have found:
      https://doc.qt.io/qt-6/mobiledevelopment.html

      ...Which advises about NDK version to use -- an unsuitable version is often the cause of the problem...

      1 Reply Last reply
      1
      • SeDiS SeDi has marked this topic as solved on

      • Login

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