NativeScript / nativescript-marketplace-demo

NativeScript kitchen sink demo. All of NativeScript’s functionality in one app.
http://www.nativescript.org
Apache License 2.0
325 stars 97 forks source link

Unable to run app from clone repo #239

Closed realtebo closed 7 years ago

realtebo commented 7 years ago

I just cloned the repo in my window 7 pro 64bit.

I used the reccomended (in the readme.md file) command

git clone --depth 1 https://github.com/NativeScript/nativescript-marketplace-demo.git

When executing tns run android I got

FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'examples'.
> Could not resolve all dependencies for configuration ':_F0F1F2F3F4DebugCompile'.
   > Could not find any matches for com.google.firebase:firebase-core:9.8.+ as no versions of com.google.firebase:firebase-core are available.
     Searched in the following locations:
         https://jcenter.bintray.com/com/google/firebase/firebase-core/maven-metadata.xml
         https://jcenter.bintray.com/com/google/firebase/firebase-core/
         file:/C:/Users/mirko/Downloads/nativescript-marketplace-demo/platforms/android/libs/aar/
         https://repo1.maven.org/maven2/com/google/firebase/firebase-core/maven-metadata.xml
         https://repo1.maven.org/maven2/com/google/firebase/firebase-core/
         file:/C:/Users/mirko/AppData/Local/Android/android-sdk/extras/android/m2repository/com/google/firebase/firebase-core/maven-metadata.xml
         file:/C:/Users/mirko/AppData/Local/Android/android-sdk/extras/android/m2repository/com/google/firebase/firebase-core/
     Required by:
         :examples:unspecified

Also, after this, related to com.google.firebase:firebase-core I've the same error for

I tried

$ tns plugin add nativescript-plugin-firebase
Plugin "nativescript-plugin-firebase" is already installed.

I tried

$  npm install firebase --save
realtebo commented 7 years ago

I see only now this :

https://github.com/PanayotCankov/nativescript-plugin-firebase/tree/nativescript-marketplace-demo

"Could not find com.google.firebase:firebase-auth:9.4.0". That means making sure you have the latest Google Repository bits installed. Just run android from a command prompt and install any pending updates.

I'll try and then write here the exit

realtebo commented 7 years ago

This problem is gone away.

Now, I'll check this one

"FAILURE: Build failed with an exception.