<table><tr><td style="">apol added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8173" rel="noreferrer">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
          color: #6B748C;
          font-style: italic;
          margin: 4px 0 12px 0;
          padding: 8px 12px;
          background-color: #F8F9FC;">
<div style="font-style: normal;
          padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D8173#167835" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">D8173#167835</a>, <a href="https://phabricator.kde.org/p/aacid/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;" rel="noreferrer">@aacid</a> wrote:</div>
<div style="margin: 0;
          padding: 0;
          border: 0;
          color: rgb(107, 116, 140);"><blockquote style="border-left: 3px solid #8C98B8;
          color: #6B748C;
          font-style: italic;
          margin: 4px 0 12px 0;
          padding: 8px 12px;
          background-color: #F8F9FC;">
<div style="font-style: normal;
          padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D8173#167776" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">D8173#167776</a>, <a href="https://phabricator.kde.org/p/apol/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;" rel="noreferrer">@apol</a> wrote:</div>
<div style="margin: 0;
          padding: 0;
          border: 0;
          color: rgb(107, 116, 140);"><p>I either need more information</p></div>
</blockquote>

<p>I'm happy to provide any information you want, i just don't know what you need other than KConfigCore.so is in the apk without your patch and not with your patch.</p></div>
</blockquote>

<p>Here's a little patch that you can apply and will offer a bit more information:</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="diff" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);"><span style="color: #000080">diff --git a/toolchain/specifydependencies.cmake b/toolchain/specifydependencies.cmake</span>
<span style="color: #000080">index 60b7e94..3406d1e 100644</span>
<span style="color: #a00000">--- a/toolchain/specifydependencies.cmake</span>
<span style="color: #00a000">+++ b/toolchain/specifydependencies.cmake</span>
<span style="color: #800080">@@ -1,3 +1,4 @@</span>
<span style="color: #00a000">+message(STATUS "executing: readelf --wide --dynamic ${TARGET}")</span>
 execute_process(COMMAND readelf --wide --dynamic ${TARGET} ERROR_VARIABLE readelf_errors OUTPUT_VARIABLE out RESULT_VARIABLE result)
 
 if (NOT result EQUAL 0)
<span style="color: #800080">@@ -11,13 +12,16 @@ foreach(line ${lines})</span>
     if(matched)
         if(EXISTS "${OUTPUT_DIR}/${CMAKE_MATCH_1}")
             list(APPEND extralibs "${OUTPUT_DIR}/${CMAKE_MATCH_1}")
<span style="color: #a00000">-        endif()</span>
<span style="color: #a00000">-        if(EXISTS "${EXPORT_DIR}/lib/${CMAKE_MATCH_1}")</span>
<span style="color: #00a000">+        elseif(EXISTS "${EXPORT_DIR}/lib/${CMAKE_MATCH_1}")</span>
             list(APPEND extralibs "${EXPORT_DIR}/lib/${CMAKE_MATCH_1}")
<span style="color: #00a000">+        else()</span>
<span style="color: #00a000">+            message(STATUS "could not find ${line} in ${EXPORT_DIR}/lib or ${OUTPUT_DIR}")</span>
         endif()
     endif()
 endforeach()
 
<span style="color: #00a000">+message(STATUS "extra libs: ${extralibs}")</span>
<span style="color: #00a000">+</span>
 if(extralibs)
     string(REPLACE ";" "," libs "${extralibs}")
     set(extralibs "\"android-extra-libs\": \"${libs}\",")</pre></div>

<p>You should get something like (this is a valid output, which you aren't having):</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">Generating ktuberling_mobile with /opt/Qt/5.9.1/android_armv7/bin/androiddeployqt
-- executing: readelf --wide --dynamic /home/user/build/ktuberling/ktuberling_mobile
-- could not find  0x00000001 (NEEDED)                     Shared library: [libgnustl_shared.so] in /opt/kdeandroid-deps/lib or /home/user/build/ktuberling
-- could not find  0x00000001 (NEEDED)                     Shared library: [liblog.so] in /opt/kdeandroid-deps/lib or /home/user/build/ktuberling
-- could not find  0x00000001 (NEEDED)                     Shared library: [libz.so] in /opt/kdeandroid-deps/lib or /home/user/build/ktuberling
-- could not find  0x00000001 (NEEDED)                     Shared library: [libdl.so] in /opt/kdeandroid-deps/lib or /home/user/build/ktuberling
-- could not find  0x00000001 (NEEDED)                     Shared library: [libQt5Svg.so] in /opt/kdeandroid-deps/lib or /home/user/build/ktuberling
-- could not find  0x00000001 (NEEDED)                     Shared library: [libQt5Multimedia.so] in /opt/kdeandroid-deps/lib or /home/user/build/ktuberling
-- could not find  0x00000001 (NEEDED)                     Shared library: [libQt5Xml.so] in /opt/kdeandroid-deps/lib or /home/user/build/ktuberling
-- could not find  0x00000001 (NEEDED)                     Shared library: [libQt5Widgets.so] in /opt/kdeandroid-deps/lib or /home/user/build/ktuberling
-- could not find  0x00000001 (NEEDED)                     Shared library: [libQt5Gui.so] in /opt/kdeandroid-deps/lib or /home/user/build/ktuberling
-- could not find  0x00000001 (NEEDED)                     Shared library: [libQt5Network.so] in /opt/kdeandroid-deps/lib or /home/user/build/ktuberling
-- could not find  0x00000001 (NEEDED)                     Shared library: [libQt5Core.so] in /opt/kdeandroid-deps/lib or /home/user/build/ktuberling
-- could not find  0x00000001 (NEEDED)                     Shared library: [libstdc++.so] in /opt/kdeandroid-deps/lib or /home/user/build/ktuberling
-- could not find  0x00000001 (NEEDED)                     Shared library: [libm.so] in /opt/kdeandroid-deps/lib or /home/user/build/ktuberling
-- could not find  0x00000001 (NEEDED)                     Shared library: [libc.so] in /opt/kdeandroid-deps/lib or /home/user/build/ktuberling
-- extra libs: /opt/kdeandroid-deps/lib/libKF5ConfigCore.so
Generating Android Package</pre></div>

<p>Then we see how to figure it out.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R240 Extra CMake Modules</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8173" rel="noreferrer">https://phabricator.kde.org/D8173</a></div></div><br /><div><strong>To: </strong>apol, Frameworks, Build System, aacid<br /><strong>Cc: </strong>mart<br /></div>