question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ignite base application does not build: could not find play-services-gcm

See original GitHub issue

Steps 1 and 2 of running generated app completed (with messages about npmconf and cross-spawn-asynch deprecation). Step 3: Ran a Genymotion API 23, attempted to build with react-native run-android and received:

A problem occurred configuring project ‘:app’. A problem occurred configuring project ‘:react-native-device-info’. Could not resolve all dependencies for configuration ‘:react-native-device-info:_debugCompile’. > Could not find com.google.android.gms:play-services-gcm:8.3.0.

I tried a second time after remembering to change my build.gradle targetSdkVersion to 23 and received the same output. I’m guessing I need to update the play services version to the newest one, but I can’t find where I need to do that.

ignite doctor

Computer
  Platform: darwin

Ignite
  Version: 1.5.0
  Path: /Users/nicosaki/.npm-packages/bin/ignite

Node
  Version: v6.2.1
  Path: /usr/local/bin/node

NPM
  Version: 3.10.5
  Path: /Users/nicosaki/.npm-packages/bin/npm

Yeoman
  Version: 1.8.4

React Native CLI
  Version: undefined

App
  React Native Version: 0.31.0

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
skellockcommented, Aug 18, 2016

Can you try creating a new Genymotion app with api 22? In 23 the permissions system changed drastically, and some googling seems to reveal Android 6 + React Native + Redbox as a potential issue.

We’ve already ruled out Ignite, so let’s see if we can rule out some more.

0reactions
nicosakicommented, Aug 18, 2016

It built! Yay! Thank you for your guidance, I’ve been struggling with this for far too long. You are appreciated!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not resolve com.google.android.gms:play-services ...
The solution is update dependencies { com.android.tools.build:gradle:3.6.2 }.
Read more >
Webview not working when we updated smack to 4.4.4
4 in my app, Everything is working fine in dev flavor when proguard is not enabled but when we are making release build...
Read more >
Swipping an application out from the recent apps list force ...
I recently realized that my applications don't receive GCM/FCM data message anymore when the application is in background. The last working one, ...
Read more >
Ignite TV - Apps on Google Play
Watch live TV on the go! Whether you're at home or on the go, you can access live TV, get On Demand content,...
Read more >
Set up Google Play services
Open the build.gradle file inside your app's module directory. ... However, Android devices without Google Play Store don't have Google Play services ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found