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

checkDebugAarMetadata FAILED when building #7

Open
Octowyth opened this issue Oct 4, 2021 · 7 comments
Open

checkDebugAarMetadata FAILED when building #7

Octowyth opened this issue Oct 4, 2021 · 7 comments

Comments

@Octowyth
Copy link

Octowyth commented Oct 4, 2021

Hi

Thanks for creating these awesome plugins,
I'm using Godot 3.3.3, and this plugin working fine weeks ago
however, I try to build again today and got this issues when exporting to android

please advise

Thanks

Task :checkDebugAarMetadata
Using insecure protocols with repositories has been deprecated. This is scheduled to be removed in Gradle 7.0. Switch Maven repository 'maven2(http://android-sdk.tapdaq.com)' to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/6.7.1/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details.

Task :checkDebugAarMetadata FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':checkDebugAarMetadata'.

Could not resolve all files for configuration ':debugRuntimeClasspath'.
Could not resolve com.adcolony:sdk:4.3.0.
Required by:
project : > com.tapdaq.sdk:TapdaqAdColonyAdapter:7.8.2
> Could not resolve com.adcolony:sdk:4.3.0.
> Could not get resource 'https://dl.bintray.com/mobilap/maven/com/adcolony/sdk/4.3.0/sdk-4.3.0.pom'.
> Could not GET 'https://dl.bintray.com/mobilap/maven/com/adcolony/sdk/4.3.0/sdk-4.3.0.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.adcolony:sdk:4.3.0.
> Could not get resource 'https://adcolony.bintray.com/AdColony/com/adcolony/sdk/4.3.0/sdk-4.3.0.pom'.
> Could not GET 'https://adcolony.bintray.com/AdColony/com/adcolony/sdk/4.3.0/sdk-4.3.0.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.adcolony:sdk:4.3.0.
> Could not get resource 'https://dl.bintray.com/ironsource-mobile/android-sdk/com/adcolony/sdk/4.3.0/sdk-4.3.0.pom'.
> Could not GET 'https://dl.bintray.com/ironsource-mobile/android-sdk/com/adcolony/sdk/4.3.0/sdk-4.3.0.pom'. Received status code 403 from server: Forbidden
Could not resolve com.applovin:applovin-sdk:9.14.6.
Required by:
project : > com.tapdaq.sdk:TapdaqAppLovinAdapter:7.8.2
> Could not resolve com.applovin:applovin-sdk:9.14.6.
> Could not get resource 'https://dl.bintray.com/mobilap/maven/com/applovin/applovin-sdk/9.14.6/applovin-sdk-9.14.6.pom'.
> Could not GET 'https://dl.bintray.com/mobilap/maven/com/applovin/applovin-sdk/9.14.6/applovin-sdk-9.14.6.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.applovin:applovin-sdk:9.14.6.
> Could not get resource 'https://adcolony.bintray.com/AdColony/com/applovin/applovin-sdk/9.14.6/applovin-sdk-9.14.6.pom'.
> Could not GET 'https://adcolony.bintray.com/AdColony/com/applovin/applovin-sdk/9.14.6/applovin-sdk-9.14.6.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.applovin:applovin-sdk:9.14.6.
> Could not get resource 'https://dl.bintray.com/ironsource-mobile/android-sdk/com/applovin/applovin-sdk/9.14.6/applovin-sdk-9.14.6.pom'.
> Could not GET 'https://dl.bintray.com/ironsource-mobile/android-sdk/com/applovin/applovin-sdk/9.14.6/applovin-sdk-9.14.6.pom'. Received status code 403 from server: Forbidden
Could not resolve com.ironsource.sdk:mediationsdk:7.0.3.1.
Required by:
project : > com.tapdaq.sdk:TapdaqIronsourceAdapter:7.8.2
> Could not resolve com.ironsource.sdk:mediationsdk:7.0.3.1.
> Could not get resource 'https://dl.bintray.com/mobilap/maven/com/ironsource/sdk/mediationsdk/7.0.3.1/mediationsdk-7.0.3.1.pom'.
> Could not GET 'https://dl.bintray.com/mobilap/maven/com/ironsource/sdk/mediationsdk/7.0.3.1/mediationsdk-7.0.3.1.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.ironsource.sdk:mediationsdk:7.0.3.1.
> Could not get resource 'https://adcolony.bintray.com/AdColony/com/ironsource/sdk/mediationsdk/7.0.3.1/mediationsdk-7.0.3.1.pom'.
> Could not GET 'https://adcolony.bintray.com/AdColony/com/ironsource/sdk/mediationsdk/7.0.3.1/mediationsdk-7.0.3.1.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.ironsource.sdk:mediationsdk:7.0.3.1.
> Could not get resource 'https://dl.bintray.com/ironsource-mobile/android-sdk/com/ironsource/sdk/mediationsdk/7.0.3.1/mediationsdk-7.0.3.1.pom'.
> Could not GET 'https://dl.bintray.com/ironsource-mobile/android-sdk/com/ironsource/sdk/mediationsdk/7.0.3.1/mediationsdk-7.0.3.1.pom'. Received status code 403 from server: Forbidden

