arturdm/jacoco-android-gradle-plugin

Could not find com.dicedmelon.gradle:jacoco-android:0.1.5.

Opened this issue · 5 comments

classpath 'com.dicedmelon.gradle:jacoco-android:0.1.5'

with

Could not find com.dicedmelon.gradle:jacoco-android:0.1.5. why

Same problem here

Please make sure you have proper maven repository specified when using legacy plugin declaration (source):

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.dicedmelon.gradle:jacoco-android:0.1.5"
  }
}

apply plugin: "com.dicedmelon.gradle.jacoco-android"

thank you

I developed an app, but I encountered many problems. The first problem was that after the app was developed, the construction was also completed, but when it was installed on the mobile phone, the app flashed back and could not enter the main interface. Then I upgraded the Android studio tool version from 2020.3.1 to 2021.1.1, and then upgraded the control version used accordingly. Finally, I couldn't complete the packaging and made errors, so I want to ask how to solve these problems
The error code of the problem is as follows

C:/Users/PC/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.6.10/c118700e3a33c8a0d9adc920e9dec0831171925/kotlin-stdlib-common-1.6.10.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.1.16.

AGPBI: {"kind":"error","text":"Invoke-customs are only supported starting with Android O (--min-api 26)","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"error","text":"Invoke-customs are only supported starting with Android O (--min-api 26)","sources":[{}],"tool":"D8"}
Invoke-customs are only supported starting with Android O (--min-api 26)

AGPBI: {"kind":"error","text":"Invoke-customs are only supported starting with Android O (--min-api 26)","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"error","text":"Invoke-customs are only supported starting with Android O (--min-api 26)","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"error","text":"Default interface methods are only supported starting with Android N (--min-api 24): Landroidx/lifecycle/LifecycleRegistryOwner;getLifecycle()Landroidx/lifecycle/Lifecycle;","sources":[{}],"tool":"D8"}
Default interface methods are only supported starting with Android N (--min-api 24): Landroidx/lifecycle/LifecycleRegistryOwner;getLifecycle()Landroidx/lifecycle/Lifecycle;

AGPBI: {"kind":"error","text":"Default interface methods are only supported starting with Android N (--min-api 24): Landroidx/lifecycle/DefaultLifecycleObserver;onCreate(Landroidx/lifecycle/LifecycleOwner;)V","sources":[{}],"tool":"D8"}
Default interface methods are only supported starting with Android N (--min-api 24): Landroidx/lifecycle/DefaultLifecycleObserver;onCreate(Landroidx/lifecycle/LifecycleOwner;)V

AGPBI: {"kind":"error","text":"Default interface methods are only supported starting with Android N (--min-api 24): Landroidx/core/internal/view/SupportMenuItem;setTooltipText(Ljava/lang/CharSequence;)Landroid/view/MenuItem;","sources":[{}],"tool":"D8"}
Default interface methods are only supported starting with Android N (--min-api 24): Landroidx/core/internal/view/SupportMenuItem;setTooltipText(Ljava/lang/CharSequence;)Landroid/view/MenuItem;

AGPBI: {"kind":"error","text":"Invoke-customs are only supported starting with Android O (--min-api 26)","sources":[{}],"tool":"D8"}

Task :app:mergeExtDexDebug FAILED
I