skip to Main Content

Android Studio – Error in compilation with Geolocator pluggin

I'm getting the current error when compiling a project with Geolocator pluggin: C:srcflutter.pub-cachehostedpub.dartlang.orggeolocator_android-2.0.0androidsrcmainjavacombaseflowgeolocatorlocationLocationMapper.java:29: error: cannot find symbol if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { ^ symbol: variable S location: class VERSION_CODES C:srcflutter.pub-cachehostedpub.dartlang.orggeolocator_android-2.0.0androidsrcmainjavacombaseflowgeolocatorlocationLocationMapper.java:30: error: cannot find symbol position.put("is_mocked", location.isMock()); ^ symbol: method isMock()…

VIEW QUESTION
Back To Top
Search