Hi Gunther,
I have double checked my build.gradle, and the dependency is there yet I still get the error! The code for my build.gradle is:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.google.gms:google-services:3.0.0'
}
}
allprojects {
repositories {
maven { url 'https://maven.google.com' }
jcenter()
maven { url 'https://sdk.v-play.net/maven/' }
}
}
apply plugin: 'com.android.application'
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile "com.android.support:support-core-utils:27.1.0"
compile "com.android.support:appcompat-v7:27.1.0"
compile 'net.vplay.plugins:plugin-firebase:2.+'
compile 'com.google.firebase:firebase-firestore:17.0.1'
compile 'net.vplay.plugins:plugin-onesignal:3.+'
}
android {
compileSdkVersion androidCompileSdkVersion.toInteger()
buildToolsVersion androidBuildToolsVersion
defaultConfig {
applicationId = '<com.MYAPP.MYAPP.MYAPP>'
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = [qt5AndroidDir + '/src', 'src', 'java']
aidl.srcDirs = [qt5AndroidDir + '/src', 'src', 'aidl']
res.srcDirs = [qt5AndroidDir + '/res', 'res']
resources.srcDirs = ['src']
renderscript.srcDirs = ['src']
assets.srcDirs = ['assets']
jniLibs.srcDirs = ['libs']
}
}
lintOptions {
abortOnError false
}
}
apply plugin: 'com.google.gms.google-services'
Is this incorrect? My app requires both firebase and onesignal
In regards to the main.cpp, I recently removed all previous build folders for space, so am unable to track when it was lost, but recreated it today (made a new project and copy/pasted it, Felgo live works fine, and I have been testing with this for some time as firebase is not supported on desktop – but when I try to build I receive a series of errors. This is a different subject, so I will make a new topic if I cannot fix!
Thanks
Edd