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

Wrong name library in bundled_libs section libs.xml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 2.8.0-beta
    • Qt Creator 2.7.0-beta
    • Android Support
    • None
    • Ubuntu 13.04

    Description

      Wrong name library in bundled_libs section.

      Example:

      <array name="bundled_libs">
          <item>libMyLib.so</item>
      </array>
      

      Need:

      <array name="bundled_libs">
          <item>MyLib</item>
      </array>
      

      More info:
      1. Create project
      Other Project-Subdirs Project
      2. In window "New Subproject" add gui application
      Applications-Qt GuiApplication
      3. Add new subproject. In window "New Subproject" add C++ library
      Libraries-C++ Library
      4. Add in gui application library.
      Context menu-Add Library-Internal library-check library(created in step 3)
      5. Set project in Android Kit.
      Build project
      Open menu configurations: Project-Package configurations(Kit in Run).
      In Prebundled libraries have "libMyLib.so". Need "MyLib"
      Check "libMyLib.so".
      In file android/res/values/libs.xml section "bundled_libs" contains <item>libMyLib.so</item>. Need <item>MyLib</item>

      Log:

      E/AndroidRuntime(16689): FATAL EXCEPTION: main
      E/AndroidRuntime(16689): java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1891]: 12034 could not load needed library 'libMyLib.so' for 'libgui.so' (load_library[1093]

      Solved as:
      http://pastebin.com/4TGiVawE

      Attachments

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

        Activity

          People

            dt Daniel Teske
            vadimdolgachev vadimdolgachev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes