Closed kamalzariah closed 3 years ago
@kamalzariah Thanks for reporting. However OneSignal does not host its library on Amazon AWS so your build error couldn't be related to OneSignal.
One thing the comes to mind is that you may be missing goolge()
from your root build.gradle
file. It should contain something like this.
allprojects {
repositories {
google()
mavenCentral()
jcenter()
}
}
See the OneSignal setup guide for more details. https://documentation.onesignal.com/docs/android-sdk-setup#step-2-add-onesignal-gradle-plugin-and-sdk
`buildscript { repositories { maven { url 'https://plugins.gradle.org/m2/' } } dependencies { classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.11.0, 0.99.99]' } } apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'
repositories { maven { url 'https://maven.google.com' } }
apply plugin: 'com.android.application'
android { compileSdkVersion 28
}
dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.appcompat:appcompat:1.0.0'
// implementation 'androidx.legacy:legacy-support-v4:1.0.0'
// implementation 'com.google.android.exoplayer:exoplayer:r2.5.2' implementation 'com.leo.simplearcloader:simplearcloader:1.0.+'
// //Paykun // implementation 'com.paykun.sdk:paykun-checkout-lib:1.1.13' // // //Traknpay // implementation project(':PGSDKVR4')
}
apply plugin: 'com.google.gms.google-services' `