错误:将字节码转换为dex时出错:原因:未使用默认或静态接口方法–min-sdk-version> = 24
这里是我的演示的gradle:
compile fileTree(include: ['*.jar'], dir: 'libs') androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'org.jetbrains.kotlin:kotlin-android-extensions:1.1.2' compile 'com.android.support.constraint:constraint-layout:1.0.2' compile 'com.android.support:appcompat-v7:25.3.1'
我使用Android的工作室3.0,这里是错误的细节 。
- 错误:com.app.android.dagger.component.AppComponent(unscoped)可能不引用作用域绑定:
- Android Koltin将微调值传递给可变列表
- 在Kotlin中绑定具有多个参数的适配器
- 使用Kotlin的“let”的合理情况
- 如何在Kotlin中使用AndroidAnnotation @SharedPref
- Android Kotlin – 每分钟发送通知
- MediaStore.Images从拇指Uri / id获取完整图像
- 在Kotlin中定义log TAG常量的最好方法是什么?
- Android Dagger 2.11与Kotlin,ContributesAndroidInjector注解问题