程序类型已存在:android.util.FloatProperty

时间:2018-06-01 02:38:25

标签: android

  1. 这是普通文字。
  2. 这是,但现在遵循代码块:
  3. 略过一行并缩进八个空格。这是列表的四个空格,四个是触发代码块。

    apply plugin: 'com.android.application'
    
    apply plugin: 'kotlin-android'
    
    apply plugin: 'kotlin-android-extensions'
    
    android {
        compileSdkVersion 27
        defaultConfig {
            applicationId "com.wasalnyshokra"
            minSdkVersion 16
            targetSdkVersion 27
            versionCode 1
            versionName "1.0"
            testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
            vectorDrawables.useSupportLibrary = true
            multiDexEnabled true //important
            javaCompileOptions {
                annotationProcessorOptions {
                    includeCompileClasspath false
                }
            }
        }
        compileOptions {
            sourceCompatibility JavaVersion.VERSION_1_8
            targetCompatibility JavaVersion.VERSION_1_8
        }
        buildTypes {
            release {
                minifyEnabled false
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            }
        }
        dexOptions { jumboMode true }
    
    }
    
    dependencies {
        implementation project(':library')
        implementation fileTree(dir: 'libs', include: ['*.jar'])
        implementation"org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
        //noinspection GradleCompatible
        implementation 'com.android.support:appcompat-v7:27.0.2'
        implementation 'com.android.support:design:27.1.0'
        implementation 'com.android.support:support-annotations:27.1.1'
    
        testImplementation 'junit:junit:4.12'
        androidTestImplementation 'com.android.support.test:runner:1.0.2'
        androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
    
        implementation 'com.github.Q42:AndroidScrollingImageView:1.2'
        implementation 'com.jakewharton:butterknife:8.5.1'
        annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
        implementation 'com.andkulikov:transitionseverywhere:1.7.4'
        implementation 'com.github.bumptech.glide:glide:3.7.0'
        implementation 'com.android.support:recyclerview-v7:27.1.1'
        implementation 'net.yslibrary.keyboardvisibilityevent:keyboardvisibilityevent:2.1.0'
        implementation 'com.android.support.constraint:constraint-layout:1.1.0'
    
    
        implementation 'com.google.firebase:firebase-core:16.0.0'
        implementation 'com.google.firebase:firebase-database:16.0.1'
        implementation 'com.google.firebase:firebase-auth:16.0.1'
    
    }
    apply plugin: 'com.google.gms.google-services'
    

0 个答案:

没有答案