apply plugin: 'com.android.application' android { compileSdkVersion 30 buildToolsVersion "30.0.2" defaultConfig { applicationId "com.shuoyue.facerecord" minSdkVersion 16 targetSdkVersion 30 versionCode 1001 versionName "4.1" } signingConfigs { debug { storeFile file("key.jks") // 需要修改成您的签名文件路径 storePassword '123456' // 需要修改成您的签名文件密码 keyAlias 'window' // 需要修改成您的签名文件别名 keyPassword '123456' // 需要修改成您的签名文件别名密码 } release { storeFile file("key.jks") // 需要修改成您的签名文件路径 storePassword '123456' // 需要修改成您的签名文件密码 keyAlias 'window' // 需要修改成您的签名文件别名 keyPassword '123456' // 需要修改成您的签名文件别名密码 } } buildTypes { debug { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.debug debuggable true jniDebuggable true } release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.release debuggable false jniDebuggable false } } lintOptions { checkReleaseBuilds false // Or, if you prefer, you can continue to check for errors in release builds, // but continue the build even when errors are found: abortOnError false } viewBinding { enabled = true } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.2.0' implementation project(path: ':faceplatform-ui') implementation 'com.google.android.material:material:1.2.1' implementation 'androidx.constraintlayout:constraintlayout:2.0.1' implementation 'com.google.code.gson:gson:2.8.6' //retrofit2 implementation 'com.squareup.retrofit2:retrofit:2.6.2' // implementation 'com.squareup.retrofit2:converter-gson:2.6.2' // implementation 'com.squareup.retrofit2:adapter-rxjava2:2.6.0' // implementation 'com.squareup.retrofit2:converter-scalars:2.0.0' //导入scalars包 //rxjava2 implementation 'io.reactivex.rxjava2:rxjava:2.2.15' implementation 'io.reactivex.rxjava2:rxandroid:2.1.1' implementation files('libs\\slf4j-api-1.7.26.jar') implementation files('libs\\mina-core-2.0.21.jar') implementation 'com.tencent.bugly:crashreport:latest.release' debugImplementation 'com.hjq:logcat:5.0'//调试 }