-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
插件项目存在自定义flavorDimensions时报has unknown dimension 'Shadow' #811
Comments
应该是因为'flavorDimensions flavorDevice, flavorDistrict'把plugin自动添加的Shadow Dimension给覆盖掉了。 |
那这应该咋整啊 |
这样写,把已存在的Dimension也添加回去就可以了。 |
|
不用完全一致。可以在这里看到Shadow有自动化测试这些版本的兼容性: Shadow/projects/test/gradle-plugin-agp-compat-test/test.sh Lines 30 to 48 in 57fe912
|
Hi, 现在我在宿主app里面加了android:sharedUserId="android.uid.system"变成系统app后,SDK会报错,因为Android禁止系统app使用webview
@shifujun caused by here Lines 33 to 38 in 851ba61
|
和当前issue不相关的问题最好另外提issue。如果不需要使用WebView,可以删掉这段代码。 |
Hi guys!
我自己写的一个demo,是可以跑起来这一套逻辑的。但是我在我的插件项目里面就简单写个apply plugin: 'com.tencent.shadow.plugin'怎么一直报如下错误:
Gradle代码:
apply plugin: 'com.android.application'
apply plugin: 'com.tencent.shadow.plugin'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 28
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
}
The text was updated successfully, but these errors were encountered: