gstory0404 / flutter_pangrowth

字节跳动 穿山甲广告SDK 穿山甲内容合作 内容输出 flutter版本插件
Apache License 2.0
50 stars 8 forks source link

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

Open iLoveNintendo opened 1 year ago

iLoveNintendo commented 1 year ago

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.

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

gstory0404 commented 1 year ago

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

iLoveNintendo commented 1 year ago

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.

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 commented 1 year ago

多个tools可以使用

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