Skip to content
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

要了命了,不懂原生 大哥救命!!! #10

Open
iLoveNintendo opened this issue Mar 25, 2023 · 3 comments
Open

要了命了,不懂原生 大哥救命!!! #10

iLoveNintendo opened this issue Mar 25, 2023 · 3 comments

Comments

@iLoveNintendo
Copy link

iLoveNintendo commented Mar 25, 2023

Launching lib/main.dart on MI 8 in debug mode...
Running Gradle task 'assembleDebug'...
get ANDROID_GRADLE_PLUGIN_VERSION failed
com.android.tools.build version = 7.2.0
isAndroidX = true
/代码/adtv_flutter/android/app/src/debug/AndroidManifest.xml:84:52-503 Error:
Attribute meta-data#ZEUS_PLUGIN_LIVE@value value=({ apiVersionCode:2050, packageName:com.byted.live.lite, minPluginVersion:205000, maxPluginVersion:209999, appKey:'9f64a31d9d0456d845733718c4c6934d', appSecretKey:'eb7fc60ac5ed4708e13d9c7f8e4096a7', isSupportLibIsolate:true, internalPath:'plugins/zeusliveplugin.apk', internalVersionCode:5 }) from [com.pangle.cn:ads-sdk-pro:5.1.0.2] AndroidManifest.xml:84:52-503
is also present at [com.pangle.cn:partner-live-sdk:2.0.5.0-tob-154732232] AndroidManifest.xml:15:13-1673 value=({ apiVersionCode:2050, packageName:com.byted.live.lite, minPluginVersion:205000, maxPluginVersion:205999, appKey:'9f64a31d9d0456d845733718c4c6934d', appSecretKey:'eb7fc60ac5ed4708e13d9c7f8e4096a7', isSupportLibIsolate:true, internalPath:'plugins/zeusliveplugin.apk', internalVersionCode:5, signature:'MIIDSTCCAjGgAwIBAgIEaLy5tzANBgkqhkiG9w0BAQsFADBVMQswCQYDVQQGEwIxMTEMMAoGA1UECBMDMTExMQ4wDAYDVQQHEwUxMTExMTEMMAoGA1UEChMDMTExMQwwCgYDVQQLEwMxMTExDDAKBgNVBAMTAzExMTAeFw0yMDEyMDMxMjQyMTJaFw00NTExMjcxMjQyMTJaMFUxCzAJBgNVBAYTAjExMQwwCgYDVQQIEwMxMTExDjAMBgNVBAcTBTExMTExMQwwCgYDVQQKEwMxMTExDDAKBgNVBAsTAzExMTEMMAoGA1UEAxMDMTExMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA45E52YdkJm4gPCXZq7KDoM1h6pgSswllC/CwDOmh8pDGvX4ROaYP1vr2biRlXMHg7G0iXpxWVdlTtx+4QFd3dC+cGJQk0f6apGo2n2RpMA0zIsSf0VO1a3GjWLei5INo+4RDdciqJ4jfsoqBIjZETRkky+UU4eO/oyrAwOu4KdMln3Bg3u7eHWU4kMFrXxrRruT3Q/9gzlO90yQa0CZPWVDrk6cGJtJwJGhWm+62S3U8D26HE++eGP7ve83QBDGtKqx7HpCAFWUiYBgXGq12H0amQDkKcPcr/EFCaBlombSgkN0t6zBX80m+wcUPC75IBTmMV/DT2dXcgjZ2I1JSCQIDAQABoyEwHzAdBgNVHQ4EFgQUPDyIeKI0KhZFPHyn36gMMIYrpukwDQYJKoZIhvcNAQELBQADggEBAHkl0DoCRwn+XKsDJE+wGMpBBqUDzL6DSOnJx4SNqb7YZZU0ThcDK7jY4If3QRkvMio6ODrVZc2U/m/Tc3VeMk5h2W2UZRUWHNH3k9Xe0720uL20ZeH2Y6IG4L5HG8kIbTbFtX3gJpPG/xAcez+CzyCFLWQAZt1N+csG0syWkXJ0Nryq8VrgSCyCXD1KzFxrOe+65wtu50Vi68Vlbk7BZe/G8Qm0RhKmxq5BPMBJ4uY3be+03Ba5qC//o1XQHOEAjrJKXcN5wqHdFZTkmuxVyIPogZOzx4JlNl0zOrYGDJxp7aZfKF9FkXQyF7x0Ns3mZEtjx/+flXRzAAU9MDhPr/0=' }).
Suggestion: add 'tools:replace="android:value"' to element at AndroidManifest.xml:84:9-505 to override.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugMainManifest'.

