You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 25, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 25, 2019. It is now read-only.
you can update their kotlin file at <flutter_dir>.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android
ext.kotlin_version = '1.2.51' (compile)
at least I have not find any issue by doing this.
@LatinaIsaac This solution worked for me. Then I got this error.
0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (168, 34): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (171, 36): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (172, 40): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (173, 37): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (174, 31): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (175, 28): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (177, 21): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (178, 66): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
FAILURE: Build failed with an exception.
It is handled by given solution in here.[https://github.com//issues/129#issuecomment-438165577]
Thank you all.
I have tried above solutions. But i get an error as:
"FAILURE: Build failed with an exception.
What went wrong:
Could not resolve all files for configuration ':map_view:androidApis'.
Failed to transform file 'android.jar' to match attributes {artifactType=android-platform-attr} using transform PlatformAttrTransform
java.io.FileNotFoundException: C:\Users\Harsh Goyal\AppData\Local\Android\sdk\platforms\android-27\android.jar (The system cannot find the file specified) "
Activity
SuperMata commentedon Nov 25, 2018
I have the same issue with map_view when building
kyleorin commentedon Nov 28, 2018
Probably related to #137 and https://stackoverflow.com/questions/53510048/adding-map-view-to-my-flutter-app-is-not-successful/53515770#53515770
isaachjk commentedon Dec 3, 2018
you can update their kotlin file at <flutter_dir>.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android
ext.kotlin_version = '1.2.51' (compile)
at least I have not find any issue by doing this.
Thimankrishh commentedon Apr 29, 2019
@LatinaIsaac This solution worked for me. Then I got this error.
0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (168, 34): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (171, 36): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (172, 40): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (173, 37): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (174, 31): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (175, 28): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (177, 21): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (178, 66): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
FAILURE: Build failed with an exception.
It is handled by given solution in here.[https://github.com//issues/129#issuecomment-438165577]
Thank you all.
hg398 commentedon Jun 10, 2019
I have tried above solutions. But i get an error as:
"FAILURE: Build failed with an exception.
Could not resolve all files for configuration ':map_view:androidApis'.
Any help please!!!