<?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: Android NDK version to use in Flutter Maps SDK Questions</title>
    <link>https://community.esri.com/t5/flutter-maps-sdk-questions/android-ndk-version-to-use/m-p/1612363#M106</link>
    <description>&lt;P&gt;Tired to build an app with Flutter default NDK version, and got the following error. So, the answer is obvious now:&amp;nbsp;&lt;SPAN&gt;27.0.12077973 is the version suitable for all dependencies.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Running Gradle task 'assembleDebug'...
Your project is configured with Android NDK 26.3.11579264, but the following plugin(s) depend on a different Android NDK version:
- arcgis_maps requires Android NDK 25.2.9519653
- device_info_plus requires Android NDK 27.0.12077973
- flutter_secure_storage requires Android NDK 27.0.12077973
- flutter_web_auth_2 requires Android NDK 27.0.12077973
- geolocator_android requires Android NDK 27.0.12077973
- haptic_feedback requires Android NDK 27.0.12077973
- package_info_plus requires Android NDK 27.0.12077973
- path_provider_android requires Android NDK 27.0.12077973
- sqlite3_flutter_libs requires Android NDK 27.0.12077973
- url_launcher_android requires Android NDK 27.0.12077973
Fix this issue by using the highest Android NDK version (they are backward compatible).
Add the following to /Users/efedorov/projects/flutter/&amp;lt;PROJECT_NAME&amp;gt;/android/app/build.gradle.kts:

    android {
        ndkVersion = "27.0.12077973"
        ...
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 May 2025 09:55:10 GMT</pubDate>
    <dc:creator>EgorFedorov</dc:creator>
    <dc:date>2025-05-07T09:55:10Z</dc:date>
    <item>
      <title>Android NDK version to use</title>
      <link>https://community.esri.com/t5/flutter-maps-sdk-questions/android-ndk-version-to-use/m-p/1611899#M99</link>
      <description>&lt;P&gt;Installation &lt;A href="https://pub.dev/packages/arcgis_maps#android" target="_self"&gt;instructions&lt;/A&gt; in pub.dev says s&lt;SPAN&gt;etting Android NDK to 25.2.9519653, and in turn &lt;A href="https://github.com/Esri/arcgis-maps-sdk-flutter-samples/blob/ed1335692b43b91c856c377b63788788b2bcd66e/android/app/build.gradle#L28" target="_self"&gt;sample app&lt;/A&gt; uses&amp;nbsp;27.0.12077973. What version is preferable? Any essential difference?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 10:27:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/flutter-maps-sdk-questions/android-ndk-version-to-use/m-p/1611899#M99</guid>
      <dc:creator>EgorFedorov</dc:creator>
      <dc:date>2025-05-06T10:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Android NDK version to use</title>
      <link>https://community.esri.com/t5/flutter-maps-sdk-questions/android-ndk-version-to-use/m-p/1612212#M103</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Our current build of&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;argis_maps&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;200.7&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;is based on Flutter 3.29. It is important to note that Flutter 3.29 requires Android NDK version 27.0.12077973 as the minimum supported version. Therefore, it is highly recommended to use Android NDK v27.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 20:57:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/flutter-maps-sdk-questions/android-ndk-version-to-use/m-p/1612212#M103</guid>
      <dc:creator>HarishK</dc:creator>
      <dc:date>2025-05-06T20:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Android NDK version to use</title>
      <link>https://community.esri.com/t5/flutter-maps-sdk-questions/android-ndk-version-to-use/m-p/1612332#M105</link>
      <description>&lt;P&gt;Could you please provide any documentation on this? As I see, Flutter 3.29 tools create project with NDK&amp;nbsp;26.3.11579264 (&lt;A href="https://github.com/flutter/flutter/blob/ea121f8859e4b13e47a8f845e4586164519588bc/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy#L66C38-L66C51" target="_self"&gt;see here&lt;/A&gt;). Just checked on my machine (with Flutter 3.29.3): running freshly created application caused&amp;nbsp;26.3.11579264 to be installed (it was not previously). Looks quite confusing for me.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flutter-android-ndk-version.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/131681i0F7B13656842F205/image-size/medium?v=v2&amp;amp;px=400" role="button" title="flutter-android-ndk-version.png" alt="flutter-android-ndk-version.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 08:45:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/flutter-maps-sdk-questions/android-ndk-version-to-use/m-p/1612332#M105</guid>
      <dc:creator>EgorFedorov</dc:creator>
      <dc:date>2025-05-07T08:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Android NDK version to use</title>
      <link>https://community.esri.com/t5/flutter-maps-sdk-questions/android-ndk-version-to-use/m-p/1612363#M106</link>
      <description>&lt;P&gt;Tired to build an app with Flutter default NDK version, and got the following error. So, the answer is obvious now:&amp;nbsp;&lt;SPAN&gt;27.0.12077973 is the version suitable for all dependencies.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Running Gradle task 'assembleDebug'...
Your project is configured with Android NDK 26.3.11579264, but the following plugin(s) depend on a different Android NDK version:
- arcgis_maps requires Android NDK 25.2.9519653
- device_info_plus requires Android NDK 27.0.12077973
- flutter_secure_storage requires Android NDK 27.0.12077973
- flutter_web_auth_2 requires Android NDK 27.0.12077973
- geolocator_android requires Android NDK 27.0.12077973
- haptic_feedback requires Android NDK 27.0.12077973
- package_info_plus requires Android NDK 27.0.12077973
- path_provider_android requires Android NDK 27.0.12077973
- sqlite3_flutter_libs requires Android NDK 27.0.12077973
- url_launcher_android requires Android NDK 27.0.12077973
Fix this issue by using the highest Android NDK version (they are backward compatible).
Add the following to /Users/efedorov/projects/flutter/&amp;lt;PROJECT_NAME&amp;gt;/android/app/build.gradle.kts:

    android {
        ndkVersion = "27.0.12077973"
        ...
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 09:55:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/flutter-maps-sdk-questions/android-ndk-version-to-use/m-p/1612363#M106</guid>
      <dc:creator>EgorFedorov</dc:creator>
      <dc:date>2025-05-07T09:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Android NDK version to use</title>
      <link>https://community.esri.com/t5/flutter-maps-sdk-questions/android-ndk-version-to-use/m-p/1670393#M145</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/844231"&gt;@HarishK&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've migrated to Flutter 3.38 recently. Related&amp;nbsp;&lt;A href="https://blog.flutter.dev/whats-new-in-flutter-3-38-3f7b258f7228" target="_self"&gt;blog post&lt;/A&gt; say it is necessary to use Android NDK r28 (see '16KB page size compatibility' section). On the other hand, ArcGIS Flutter SDK docs say to use r27. Could you please explain if it is critical to use one or another? In general, what should be general rule for NDK version update?&lt;/P&gt;&lt;P&gt;I use ArcGIS Flutter SDK 200.8.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 07:16:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/flutter-maps-sdk-questions/android-ndk-version-to-use/m-p/1670393#M145</guid>
      <dc:creator>EgorFedorov</dc:creator>
      <dc:date>2025-12-04T07:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Android NDK version to use</title>
      <link>https://community.esri.com/t5/flutter-maps-sdk-questions/android-ndk-version-to-use/m-p/1672179#M146</link>
      <description>&lt;P&gt;Thanks for reaching out! We’ve tested ArcGIS Flutter SDK &lt;STRONG&gt;200.8&lt;/STRONG&gt; with Flutter &lt;STRONG&gt;3.38&lt;/STRONG&gt;, and this &lt;A href="https://community.esri.com/t5/arcgis-maps-sdks-native-blog/arcgis-maps-sdk-for-flutter-200-8-0-compatibility/ba-p/1669465" target="_self"&gt;compatibility article&lt;/A&gt;&amp;nbsp;outlines all the necessary fixes to ensure full compatibility. Regarding the NDK version, we’ve also validated the SDK with &lt;STRONG&gt;NDK r28&lt;/STRONG&gt;, and it works without any issues.&lt;/P&gt;&lt;DIV&gt;As a general rule, it’s best to follow the NDK version recommended by the platform or framework you’re targeting (in this case, Flutter), since newer versions often include important compatibility updates. Flutter recommends &lt;STRONG&gt;NDK r28&lt;/STRONG&gt; primarily for &lt;STRONG&gt;16KB page size compatibility&lt;/STRONG&gt; on newer Android devices. For our Flutter SDK &lt;STRONG&gt;200.8&lt;/STRONG&gt;, both &lt;STRONG&gt;r27&lt;/STRONG&gt; and &lt;STRONG&gt;r28&lt;/STRONG&gt; are supported, so you’re safe to use &lt;STRONG&gt;r28&lt;/STRONG&gt; if you’ve already migrated.&lt;/DIV&gt;</description>
      <pubDate>Wed, 10 Dec 2025 23:16:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/flutter-maps-sdk-questions/android-ndk-version-to-use/m-p/1672179#M146</guid>
      <dc:creator>HarishK</dc:creator>
      <dc:date>2025-12-10T23:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Android NDK version to use</title>
      <link>https://community.esri.com/t5/flutter-maps-sdk-questions/android-ndk-version-to-use/m-p/1672258#M147</link>
      <description>&lt;P&gt;Thank you very much! Ready to keep going now!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Dec 2025 11:31:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/flutter-maps-sdk-questions/android-ndk-version-to-use/m-p/1672258#M147</guid>
      <dc:creator>EgorFedorov</dc:creator>
      <dc:date>2025-12-11T11:31:02Z</dc:date>
    </item>
  </channel>
</rss>

