Tencent / tinker

Tinker is a hot-fix solution library for Android, it supports dex, library and resources update without reinstall apk.
Other
17.1k stars 3.33k forks source link

AGP-4.2.1 apkData 属性无法获取 #1564

Open dupengyun opened 3 years ago

dupengyun commented 3 years ago

https://github.com/Tencent/tinker/blob/d8f74ab0fbffe74341ba09cc10f9faf32b22290d/tinker-sample-android/app/build.gradle#L429

ysavr commented 2 years ago

hallo, have you found the solution for this issue?

i have same issue for this

Could not get unknown property 'apkData' for ApkVariantOutputImpl_Decorated{variantOutput=VariantOutputImpl(versionCode=property(java.lang.Integer, fixed(class java.lang.Integer, 10000)), versionName=property(java.lang.String, fixed(class java.lang.String, 1.0.0-stag)), enabled=property(java.lang.Boolean, fixed(class java.lang.Boolean, true)), variantOutputConfiguration=VariantOutputConfigurationImpl(isUniversal=false, filters=[]), baseName=stag-debug, fullName=stagDebug, outputFileName=property(java.lang.String, fixed(class java.lang.String, app-stag-debug.apk)))} of type com.android.build.gradle.internal.api.ApkVariantOutputImpl.