@DrMoriarty
Copy link
Owner

It seems that some repositories at bintray are unavailable. I will check it and make an update for plugins tomorrow.

@DrMoriarty
Copy link
Owner

@Octowyth did you try to update plugins?
Some repository links was updated and if you are using outdated plugins it can break compilation like in your case.
At first update NativeLib UI Addon (from AssetLib or from github)
Than update package information (the button in right bottom corner of NativeLib view)
Also it may be useful to update NativeLib core (the button next to the previous one) The latest version is 0.5.2, it shown also in the bottom of this view)
In the end try to update all installed plugins.
The last thing, if project compilation fails, try to clean building temp data.
(go to android/build and run ./gradlew clean)

@Octowyth
Copy link
Author

Octowyth commented Oct 6, 2021

Hi @DrMoriarty

I've update NativeLib to the latest version 0.52 and all plugins related to tapdaq
clean building temp data as well (go to android/build and run ./gradlew clean)
but the same issue still persist

image

@DrMoriarty
Copy link
Owner

show me the compilation log output

@Octowyth
Copy link
Author

Octowyth commented Oct 6, 2021

this is the full log :

Task :clean
Task :preBuild UP-TO-DATE
Task :preDebugBuild UP-TO-DATE
Task :compileDebugAidl NO-SOURCE
Task :compileDebugRenderscript NO-SOURCE
Task :generateDebugBuildConfig
Task :javaPreCompileDebug

Task :checkDebugAarMetadata
Using insecure protocols with repositories has been deprecated. This is scheduled to be removed in Gradle 7.0. Switch Maven repository 'maven2(http://android-sdk.tapdaq.com)' to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/6.7.1/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details.

Task :checkDebugAarMetadata FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':checkDebugAarMetadata'.

Could not resolve all files for configuration ':debugRuntimeClasspath'.
Could not resolve com.adcolony:sdk:4.3.0.
Required by:
project : > com.tapdaq.sdk:TapdaqAdColonyAdapter:7.8.2
> Could not resolve com.adcolony:sdk:4.3.0.
> Could not get resource 'https://dl.bintray.com/mobilap/maven/com/adcolony/sdk/4.3.0/sdk-4.3.0.pom'.
> Could not GET 'https://dl.bintray.com/mobilap/maven/com/adcolony/sdk/4.3.0/sdk-4.3.0.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.adcolony:sdk:4.3.0.
> Could not get resource 'https://adcolony.bintray.com/AdColony/com/adcolony/sdk/4.3.0/sdk-4.3.0.pom'.
> Could not GET 'https://adcolony.bintray.com/AdColony/com/adcolony/sdk/4.3.0/sdk-4.3.0.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.adcolony:sdk:4.3.0.
> Could not get resource 'https://dl.bintray.com/ironsource-mobile/android-sdk/com/adcolony/sdk/4.3.0/sdk-4.3.0.pom'.
> Could not GET 'https://dl.bintray.com/ironsource-mobile/android-sdk/com/adcolony/sdk/4.3.0/sdk-4.3.0.pom'. Received status code 403 from server: Forbidden
Could not resolve com.applovin:applovin-sdk:9.14.6.
Required by:
project : > com.tapdaq.sdk:TapdaqAppLovinAdapter:7.8.2
> Could not resolve com.applovin:applovin-sdk:9.14.6.
> Could not get resource 'https://dl.bintray.com/mobilap/maven/com/applovin/applovin-sdk/9.14.6/applovin-sdk-9.14.6.pom'.
> Could not GET 'https://dl.bintray.com/mobilap/maven/com/applovin/applovin-sdk/9.14.6/applovin-sdk-9.14.6.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.applovin:applovin-sdk:9.14.6.
> Could not get resource 'https://adcolony.bintray.com/AdColony/com/applovin/applovin-sdk/9.14.6/applovin-sdk-9.14.6.pom'.
> Could not GET 'https://adcolony.bintray.com/AdColony/com/applovin/applovin-sdk/9.14.6/applovin-sdk-9.14.6.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.applovin:applovin-sdk:9.14.6.
> Could not get resource 'https://dl.bintray.com/ironsource-mobile/android-sdk/com/applovin/applovin-sdk/9.14.6/applovin-sdk-9.14.6.pom'.
> Could not GET 'https://dl.bintray.com/ironsource-mobile/android-sdk/com/applovin/applovin-sdk/9.14.6/applovin-sdk-9.14.6.pom'. Received status code 403 from server: Forbidden
Could not resolve com.ironsource.sdk:mediationsdk:7.0.3.1.
Required by:
project : > com.tapdaq.sdk:TapdaqIronsourceAdapter:7.8.2
> Could not resolve com.ironsource.sdk:mediationsdk:7.0.3.1.
> Could not get resource 'https://dl.bintray.com/mobilap/maven/com/ironsource/sdk/mediationsdk/7.0.3.1/mediationsdk-7.0.3.1.pom'.
> Could not GET 'https://dl.bintray.com/mobilap/maven/com/ironsource/sdk/mediationsdk/7.0.3.1/mediationsdk-7.0.3.1.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.ironsource.sdk:mediationsdk:7.0.3.1.
> Could not get resource 'https://adcolony.bintray.com/AdColony/com/ironsource/sdk/mediationsdk/7.0.3.1/mediationsdk-7.0.3.1.pom'.
> Could not GET 'https://adcolony.bintray.com/AdColony/com/ironsource/sdk/mediationsdk/7.0.3.1/mediationsdk-7.0.3.1.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.ironsource.sdk:mediationsdk:7.0.3.1.
> Could not get resource 'https://dl.bintray.com/ironsource-mobile/android-sdk/com/ironsource/sdk/mediationsdk/7.0.3.1/mediationsdk-7.0.3.1.pom'.
> Could not GET 'https://dl.bintray.com/ironsource-mobile/android-sdk/com/ironsource/sdk/mediationsdk/7.0.3.1/mediationsdk-7.0.3.1.pom'. Received status code 403 from server: Forbidden

  • 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 14s
