apptreesoftware / flutter_google_map_view

A flutter plugin for Google Maps
MIT License
416 stars 189 forks source link

error map_view after upgrade flutter from 0.9.4 beta to 0.10.2 beta #137

Open Nimto007 opened 5 years ago

Nimto007 commented 5 years ago

Note: /Users/nimto/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.2.5+1/android/src/main/java/io/flutter/plugins/firebase/core/FirebaseCorePlugin.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. e: /Users/nimto/development/flutter/.pub-cache/hosted/pub.dartlang.org/map_view-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: /Users/nimto/development/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: /Users/nimto/development/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: /Users/nimto/development/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: /Users/nimto/development/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: /Users/nimto/development/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: /Users/nimto/development/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: /Users/nimto/development/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.

BUILD FAILED in 8s Finished with error: Gradle task assembleDebug failed with exit code 1

deepchandyadav commented 5 years ago

Same for me too.

Nimto007 commented 5 years ago

Any resolutions plz let me know

On Fri, Nov 9, 2018, 1:28 PM Deepchand Yadav <notifications@github.com wrote:

Same for me too.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/apptreesoftware/flutter_google_map_view/issues/137#issuecomment-437263671, or mute the thread https://github.com/notifications/unsubscribe-auth/AdOws13hY1avrTSDarM0crgTJGLEmbjoks5utSCVgaJpZM4YT_au .

firsthour commented 5 years ago

I ended up just bypassing this plugin, when I actually dug into the URL it was producing it's very easy to replicate myself.

isaachjk commented 5 years ago

https://github.com/apptreesoftware/flutter_google_map_view/issues/129#issuecomment-436954546

this fix the error for me, works perfectly

Nimto007 commented 5 years ago

I want to implement google map as a widget on flutter, but cannot do that it is always popup full screen of layout. please help me

image