<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error compiling basic template ArcGIS QML Android 100.14 in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/error-compiling-basic-template-arcgis-qml-android/m-p/1169868#M4536</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/581972"&gt;@HomeroOriaAguilera&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;That is a new supporting file with 100.14. It is required to be deployed with all apps. We have this logic in our .pri file:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;    ANDROID_LIBS_DIR = $$shell_path($$OUT_PWD/android-build/libs)
    RuntimeNativeJar.target = $$ANDROID_LIBS_DIR/libs/RuntimeIndoors.jar

    RuntimeNativeJar.commands = \
       $$sprintf($$QMAKE_MKDIR_CMD, $$ANDROID_LIBS_DIR) $$escape_expand(\n\t) \
       $${QMAKE_COPY} $${SDK_INSTALL_DIR}/sdk/$${PLATFORM}/jar/RuntimeIndoors.jar $$ANDROID_LIBS_DIR $$escape_expand(\n\t)

    target.depends += RuntimeNativeJar

    QMAKE_EXTRA_TARGETS += RuntimeNativeJar

    ALL_DEPS += $${RuntimeNativeJar.target}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is what happens to deploy the file with the app. Building Android on Windows is tricky, and we've struggled with that combination on the team in the past. It's possible the command may need Windows separators, or something similar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's what I recommend:&lt;/P&gt;&lt;P&gt;1. See if commenting that section out gets your app building. This will narrow down the problem to those specific steps.&lt;/P&gt;&lt;P&gt;2. Tinker with those commands and see if you can get it working. There could be something buggy or inconsistent with the make commands on Windows that is problematic.&lt;/P&gt;&lt;P&gt;Let us know how it goes.&lt;/P&gt;&lt;P&gt;Also, can you confirm if you are using qmake or CMake? CMake would be something else to troubleshoot if that's the case.&lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2022 20:06:33 GMT</pubDate>
    <dc:creator>JamesBallard1</dc:creator>
    <dc:date>2022-05-02T20:06:33Z</dc:date>
    <item>
      <title>Error compiling basic template ArcGIS QML Android 100.14</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/error-compiling-basic-template-arcgis-qml-android/m-p/1169784#M4533</link>
      <description>&lt;P&gt;Hi. With the recent version of Qt Runtime SDK 100.14, I create an empty ArcGIS QML project created with the wizard to test the Android compilation.&lt;/P&gt;&lt;P&gt;Howeever I got this error.&lt;/P&gt;&lt;LI-SPOILER&gt;error: No rule to make target 'C:\Users\homer\Documents\build-untitled5-Android_Qt_5_15_8_Clang_Multi_Abi-Debug\android-build\libs/libs/RuntimeIndoors.jar', needed by 'all'. Stop.&lt;/LI-SPOILER&gt;&lt;P&gt;It seems that RuntimeIndors.jar is missing, but this file is inside of ArcGIS SDK.&lt;/P&gt;&lt;P&gt;Other Android compilations with other versions of the SDK work fine.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Compiler Kit&lt;/STRONG&gt;. Android Qt.5.15.8 Clang Multi ABI&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Qt&lt;/STRONG&gt;. 5.15.8&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Qt&lt;/STRONG&gt; &lt;STRONG&gt;Creator&lt;/STRONG&gt;. 7.0.1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OS&lt;/STRONG&gt;. Windows 10 22000.652&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 17:41:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/error-compiling-basic-template-arcgis-qml-android/m-p/1169784#M4533</guid>
      <dc:creator>HomeroOriaAguilera</dc:creator>
      <dc:date>2022-05-02T17:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling basic template ArcGIS QML Android 100.14</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/error-compiling-basic-template-arcgis-qml-android/m-p/1169868#M4536</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/581972"&gt;@HomeroOriaAguilera&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;That is a new supporting file with 100.14. It is required to be deployed with all apps. We have this logic in our .pri file:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;    ANDROID_LIBS_DIR = $$shell_path($$OUT_PWD/android-build/libs)
    RuntimeNativeJar.target = $$ANDROID_LIBS_DIR/libs/RuntimeIndoors.jar

    RuntimeNativeJar.commands = \
       $$sprintf($$QMAKE_MKDIR_CMD, $$ANDROID_LIBS_DIR) $$escape_expand(\n\t) \
       $${QMAKE_COPY} $${SDK_INSTALL_DIR}/sdk/$${PLATFORM}/jar/RuntimeIndoors.jar $$ANDROID_LIBS_DIR $$escape_expand(\n\t)

    target.depends += RuntimeNativeJar

    QMAKE_EXTRA_TARGETS += RuntimeNativeJar

    ALL_DEPS += $${RuntimeNativeJar.target}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is what happens to deploy the file with the app. Building Android on Windows is tricky, and we've struggled with that combination on the team in the past. It's possible the command may need Windows separators, or something similar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's what I recommend:&lt;/P&gt;&lt;P&gt;1. See if commenting that section out gets your app building. This will narrow down the problem to those specific steps.&lt;/P&gt;&lt;P&gt;2. Tinker with those commands and see if you can get it working. There could be something buggy or inconsistent with the make commands on Windows that is problematic.&lt;/P&gt;&lt;P&gt;Let us know how it goes.&lt;/P&gt;&lt;P&gt;Also, can you confirm if you are using qmake or CMake? CMake would be something else to troubleshoot if that's the case.&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 20:06:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/error-compiling-basic-template-arcgis-qml-android/m-p/1169868#M4536</guid>
      <dc:creator>JamesBallard1</dc:creator>
      <dc:date>2022-05-02T20:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling basic template ArcGIS QML Android 100.14</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/error-compiling-basic-template-arcgis-qml-android/m-p/1170493#M4539</link>
      <description>&lt;P&gt;I see. I use qmake. Let me try it and I will let you know.&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 03:06:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/error-compiling-basic-template-arcgis-qml-android/m-p/1170493#M4539</guid>
      <dc:creator>HomeroOriaAguilera</dc:creator>
      <dc:date>2022-05-04T03:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling basic template ArcGIS QML Android 100.14</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/error-compiling-basic-template-arcgis-qml-android/m-p/1172678#M4551</link>
      <description>&lt;P&gt;I hit this as well and noticed a few things:&lt;BR /&gt;1. On Windows, RuntimeIndoors.jar is not part of the SDK installation. It is on MacOS though, so I copied it from there to my ArcGIS SDKs\Qt100.14\sdk\android\jar folder. Note that the "jar" folder does not exist on Windows, so you have to create it.&lt;BR /&gt;&lt;BR /&gt;2. In arcgis_runtime_qml.pri, the following line is wrong:&lt;/P&gt;&lt;PRE&gt;$${QMAKE_COPY} $${SDK_INSTALL_DIR}/sdk/$${PLATFORM}/jar/RuntimeIndoors.jar $$ANDROID_LIBS_DIR $$&lt;SPAN&gt;escape_expand&lt;/SPAN&gt;(\n\t)&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Instead, it should be:&lt;/P&gt;&lt;PRE&gt;$${QMAKE_COPY} $$&lt;SPAN&gt;shell_path&lt;/SPAN&gt;($$&lt;SPAN&gt;shell_quote&lt;/SPAN&gt;($${SDK_INSTALL_DIR}/sdk/$${PLATFORM}/jar/RuntimeIndoors.jar)) $$ANDROID_LIBS_DIR $$&lt;SPAN&gt;escape_expand&lt;/SPAN&gt;(\n\t)&lt;/PRE&gt;&lt;P&gt;3. I also had to remove the extra "libs" from this line:&lt;/P&gt;&lt;PRE&gt;RuntimeNativeJar.target = $$ANDROID_LIBS_DIR/libs/RuntimeIndoors.jar&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 06:20:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/error-compiling-basic-template-arcgis-qml-android/m-p/1172678#M4551</guid>
      <dc:creator>JustinSteventon</dc:creator>
      <dc:date>2022-05-11T06:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling basic template ArcGIS QML Android 100.14</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/error-compiling-basic-template-arcgis-qml-android/m-p/1172871#M4553</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/290397"&gt;@JustinSteventon&lt;/a&gt;.&amp;nbsp;I'll log an internal issue for those second two you mentioned. As for problem 1, RuntimeIndoors.jar is part of the Windows SDK installation with 100.14. If that's not there, I'd like to know more about that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just installed 100.14 on Windows fresh and it is sitting here:&lt;/P&gt;&lt;P&gt;C:\Program Files (x86)\ArcGIS SDKs\Qt100.14\sdk\android\jar\RuntimeIndoors.jar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 15:36:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/error-compiling-basic-template-arcgis-qml-android/m-p/1172871#M4553</guid>
      <dc:creator>JamesBallard1</dc:creator>
      <dc:date>2022-05-11T15:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling basic template ArcGIS QML Android 100.14</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/error-compiling-basic-template-arcgis-qml-android/m-p/1172912#M4554</link>
      <description>&lt;P&gt;It definitely did not exist on my system, but I disabled the C++ components. Not sure if that is related.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 16:32:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/error-compiling-basic-template-arcgis-qml-android/m-p/1172912#M4554</guid>
      <dc:creator>JustinSteventon</dc:creator>
      <dc:date>2022-05-11T16:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling basic template ArcGIS QML Android 100.14</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/error-compiling-basic-template-arcgis-qml-android/m-p/1172950#M4555</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/290397"&gt;@JustinSteventon&lt;/a&gt;&amp;nbsp;thank you, that was the missing piece of the puzzle. I can reproduce it now with that change. We'll fix this for 100.15.&lt;/P&gt;&lt;P&gt;Also,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/581972"&gt;@HomeroOriaAguilera&lt;/a&gt;&amp;nbsp;do the workarounds&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/290397"&gt;@JustinSteventon&lt;/a&gt;&amp;nbsp;mentioned above solve this for you?&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 17:51:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/error-compiling-basic-template-arcgis-qml-android/m-p/1172950#M4555</guid>
      <dc:creator>JamesBallard1</dc:creator>
      <dc:date>2022-05-11T17:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling basic template ArcGIS QML Android 100.14</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/error-compiling-basic-template-arcgis-qml-android/m-p/1173000#M4556</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/405084"&gt;@JamesBallard1&lt;/a&gt;, yes! Works like a charm!&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 19:49:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/error-compiling-basic-template-arcgis-qml-android/m-p/1173000#M4556</guid>
      <dc:creator>HomeroOriaAguilera</dc:creator>
      <dc:date>2022-05-11T19:49:50Z</dc:date>
    </item>
  </channel>
</rss>