Manifest merger failed : Attribute meta-data#ZEUS_PLUGIN_LIVE@value value=({ apiVersionCode:2050, packageName:com.byted.live.lite, minPluginVersion:205000, maxPluginVersion:209999, appKey:'9f64a31d9d0456d845733718c4c6934d', appSecretKey:'eb7fc60ac5ed4708e13d9c7f8e4096a7', isSupportLibIsolate:true, internalPath:'plugins/zeusliveplugin.apk', internalVersionCode:5 }) from [com.pangle.cn:ads-sdk-pro:5.1.0.2] AndroidManifest.xml:84:52-503
is also present at [com.pangle.cn:partner-live-sdk:2.0.5.0-tob-154732232] AndroidManifest.xml:15:13-1673 value=({ apiVersionCode:2050, packageName:com.byted.live.lite, minPluginVersion:205000, maxPluginVersion:205999, appKey:'9f64a31d9d0456d845733718c4c6934d', appSecretKey:'eb7fc60ac5ed4708e13d9c7f8e4096a7', isSupportLibIsolate:true, internalPath:'plugins/zeusliveplugin.apk', internalVersionCode:5, signature:'MIIDSTCCAjGgAwIBAgIEaLy5tzANBgkqhkiG9w0BAQsFADBVMQswCQYDVQQGEwIxMTEMMAoGA1UECBMDMTExMQ4wDAYDVQQHEwUxMTExMTEMMAoGA1UEChMDMTExMQwwCgYDVQQLEwMxMTExDDAKBgNVBAMTAzExMTAeFw0yMDEyMDMxMjQyMTJaFw00NTExMjcxMjQyMTJaMFUxCzAJBgNVBAYTAjExMQwwCgYDVQQIEwMxMTExDjAMBgNVBAcTBTExMTExMQwwCgYDVQQKEwMxMTExDDAKBgNVBAsTAzExMTEMMAoGA1UEAxMDMTExMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA45E52YdkJm4gPCXZq7KDoM1h6pgSswllC/CwDOmh8pDGvX4ROaYP1vr2biRlXMHg7G0iXpxWVdlTtx+4QFd3dC+cGJQk0f6apGo2n2RpMA0zIsSf0VO1a3GjWLei5INo+4RDdciqJ4jfsoqBIjZETRkky+UU4eO/oyrAwOu4KdMln3Bg3u7eHWU4kMFrXxrRruT3Q/9gzlO90yQa0CZPWVDrk6cGJtJwJGhWm+62S3U8D26HE++eGP7ve83QBDGtKqx7HpCAFWUiYBgXGq12H0amQDkKcPcr/EFCaBlombSgkN0t6zBX80m+wcUPC75IBTmMV/DT2dXcgjZ2I1JSCQIDAQABoyEwHzAdBgNVHQ4EFgQUPDyIeKI0KhZFPHyn36gMMIYrpukwDQYJKoZIhvcNAQELBQADggEBAHkl0DoCRwn+XKsDJE+wGMpBBqUDzL6DSOnJx4SNqb7YZZU0ThcDK7jY4If3QRkvMio6ODrVZc2U/m/Tc3VeMk5h2W2UZRUWHNH3k9Xe0720uL20ZeH2Y6IG4L5HG8kIbTbFtX3gJpPG/xAcez+CzyCFLWQAZt1N+csG0syWkXJ0Nryq8VrgSCyCXD1KzFxrOe+65wtu50Vi68Vlbk7BZe/G8Qm0RhKmxq5BPMBJ4uY3be+03Ba5qC//o1XQHOEAjrJKXcN5wqHdFZTkmuxVyIPogZOzx4JlNl0zOrYGDJxp7aZfKF9FkXQyF7x0Ns3mZEtjx/+flXRzAAU9MDhPr/0=' }).
Suggestion: add 'tools:replace="android:value"' to element at AndroidManifest.xml:84:9-505 to override.

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 18s
Exception: Gradle task assembleDebug failed with exit code 1

@gstory0404
Copy link
Owner

Suggestion: add 'tools:replace="android:value"' to element at AndroidManifest.xml:84:9-505 to override.

@iLoveNintendo
Copy link
Author

Suggestion: add 'tools:replace="android:value"' to element at AndroidManifest.xml:84:9-505 to override.

感谢回复,如果我把
tools:replace="android:label" 换成 tools:replace="android:value"会报错
adtv_flutter/android/app/src/main/AndroidManifest.xml:13:5-45:19 Error:
tools:replace specified at line:13 for attribute android:value, but no new value specified
adtv_flutter/android/app/src/main/AndroidManifest.xml Error:
Validation failed, exiting

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugMainManifest'.

Manifest merger failed with multiple errors, see logs

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 24s
Exception: Gradle task assembleDebug failed with exit code 1

dependencies:
flutter_unionad: ^1.3.19
flutter_pangrowth: ^1.0.6

@gstory0404
Copy link
Owner

多个tools可以使用

tools:replace="android:label,android:value"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants