<?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: Map Viewer 3.2 Error on Android in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775050#M615</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Shobana for your responses, really appreciate everyone's effort in assisting!&lt;/P&gt;&lt;P&gt;Ronnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2019 04:38:54 GMT</pubDate>
    <dc:creator>RonnieMa1</dc:creator>
    <dc:date>2019-02-28T04:38:54Z</dc:date>
    <item>
      <title>Map Viewer 3.2 Error on Android</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775042#M607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have started using AppStudio and downloaded MapViewer 3.2 template. Without making changes, can upload the app to AppStudio Player and successfully use the app in my Android device. Then&amp;nbsp;I have proceeded to local make to create an Android application and copied the app to my own Android phone. After installation, the app instantly closes. Therefore I opened Android Studio and checked for logcat. I see the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;2019-02-25 17:14:48.477 10618-10634/com.esri.app10379e244f2b4d73bc917f1e25be13c8 E/AndroidRuntime: FATAL EXCEPTION: qtMainLoopThread&lt;BR /&gt; Process: com.esri.app10379e244f2b4d73bc917f1e25be13c8, PID: 10618&lt;BR /&gt; java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/com.esri.app10379e244f2b4d73bc917f1e25be13c8-AdxZbXoYmvIvjZR7P5E-IQ==/lib/arm/libAppFrameworkWebViewLib.so"&lt;BR /&gt; at java.lang.Runtime.load0(Runtime.java:928)&lt;BR /&gt; at java.lang.System.load(System.java:1621)&lt;BR /&gt; at org.qtproject.qt5.android.QtNative$3.run(QtNative.java:217)&lt;BR /&gt; at org.qtproject.qt5.android.QtThread$2.run(QtThread.java:87)&lt;BR /&gt; at org.qtproject.qt5.android.QtThread$1.run(QtThread.java:61)&lt;BR /&gt; at java.lang.Thread.run(Thread.java:764)&lt;BR /&gt;2019-02-25 17:14:48.494 10637-10637/? E/Zygote: isWhitelistProcess - Process is Whitelisted&lt;BR /&gt;2019-02-25 17:14:48.495 10637-10637/? E/libpersona: scanKnoxPersonas&lt;BR /&gt;2019-02-25 17:14:48.495 10637-10637/? E/libpersona: Couldn't open the File - /data/system/users/0/personalist.xml - No such file or directory&lt;BR /&gt;2019-02-25 17:14:48.512 3657-3688/? E/PhoneWindow_APM&amp;nbsp;:: isCalledPackage return false&lt;BR /&gt;2019-02-25 17:14:48.571 3271-3271/? E/audit: type=1400 audit(1551086088.554:2203): avc: denied { write } for pid=10637 comm="ng.android.lool" name="com.samsung.android.lool-P28Ah1gl-TYCDwlkP_W9iw==" dev="dm-1" ino=655402 scontext=u:r:system_app:s0 tcontext=u:object_r:apk_data_file:s0 tclass=dir permissive=0 SEPF_SM-G930F_8.0.0_0011 audit_filtered&lt;BR /&gt;2019-02-25 17:14:48.878 5423-5565/? E/ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 1Kb duration : 1ms lastUpdatedAfter : 60103 ms mFlush_time_threasold : 2000 mCurrentSize : 567&lt;BR /&gt;2019-02-25 17:14:49.050 4862-5121/? E/PBSessionCacheImpl: sessionId[21384852879885345] not persisted.&lt;BR /&gt;2019-02-25 17:14:59.933 3657-4165/? E/Watchdog: !@Sync 9373 [2019-02-25 17:14:59.933]&lt;BR /&gt;2019-02-25 17:15:00.024 3657-3686/? E/memtrack: Couldn't load memtrack module&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My configurations:&lt;/P&gt;&lt;P&gt;Qt 5.11.2&lt;/P&gt;&lt;P&gt;NDK r10e&lt;/P&gt;&lt;P&gt;Local make selected platform: ARMv7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a side note, I can successfully deploy an apk using the Web Map template.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 09:21:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775042#M607</guid>
      <dc:creator>RonnieMa1</dc:creator>
      <dc:date>2019-02-25T09:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Map Viewer 3.2 Error on Android</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775043#M608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ronnie,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the same issue happening if you do Cloud Make, then download the APK to the same Android device from our &lt;A href="https://appstudio-ota.arcgis.com/"&gt;OTA website&lt;/A&gt;?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Erwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 20:56:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775043#M608</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2019-02-25T20:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Map Viewer 3.2 Error on Android</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775044#M609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Hi Ronnie,&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;In addition to building the app using Cloud Make, can you also provide some more information about your build environment?&lt;/P&gt;&lt;P lang="en-US" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Which operating system are you using and what version of AppStudio do you have? This will help us to troubleshoot the issue better.&lt;/P&gt;&lt;P lang="en-US" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P lang="en-US" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Also, it will be useful for us to understand the reason why you are using Local Make to build your app instead of Cloud Make.&lt;/P&gt;&lt;P lang="en-US" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P lang="en-US" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Thanks,&lt;/P&gt;&lt;P lang="en-US" style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Anshuman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 06:01:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775044#M609</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-02-26T06:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Map Viewer 3.2 Error on Android</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775045#M610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is alright on Cloud Make, the apps deployed successfully and can be installed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to do local make, as I am preparing to customize my own&amp;nbsp;mobile application. Although the build process can be done through cloud make, I would like to minimize the time of creating the app and local make is easier for me to view the errors during the build.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, under the&amp;nbsp;&lt;STRONG&gt;Configure Project&lt;/STRONG&gt; section of QtCreator, it always says&amp;nbsp;&lt;STRONG&gt;No valid kits found&lt;/STRONG&gt;. Of course, I then used&amp;nbsp;&lt;STRONG&gt;Tools &amp;gt; External &amp;gt; AppStudio &amp;gt; Make&lt;/STRONG&gt; and was able to access the make page. I suppose we are not meant to build and run directly on QtCreator?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As &lt;SPAN style="background-color: #ffffff; font-size: 14.6667px;"&gt;Anshuman suggests, the following is my QtCreat&lt;/SPAN&gt;or configuration:&lt;/P&gt;&lt;P&gt;- Windows 10 Pro, 64-bit operating system&lt;/P&gt;&lt;P&gt;- QtCreator 4.5.0 (based on Qt 5.10.0)&lt;/P&gt;&lt;P&gt;- Qt version Qt 5.11.2&lt;/P&gt;&lt;P&gt;- JDK version 1.8.0_201&lt;/P&gt;&lt;P&gt;- Android&amp;nbsp;SDK Tools version 26.1.1&lt;/P&gt;&lt;P&gt;- Installed Android SDK API 19, 26, 28&lt;/P&gt;&lt;P&gt;- NDK Version 10.4.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ronnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 08:38:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775045#M610</guid>
      <dc:creator>RonnieMa1</dc:creator>
      <dc:date>2019-02-26T08:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Map Viewer 3.2 Error on Android</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775046#M611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An update on my progress trying local make.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previously, after local make, there used to be a message like:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;'android-26' does not exist&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I have installed all SDKs through Android Studio and the message disappeared. Now I am trying to resolve the following:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Total time: 27.706 secs&lt;/P&gt;&lt;P&gt;PREDEX CACHE HITS: 0&lt;BR /&gt;PREDEX CACHE MISSES: 16&lt;BR /&gt;Stopped 0 worker daemon(s).&lt;BR /&gt;Android package built successfully in 43.713 ms.&lt;BR /&gt; -- File: xxxxxxxxxxxx/Intermediate/Android/AppStudioApp/android-build//build/outputs/apk/android-build-debug.apk&lt;BR /&gt; 1 file(s) copied.&lt;/P&gt;&lt;P&gt;Warning: QML import could not be resolved in any of the import paths: ArcGIS.AppFramework.Controls&lt;BR /&gt;Warning: QML import could not be resolved in any of the import paths: Esri.ArcGISExtras&lt;BR /&gt;Warning: QML import could not be resolved in any of the import paths: Esri.ArcGISRuntime.Toolkit.CppApi&lt;BR /&gt;Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.impl&lt;BR /&gt;Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Fusion.impl&lt;BR /&gt;Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Imagine.impl&lt;BR /&gt;Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Material.impl&lt;BR /&gt;Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Universal.impl&lt;BR /&gt;Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils&lt;BR /&gt;Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils&lt;/P&gt;&lt;P&gt;Build Successful&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I've read plenty that these warnings can be ignored, but I thought it is worth mentioning here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ronnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2019 03:03:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775046#M611</guid>
      <dc:creator>RonnieMa1</dc:creator>
      <dc:date>2019-02-27T03:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Map Viewer 3.2 Error on Android</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775047#M612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronnie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you let me know if the apk built using below steps work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Build Android apk using Local Make&lt;/LI&gt;&lt;LI&gt;Local Make would have automatically created Project, Intermediate, Output and Scripts sub folders in the path supplied&lt;/LI&gt;&lt;LI&gt;Delete the Intermediate and Output folders&lt;/LI&gt;&lt;LI&gt;Open Scripts\build-android.bat in a text editor&lt;/LI&gt;&lt;LI&gt;Remove double quotes in lines that use the variable usesAppFrameworkWebView. i.e., Update the lines to&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET usesAppFrameworkWebView=true&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if %usesAppFrameworkWebView% == true (&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Run the script build-android.bat manually to build the apk&lt;/LI&gt;&lt;LI&gt;Test if this apk works&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shobana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2019 04:02:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775047#M612</guid>
      <dc:creator>ShobanaSuresh</dc:creator>
      <dc:date>2019-02-27T04:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Map Viewer 3.2 Error on Android</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775048#M613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Shobana,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked! I can now deploy my app to Android. Do you know if this procedure should be applied to iOS as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ronnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2019 07:09:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775048#M613</guid>
      <dc:creator>RonnieMa1</dc:creator>
      <dc:date>2019-02-27T07:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Map Viewer 3.2 Error on Android</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775049#M614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronnie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad to hear that the apk works now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'll make sure to fix the bug in the build script in AppStudio 3.3 final release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI. This bug affects only Android Local Make builds that run on a Windows machine. If you run local make Android builds on a mac or linux machine, no changes need to be made in build scripts .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Do you know if this procedure should be applied to iOS as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No. iOS builds are not affected by this bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shobana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2019 04:19:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775049#M614</guid>
      <dc:creator>ShobanaSuresh</dc:creator>
      <dc:date>2019-02-28T04:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Map Viewer 3.2 Error on Android</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775050#M615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Shobana for your responses, really appreciate everyone's effort in assisting!&lt;/P&gt;&lt;P&gt;Ronnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2019 04:38:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/map-viewer-3-2-error-on-android/m-p/775050#M615</guid>
      <dc:creator>RonnieMa1</dc:creator>
      <dc:date>2019-02-28T04:38:54Z</dc:date>
    </item>
  </channel>
</rss>

