Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I meet this error #22

Open
budingts opened this issue Jan 16, 2017 · 1 comment
Open

I meet this error #22

budingts opened this issue Jan 16, 2017 · 1 comment

Comments

@budingts
Copy link

Error: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 any matches for com.google.android.gms:play-services-gcm:+ as no versions of com.google.android.gms:play-services-gcm are available.
Searched in the following locations:
file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/google/android/gms/play-services-gcm/maven-metadata.xml
file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/google/android/gms/play-services-gcm/
https://jitpack.io/com/google/android/gms/play-services-gcm/maven-metadata.xml
https://jitpack.io/com/google/android/gms/play-services-gcm/
file:/Users/jq/.m2/repository/com/google/android/gms/play-services-gcm/maven-metadata.xml
file:/Users/jq/.m2/repository/com/google/android/gms/play-services-gcm/
https://jcenter.bintray.com/com/google/android/gms/play-services-gcm/maven-metadata.xml
https://jcenter.bintray.com/com/google/android/gms/play-services-gcm/
file:/Volumes/JQ/ecfs/EcfsCreateCase/node_modules/react-native/android/com/google/android/gms/play-services-gcm/maven-metadata.xml
file:/Volumes/JQ/ecfs/EcfsCreateCase/node_modules/react-native/android/com/google/android/gms/play-services-gcm/
file:/Volumes/Transcend/Android/sdk/extras/android/m2repository/com/google/android/gms/play-services-gcm/maven-metadata.xml
file:/Volumes/Transcend/Android/sdk/extras/android/m2repository/com/google/android/gms/play-services-gcm/
file:/Volumes/Transcend/Android/sdk/extras/google/m2repository/com/google/android/gms/play-services-gcm/maven-metadata.xml
file:/Volumes/Transcend/Android/sdk/extras/google/m2repository/com/google/android/gms/play-services-gcm/
Required by:
EcfsCreateCase:react-native-device-info:unspecified

@habeebrahmanpt
Copy link

npm install --save react-native-device-info

after installation
react-native link react-native-device-info

https://github.com/rebeccahughes/react-native-device-info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants