Select to view content in your preferred language

Flutter Build Error

228
3
Jump to solution
2 weeks ago
Labels (2)
vijaybadugu
Frequent Contributor
I installed 
 
Flutter version 3.24.5 on channel stable at C:\dev\flutter


 Dart version 3.5.4
 DevTools version 2.37.3
 
I just downloaded the code for just displaying map 
 
When I run from VS code IDE, I am getting below error. 
 
Warrning: SDK processing. This version only understands SDK XML versions up to 3 but an SDK XML file of version 4 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.
 
 
FAILURE: Build failed with an exception.
 
* What went wrong:
 
Could not determine the dependencies of task ':arcgis_maps:compileDebugKotlin'.
 
 
 
> Unknown Kotlin JVM target: 21
 
 
 
 
0 Kudos
1 Solution

Accepted Solutions
JenMerritt
Esri Contributor

Hi there,

Please see this recently published blog post: 

https://community.esri.com/t5/arcgis-maps-sdks-native-blog/solution-android-studio-ladybug-2024-2-1-...

This should resolve the issue you're seeing, assuming you have Android Studio Ladybug installed.

View solution in original post

0 Kudos
3 Replies
JenMerritt
Esri Contributor

Hi there,

Please see this recently published blog post: 

https://community.esri.com/t5/arcgis-maps-sdks-native-blog/solution-android-studio-ladybug-2024-2-1-...

This should resolve the issue you're seeing, assuming you have Android Studio Ladybug installed.

0 Kudos
vijaybadugu
Frequent Contributor

Thanks. it is working after switch to 17 

0 Kudos
JenMerritt
Esri Contributor

No problem, thanks for confirming 👍

0 Kudos