Good day! I need to connect firebase-messaging to my application, I implement everything as written in the documentation
And according to this lesson
When checking for a connection, I get this message
Could not parse the Android Application Module's Gradle config. Resolve gradle build issues and/or resync. I synchronized, I reassembled and checked all dependencies, but for some reason the problem is not solved.
In gradle
android { compileSdkVersion 25 buildToolsVersion "25.0.1" defaultConfig { applicationId "com.runtest.aplication" minSdkVersion 12 targetSdkVersion 25 versionCode 16 versionName "2" multiDexEnabled true } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } buildTypes { debug { debuggable false } } } dexOptions { incremental true } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 } } and here
dependencies { // compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:25.0.1' compile 'com.android.support:gridlayout-v7:25.0.1' compile 'com.google.firebase:firebase-core:10.0.1' compile 'com.google.firebase:firebase-messaging:10.0.1' compile 'com.google.android.gms:play-services-ads:10.0.1' } What could be the problem? Thanks in advance for your help!