The build scan was not published due to a configuration problem.
The Gradle Cloud Services license agreement has not been agreed to.
To agree to the license, include the following in your root project's configuration:
buildScan { licenseAgreementUrl = 'https://gradle.com/terms-of-service'; licenseAgree = 'yes' }
For more information, please see https://gradle.com/scans/help/plugin-license.
Alternatively, if you are using Gradle Enterprise, specify the server location.
For more information, please see https://gradle.com/scans/help/plugin-enterprise-config.
9:27:52 PM: Task execution finished 'signingReport'.
As the error says.
You try to publish a build scan but did not agree to the license terms.
Either agree to the license terms or do not try to publish a build scan.
Your output says you did.
Maybe you added some init script that enables it for all builds you are running - which might be a bad idea but is suggested by some questionable tutorials for example.
no it append i think because i used android studio 2022 and gradle 4.6 for the Project(testing). But i got the message on android studio 4.1 and gradle 4.4. now.
It would be new to me that AS tries to automatically enable build scans for you.
That would be pretty fatal, as that means that data about the builds is sent to a Gradle server.
I cannot imagine that anything is doing this automatically for you.
So i need to do a search in the project directorie. But what would be the name to search. I already tried “scan” but i could not see nothing interresting.
I does not have to be in the project.
As I said, it could for example also come from an init script for example.
If you do want the scan, do what the error tells you and accept the terms of service.