RxReader / alipay_kit

Flutter版支付宝登录/支付
MIT License
313 stars 56 forks source link

android gradle编译失败 #31

Closed RA1NO3O closed 3 years ago

RA1NO3O commented 3 years ago

FAILURE: Build failed with an exception.

BUILD FAILED in 538ms

The plugin alipay_kit could not be built due to the issue above.

group 'io.github.v7lin.alipay_kit'
version '2.2.0'

buildscript {
    repositories {
        google()
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:4.1.0'
    }
}

rootProject.allprojects {
    repositories {
        google()
        jcenter()

        // 私仓
        flatDir {
            dirs project(':alipay_kit').file('libs')
        }
    }
}

apply plugin: 'com.android.library'

android {
    compileSdkVersion 28

    defaultConfig {
        minSdkVersion 16

        // library 混淆 -> 随 library 引用,自动添加到 apk 打包混淆
        consumerProguardFiles 'consumer-rules.pro'
    }

    lintOptions {
        disable 'InvalidPackage'
    }

    flavorDimensions 'vendor'

    productFlavors {
        vendor {
            dimension 'vendor'

            // library 混淆 -> 随 library 引用,自动添加到 apk 打包混淆
            consumerProguardFiles 'consumer-vendor-rules.pro'
        }
    }
}

dependencies {
    implementation 'androidx.annotation:annotation:1.0.0'

    // v15.8.01
    vendorImplementation(name: 'alipaysdk-15.8.01.210112203525', ext: 'aar')
}
RA1NO3O commented 3 years ago

今早出现的,是私仓出问题了吗

RA1NO3O commented 3 years ago
截屏2021-07-20 上午10 23 01
mimiaopp commented 2 years ago

请问解决了吗

RA1NO3O commented 2 years ago

请问解决了吗

@mimiaopp 解决了, 似乎是当时作者在维护吧

mimiaopp commented 2 years ago

请问解决了吗

@mimiaopp 解决了, 似乎是当时作者在维护吧

我今天也出现了这个问题