{"action":"opened","issue":{"url":"https://api.github.com/repos/BaseflowIT/flutter-geolocator/issues/158","repository_url":"https://api.github.com/repos/BaseflowIT/flutter-geolocator","labels_url":"https://api.github.com/repos/BaseflowIT/flutter-geolocator/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/BaseflowIT/flutter-geolocator/issues/158/comments","events_url":"https://api.github.com/repos/BaseflowIT/flutter-geolocator/issues/158/events","html_url":"https://github.com/BaseflowIT/flutter-geolocator/issues/158","id":394601407,"node_id":"MDU6SXNzdWUzOTQ2MDE0MDc=","number":158,"title":"Class file for com.google.android.gms.common.api.GoogleApi not found when compile ","user":{"login":"xuncoder","id":45629661,"node_id":"MDQ6VXNlcjQ1NjI5NjYx","avatar_url":"https://avatars0.githubusercontent.com/u/45629661?v=4","gravatar_id":"","url":"https://api.github.com/users/xuncoder","html_url":"https://github.com/xuncoder","followers_url":"https://api.github.com/users/xuncoder/followers","following_url":"https://api.github.com/users/xuncoder/following{/other_user}","gists_url":"https://api.github.com/users/xuncoder/gists{/gist_id}","starred_url":"https://api.github.com/users/xuncoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuncoder/subscriptions","organizations_url":"https://api.github.com/users/xuncoder/orgs","repos_url":"https://api.github.com/users/xuncoder/repos","events_url":"https://api.github.com/users/xuncoder/events{/privacy}","received_events_url":"https://api.github.com/users/xuncoder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-28T10:15:47Z","updated_at":"2018-12-28T10:15:47Z","closed_at":null,"author_association":"NONE","body":"Hi,when compiling the Geolocator plugin using Flutter Channel master, v1.1.5-pre.32 (master channel) we receive the following exception:\r\nRunning \"flutter packages get\" in quick_app...                   5.4s\r\nLaunching lib\\main.dart on Android SDK built for x86 in debug mode...\r\nInitializing gradle...\r\nResolving dependencies...\r\nGradle task 'assembleDebug'...\r\nNote: Some input files use or override a deprecated API.\r\nNote: Recompile with -Xlint:deprecation for details.\r\nNote: C:\\Users\\user\\AppData\\Roaming\\Pub\\Cache\\hosted\\pub.dartlang.org\\flutter_webview_plugin-0.3.0+2\\android\\src\\main\\java\\com\\flutter_webview_plugin\\WebviewManager.java uses unchecked or unsafe operations.\r\nNote: Recompile with -Xlint:unchecked for details.\r\nC:\\Users\\user\\AppData\\Roaming\\Pub\\Cache\\hosted\\pub.dartlang.org\\geolocator-2.1.1\\android\\src\\main\\java\\com\\baseflow\\flutter\\plugin\\geolocator\\tasks\\LastKnownLocationUsingLocationServicesTask.java:25: error: cannot access GoogleApi\r\n        mFusedLocationProviderClient.getLastLocation()\r\n                                    ^\r\n  class file for com.google.android.gms.common.api.GoogleApi not found\r\nNote: Some input files use unchecked or unsafe operations.\r\nNote: Recompile with -Xlint:unchecked for details.\r\n1 error\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':geolocator:compileDebugJavaWithJavac'.\r\n> Compilation failed; see the compiler error output for details.\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.\r\n\r\n* Get more help at https://help.gradle.org\r\n\r\nBUILD FAILED in 57s\r\nFinished with error: Gradle task assembleDebug failed with exit code 1\r\n\r\nMy flutter doctor below:\r\n[√] Flutter (Channel master, v1.1.5-pre.32, on Microsoft Windows [Version 10.0.17134.472], locale en-US)\r\n    • Flutter version 1.1.5-pre.32 at C:\\Flutter Dev\\flutter\r\n    • Framework revision fe1a51ab89 (11 hours ago), 2018-12-27 14:55:07 -0800\r\n    • Engine revision 220ea0e1ec\r\n    • Dart version 2.1.1 (build 2.1.1-dev.0.1 d1817ddc91)\r\n\r\n[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)\r\n    • Android SDK at C:\\Users\\user\\AppData\\Local\\Android\\sdk\r\n    • Android NDK location not configured (optional; useful for native profiling support)\r\n    • Platform android-28, build-tools 28.0.3\r\n    • Java binary at: C:\\Program Files\\Android\\Android Studio\\jre\\bin\\java\r\n    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)\r\n    X Android license status unknown.\r\n\r\n[√] Android Studio (version 3.2)\r\n    • Android Studio at C:\\Program Files\\Android\\Android Studio\r\n    • Flutter plugin version 31.1.1\r\n    • Dart plugin version 181.5656\r\n    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)\r\n\r\n[√] IntelliJ IDEA Community Edition (version 2018.2)\r\n    • IntelliJ at C:\\Program Files\\JetBrains\\IntelliJ IDEA Community Edition 2018.2.4\r\n    • Flutter plugin version 31.1.3\r\n    • Dart plugin version 182.5124\r\n\r\n[√] VS Code (version 1.29.1)\r\n    • VS Code at C:\\Users\\user\\AppData\\Local\\Programs\\Microsoft VS Code\r\n    • Flutter extension version 2.19.0\r\n\r\n[√] Connected device (1 available)\r\n    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.0.0 (API 26) (emulator)\r\n\r\n! Doctor found issues in 1 category.\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"xuncoder"}}