4 actionable tasks: 4 executed

Exit Code: 1

@KinashMaksym
Copy link

I have same problem
image

@NeroNekro
Copy link

Hi,
do you create an update in future?

`FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':mergeReleaseResources'.

Could not resolve all files for configuration ':releaseRuntimeClasspath'.
Could not resolve com.tapdaq.sdk:TapdaqAdMobAdapter:7.8.2.
Required by:
project :
> Could not resolve com.tapdaq.sdk:TapdaqAdMobAdapter:7.8.2.
> Could not get resource 'https://dl.bintray.com/mobilap/maven/com/tapdaq/sdk/TapdaqAdMobAdapter/7.8.2/TapdaqAdMobAdapter-7.8.2.pom'.
> Could not GET 'https://dl.bintray.com/mobilap/maven/com/tapdaq/sdk/TapdaqAdMobAdapter/7.8.2/TapdaqAdMobAdapter-7.8.2.pom'. Received status code 502 from server: Bad Gateway
Could not resolve com.tapdaq.sdk:TapdaqAdColonyAdapter:7.8.2.
Required by:
project :
> Could not resolve com.tapdaq.sdk:TapdaqAdColonyAdapter:7.8.2.
> Could not get resource 'https://dl.bintray.com/mobilap/maven/com/tapdaq/sdk/TapdaqAdColonyAdapter/7.8.2/TapdaqAdColonyAdapter-7.8.2.pom'.
> Could not GET 'https://dl.bintray.com/mobilap/maven/com/tapdaq/sdk/TapdaqAdColonyAdapter/7.8.2/TapdaqAdColonyAdapter-7.8.2.pom'. Received status code 502 from server: Bad Gateway
Could not resolve com.tapdaq.sdk:Tapdaq-BaseSDK:7.8.2.
Required by:
project :
> Could not resolve com.tapdaq.sdk:Tapdaq-BaseSDK:7.8.2.
> Could not get resource 'https://dl.bintray.com/mobilap/maven/com/tapdaq/sdk/Tapdaq-BaseSDK/7.8.2/Tapdaq-BaseSDK-7.8.2.pom'.
> Could not GET 'https://dl.bintray.com/mobilap/maven/com/tapdaq/sdk/Tapdaq-BaseSDK/7.8.2/Tapdaq-BaseSDK-7.8.2.pom'. Received status code 502 from server: Bad Gateway
`

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

4 participants