flutterlocation icon indicating copy to clipboard operation
flutterlocation copied to clipboard

fix: Build error on prerelease

Open mateoKutnjak opened this issue 2 years ago • 2 comments

(...)/location_android-5.0.0-dev.3/android/src/main/kotlin/com/lyokone/location/LocationPlugin.kt: (153, 47): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Bundle?

mateoKutnjak avatar Aug 19 '22 09:08 mateoKutnjak

same here , flutter 3

vrman avatar Aug 23 '22 22:08 vrman

fixed this by update build.gradle to : classpath 'com.android.tools.build:gradle:7.2.0'

and gradle-wrapper.properties to : distributionUrl=https://services.gradle.org/distributions/gradle-7.3.3-all.zip

vrman avatar Aug 23 '22 22:08 vrman

Hi, please use the "normal", latest v5 version. It doesn't include changes from the old v5.0.0-dev* versions.

See also: #870.

bartekpacia avatar Aug 04 '23 13:08 bartekpacia