我有一个构建变体,我们仅在内部使用它进行测试,并通过谷歌驱动器或电子邮件与团队内部共享。然而,从上个月开始,谷歌将这个 apk 标记为病毒,不允许我通过电子邮件或驱动器共享该 apk。 我尝试删除所有第三方依赖项以及我认为可能是原因的所有内容,但它仍然在 Virustotal.com 中显示为受感染。
我已经在下面分享了所有相关细节。 https://www.virustotal.com/gui/file/f2c517c0fee77863a12a25fae05bff43daccb7b209446339d9cdabee24937458?nocache=1
compileSdkVersion 33
buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.kayana.kiosk"
minSdkVersion 26
targetSdkVersion 32
versionCode 21
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
packagingOptions {
resources.excludes.add("META-INF/*")
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
debug {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
androidExtensions {
experimental = true
}
lintOptions {
abortOnError false
}
dataBinding {
enabled = true
}
applicationVariants.all { variant ->
variant.outputs.all {
def flavor = ""
if (variant.name == "stagingDebug") {
flavor = "SSK"
} else {
flavor = "SSK PROD"
}
def versionName = variant.versionName
outputFileName = "${flavor}-${versionName}.apk"
}
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.31"
// SUPPORT
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'androidx.core:core-ktx:1.8.0'
// RecyclerView
implementation 'androidx.recyclerview:recyclerview:1.2.1'
// CardView
implementation 'androidx.cardview:cardview:1.0.0'
// ConstraintLayout
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
//Material
implementation 'com.google.android.material:material:1.5.0-alpha02'
// Scalable dimensions
implementation 'com.intuit.sdp:sdp-android:1.0.6'
implementation 'com.intuit.ssp:ssp-android:1.0.6'
//print receipt
// implementation files('libs/icod_3.1.7.jar')
// implementation files('libs/posprinterconnectandsendsdk.jar')
// implementation files('libs/scan_pro.jar')
// annotationProcessor 'androidx.room:room-compiler:2.4.2'
// LifeCycle Extensions : LiveData
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.2.0'
// LifeCycle Extensions : ViewModel
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1'
// LifeCycle Extensions : Lifecycle Scope
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.2.0'
// Activity Kotlin Extension
implementation 'androidx.activity:activity-ktx:1.1.0'
// Retrofit
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.6.2'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.0'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
testImplementation 'com.squareup.okhttp3:mockwebserver:4.5.0'
// Dagger Hilt
implementation 'com.google.dagger:dagger:2.39.1'
annotationProcessor "com.google.dagger:dagger-compiler:2.39.1"
kapt 'com.google.dagger:dagger-compiler:2.39.1'
implementation 'com.google.dagger:hilt-android:2.37'
kapt 'com.google.dagger:hilt-android-compiler:2.37'
kapt 'androidx.hilt:hilt-compiler:1.0.0'
// Coroutines
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.7"
// Glide
implementation 'com.github.bumptech.glide:glide:4.11.0'
// kapt 'com.github.bumptech.glide:compiler:4.14.2'
// implementation 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
// implementation 'com.squareup.okhttp3:okhttp-urlconnection:3.4.1'
//tabSyncMenu
// implementation 'io.github.ahmad-hamwi:tabsync:1.0.1'
//stripe
//implementation "com.stripe:stripeterminal:2.9.0"
//firebase
implementation platform('com.google.firebase:firebase-bom:30.1.0')
implementation 'com.google.firebase:firebase-crashlytics-ktx'
implementation 'com.google.firebase:firebase-analytics:21.1.1'
//Layout to bitmap
// implementation 'id.zelory:cekrek:1.0.0'
// implementation 'com.hbb20:ccp:2.5.0'
//for allergen filters
implementation 'com.google.android:flexbox:1.1.0'
//websocket
// implementation 'tech.gusavila92:java-android-websocket-client:1.2.2'
// implementation("com.piesocket:channels-sdk:1.0.5")
}```
Let me know if any other details are required.
使用WeTransfer。我之前用过,没有任何问题。它也是通过电子邮件发送的。