Plugin with id 'com.google.gms:google-services' not found. Flutter The 2019 Stack Overflow Developer Survey Results Are In Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceHow to check if a service is running on Android?“Debug certificate expired” error in Eclipse Android pluginsGradle: classpath dependency not resolved from nested projectHow to display Map on emulatorKotlin fails to compile a libraryFLutter - Error trying to run the applicationAndroid Studio 3.2.1 - New project fails to runCould not find class 'dalvik.system…'getting cloud_firestore: 0.9.0 dependency breaks flutter appNo acceptable module found TextRecognizer
How many cones with angle theta can I pack into the unit sphere?
Does Parliament need to approve the new Brexit delay to 31 October 2019?
Match Roman Numerals
Why not take a picture of a closer black hole?
Variable with quotation marks "$()"
Student Loan from years ago pops up and is taking my salary
Using dividends to reduce short term capital gains?
Make it rain characters
Is there a way to generate uniformly distributed points on a sphere from a fixed amount of random real numbers per point?
How did passengers keep warm on sail ships?
The following signatures were invalid: EXPKEYSIG 1397BC53640DB551
Is this wall load bearing? Blueprints and photos attached
Single author papers against my advisor's will?
What can I do if neighbor is blocking my solar panels intentionally?
"... to apply for a visa" or "... and applied for a visa"?
Was credit for the black hole image misappropriated?
What do I do when my TA workload is more than expected?
Define a list range inside a list
How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time
Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?
Huge performance difference of the command find with and without using %M option to show permissions
Fixing different display colors within string
Can I visit the Trinity College (Cambridge) library and see some of their rare books
Are spiders unable to hurt humans, especially very small spiders?
Plugin with id 'com.google.gms:google-services' not found. Flutter
The 2019 Stack Overflow Developer Survey Results Are In
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
The Ask Question Wizard is Live!
Data science time! April 2019 and salary with experienceHow to check if a service is running on Android?“Debug certificate expired” error in Eclipse Android pluginsGradle: classpath dependency not resolved from nested projectHow to display Map on emulatorKotlin fails to compile a libraryFLutter - Error trying to run the applicationAndroid Studio 3.2.1 - New project fails to runCould not find class 'dalvik.system…'getting cloud_firestore: 0.9.0 dependency breaks flutter appNo acceptable module found TextRecognizer
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I am new to flutter framework. I am trying to install cloud firestore in flutter but got the problem. Below is my code and gradle files:
Android/build.gradlew:
buildscript
// ext.kotlin_version = '1.2.31'
repositories
google()
jcenter()
maven
url "https://maven.google.com"
dependencies
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:3.2.0'
allprojects
repositories
google()
jcenter()
maven
url "https://maven.google.com"
rootProject.buildDir = '../build'
subprojects
project.buildDir = "$rootProject.buildDir/$project.name"
subprojects
project.evaluationDependsOn(':app')
task clean(type: Delete)
delete rootProject.buildDir
App/build.gradle is:
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists())
localPropertiesFile.withReader('UTF-8') reader ->
localProperties.load(reader)
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null)
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null)
flutterVersionCode = '1'
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null)
flutterVersionName = '1.0'
apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
compileSdkVersion 28
lintOptions
disable 'InvalidPackage'
defaultConfig
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.barcode_app"
minSdkVersion 16
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
buildTypes
release
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
flutter
source '../..'
dependencies
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
apply plugin: 'com.google.gms:google-services'
After running flutter run -v or build it in android i got the error:
'ERROR: Plugin with id 'com.google.gms:google-services' not found.'
enter image description here
I tried to almost all the solution available on stackoverflow and github but the problem is still there.
android flutter flutter-dependencies
add a comment |
I am new to flutter framework. I am trying to install cloud firestore in flutter but got the problem. Below is my code and gradle files:
Android/build.gradlew:
buildscript
// ext.kotlin_version = '1.2.31'
repositories
google()
jcenter()
maven
url "https://maven.google.com"
dependencies
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:3.2.0'
allprojects
repositories
google()
jcenter()
maven
url "https://maven.google.com"
rootProject.buildDir = '../build'
subprojects
project.buildDir = "$rootProject.buildDir/$project.name"
subprojects
project.evaluationDependsOn(':app')
task clean(type: Delete)
delete rootProject.buildDir
App/build.gradle is:
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists())
localPropertiesFile.withReader('UTF-8') reader ->
localProperties.load(reader)
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null)
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null)
flutterVersionCode = '1'
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null)
flutterVersionName = '1.0'
apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
compileSdkVersion 28
lintOptions
disable 'InvalidPackage'
defaultConfig
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.barcode_app"
minSdkVersion 16
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
buildTypes
release
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
flutter
source '../..'
dependencies
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
apply plugin: 'com.google.gms:google-services'
After running flutter run -v or build it in android i got the error:
'ERROR: Plugin with id 'com.google.gms:google-services' not found.'
enter image description here
I tried to almost all the solution available on stackoverflow and github but the problem is still there.
android flutter flutter-dependencies
go to your Android Studio SDK manager and in SDK tools check if Google Play Services and Google Repository are installed.
– Ryosuke
Mar 22 at 5:44
Hi, welcome to StackOverflow, it would be really useful if you could cite the other solutions you have already tried or explain them. Then you will not receive repeated answers and possible answerers will know what to avoid.
– xg.plt.py
Mar 22 at 5:45
@Ryosuke yes i have installed these two.
– Mubashir Ali
Mar 22 at 5:58
add a comment |
I am new to flutter framework. I am trying to install cloud firestore in flutter but got the problem. Below is my code and gradle files:
Android/build.gradlew:
buildscript
// ext.kotlin_version = '1.2.31'
repositories
google()
jcenter()
maven
url "https://maven.google.com"
dependencies
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:3.2.0'
allprojects
repositories
google()
jcenter()
maven
url "https://maven.google.com"
rootProject.buildDir = '../build'
subprojects
project.buildDir = "$rootProject.buildDir/$project.name"
subprojects
project.evaluationDependsOn(':app')
task clean(type: Delete)
delete rootProject.buildDir
App/build.gradle is:
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists())
localPropertiesFile.withReader('UTF-8') reader ->
localProperties.load(reader)
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null)
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null)
flutterVersionCode = '1'
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null)
flutterVersionName = '1.0'
apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
compileSdkVersion 28
lintOptions
disable 'InvalidPackage'
defaultConfig
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.barcode_app"
minSdkVersion 16
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
buildTypes
release
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
flutter
source '../..'
dependencies
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
apply plugin: 'com.google.gms:google-services'
After running flutter run -v or build it in android i got the error:
'ERROR: Plugin with id 'com.google.gms:google-services' not found.'
enter image description here
I tried to almost all the solution available on stackoverflow and github but the problem is still there.
android flutter flutter-dependencies
I am new to flutter framework. I am trying to install cloud firestore in flutter but got the problem. Below is my code and gradle files:
Android/build.gradlew:
buildscript
// ext.kotlin_version = '1.2.31'
repositories
google()
jcenter()
maven
url "https://maven.google.com"
dependencies
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:3.2.0'
allprojects
repositories
google()
jcenter()
maven
url "https://maven.google.com"
rootProject.buildDir = '../build'
subprojects
project.buildDir = "$rootProject.buildDir/$project.name"
subprojects
project.evaluationDependsOn(':app')
task clean(type: Delete)
delete rootProject.buildDir
App/build.gradle is:
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists())
localPropertiesFile.withReader('UTF-8') reader ->
localProperties.load(reader)
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null)
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null)
flutterVersionCode = '1'
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null)
flutterVersionName = '1.0'
apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
compileSdkVersion 28
lintOptions
disable 'InvalidPackage'
defaultConfig
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.barcode_app"
minSdkVersion 16
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
buildTypes
release
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
flutter
source '../..'
dependencies
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
apply plugin: 'com.google.gms:google-services'
After running flutter run -v or build it in android i got the error:
'ERROR: Plugin with id 'com.google.gms:google-services' not found.'
enter image description here
I tried to almost all the solution available on stackoverflow and github but the problem is still there.
android flutter flutter-dependencies
android flutter flutter-dependencies
asked Mar 22 at 5:37
Mubashir AliMubashir Ali
82
82
go to your Android Studio SDK manager and in SDK tools check if Google Play Services and Google Repository are installed.
– Ryosuke
Mar 22 at 5:44
Hi, welcome to StackOverflow, it would be really useful if you could cite the other solutions you have already tried or explain them. Then you will not receive repeated answers and possible answerers will know what to avoid.
– xg.plt.py
Mar 22 at 5:45
@Ryosuke yes i have installed these two.
– Mubashir Ali
Mar 22 at 5:58
add a comment |
go to your Android Studio SDK manager and in SDK tools check if Google Play Services and Google Repository are installed.
– Ryosuke
Mar 22 at 5:44
Hi, welcome to StackOverflow, it would be really useful if you could cite the other solutions you have already tried or explain them. Then you will not receive repeated answers and possible answerers will know what to avoid.
– xg.plt.py
Mar 22 at 5:45
@Ryosuke yes i have installed these two.
– Mubashir Ali
Mar 22 at 5:58
go to your Android Studio SDK manager and in SDK tools check if Google Play Services and Google Repository are installed.
– Ryosuke
Mar 22 at 5:44
go to your Android Studio SDK manager and in SDK tools check if Google Play Services and Google Repository are installed.
– Ryosuke
Mar 22 at 5:44
Hi, welcome to StackOverflow, it would be really useful if you could cite the other solutions you have already tried or explain them. Then you will not receive repeated answers and possible answerers will know what to avoid.
– xg.plt.py
Mar 22 at 5:45
Hi, welcome to StackOverflow, it would be really useful if you could cite the other solutions you have already tried or explain them. Then you will not receive repeated answers and possible answerers will know what to avoid.
– xg.plt.py
Mar 22 at 5:45
@Ryosuke yes i have installed these two.
– Mubashir Ali
Mar 22 at 5:58
@Ryosuke yes i have installed these two.
– Mubashir Ali
Mar 22 at 5:58
add a comment |
1 Answer
1
active
oldest
votes
At the bottom of your app/build.gradle file you've got:
apply plugin: 'com.google.gms:google-services'
This should actually be:
apply plugin: 'com.google.gms.google-services'
Notice the period between gms
and google-services
, instead of the colon.
EDIT: You're probably having this problem because Google's own docs (last edited 20 March) are incorrect. I've sent them feedback to have this corrected.
archived here http://archive.is/4Ujuc
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55293485%2fplugin-with-id-com-google-gmsgoogle-services-not-found-flutter%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
At the bottom of your app/build.gradle file you've got:
apply plugin: 'com.google.gms:google-services'
This should actually be:
apply plugin: 'com.google.gms.google-services'
Notice the period between gms
and google-services
, instead of the colon.
EDIT: You're probably having this problem because Google's own docs (last edited 20 March) are incorrect. I've sent them feedback to have this corrected.
archived here http://archive.is/4Ujuc
add a comment |
At the bottom of your app/build.gradle file you've got:
apply plugin: 'com.google.gms:google-services'
This should actually be:
apply plugin: 'com.google.gms.google-services'
Notice the period between gms
and google-services
, instead of the colon.
EDIT: You're probably having this problem because Google's own docs (last edited 20 March) are incorrect. I've sent them feedback to have this corrected.
archived here http://archive.is/4Ujuc
add a comment |
At the bottom of your app/build.gradle file you've got:
apply plugin: 'com.google.gms:google-services'
This should actually be:
apply plugin: 'com.google.gms.google-services'
Notice the period between gms
and google-services
, instead of the colon.
EDIT: You're probably having this problem because Google's own docs (last edited 20 March) are incorrect. I've sent them feedback to have this corrected.
archived here http://archive.is/4Ujuc
At the bottom of your app/build.gradle file you've got:
apply plugin: 'com.google.gms:google-services'
This should actually be:
apply plugin: 'com.google.gms.google-services'
Notice the period between gms
and google-services
, instead of the colon.
EDIT: You're probably having this problem because Google's own docs (last edited 20 March) are incorrect. I've sent them feedback to have this corrected.
archived here http://archive.is/4Ujuc
edited Mar 22 at 9:03
kkarakk
634517
634517
answered Mar 22 at 5:52
jmorrisjmorris
11825
11825
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55293485%2fplugin-with-id-com-google-gmsgoogle-services-not-found-flutter%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
go to your Android Studio SDK manager and in SDK tools check if Google Play Services and Google Repository are installed.
– Ryosuke
Mar 22 at 5:44
Hi, welcome to StackOverflow, it would be really useful if you could cite the other solutions you have already tried or explain them. Then you will not receive repeated answers and possible answerers will know what to avoid.
– xg.plt.py
Mar 22 at 5:45
@Ryosuke yes i have installed these two.
– Mubashir Ali
Mar 22 at 5:58