Hi, I was able to make progress with my CN1 Android app but received the following error:
Resource missing. [HTTP GET: https://jcenter.bintray.com/com/google/firebase/firebase-core/11.2.0/firebase-core-11.2.0.pom] Resource missing. [HTTP HEAD: https://jcenter.bintray.com/com/google/firebase/firebase-core/11.2.0/firebase-core-11.2.0.jar] FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'MyApp'. > Could not resolve all dependencies for configuration ':_debugCompile'. > Could not find com.google.firebase:firebase-core:11.2.0. Searched in the following locations: https://jcenter.bintray.com/com/google/firebase/firebase-core/11.2.0/firebase-core-11.2.0.pom https://jcenter.bintray.com/com/google/firebase/firebase-core/11.2.0/firebase-core-11.2.0.jar file:/tmp/build1801628445736809063xxx/MyApp/libs/firebase-core-11.2.0.jar file:/tmp/build1801628445736809063xxx/MyApp/libs/firebase-core.jar file:/home/ec2-user/android-sdk/extras/android/m2repository/com/google/firebase/firebase-core/11.2.0/firebase-core-11.2.0.pom file:/home/ec2-user/android-sdk/extras/android/m2repository/com/google/firebase/firebase-core/11.2.0/firebase-core-11.2.0.jar file:/home/ec2-user/android-sdk/extras/google/m2repository/com/google/firebase/firebase-core/11.2.0/firebase-core-11.2.0.pom file:/home/ec2-user/android-sdk/extras/google/m2repository/com/google/firebase/firebase-core/11.2.0/firebase-core-11.2.0.jar Is there a way for me to implement the following via build hints or something? I already enable Google Play Services in the build hints by specifying true. buildscript { // ... dependencies { // ... classpath 'com.google.gms:google-services:3.1.0' // google-services plugin } } allprojects { // ... dependencies { // ... maven { url "https://maven.google.com" // Google's Maven repository } } } Project-level build.gradle (<project>/build.gradle): buildscript { dependencies { // Add this line classpath 'com.google.gms:google-services:3.1.0' } } App-level build.gradle (<project>/<app-module>/build.gradle): ... // Add to the bottom of the fileapply plugin: 'com.google.gms.google-services' Thanks! On Tuesday, September 12, 2017 at 5:21:31 AM UTC-4, BWC wrote: > > Yes. Like I posted before, I'm trying to integrate Firebase into my > Codename One Android app. I've reviewed how to add gradle dependencies as > well as how to write and use native interfaces to integrate 3rd party > libraries. However I am.unsure how to implement add a classpath for google > services in the project level build.gradle, in addition to adding the > google services plugin the app level build.gradle. Is there a way to do > this in Codename One? Also, how do I add multiple gradle dependencies (or > pods in the case of an iOS app) in the Codename One settings? If you can, > please give me an example of the syntax to use in Codename One. > Thanks! > > On Tuesday, September 12, 2017 at 2:13:25 AM UTC-4, Shai Almog wrote: >> >> Is this related to Codename One? >> > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/697696a8-d411-47dd-9a37-9007b27b7431%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
