Normally I could cook for Android, but out of the blue I get such an error, how can I fix it?
E:\Projects\androidgame_projects\PeakLeapp\Intermediate\Android\gradle\app\src\main\java\com\google\android\vending\expansion\downloader\impl\HttpDateTime.java.
UATHelper: Packaging (Android (ETC2)): Creating rungradle.bat to work around commandline length limit (using unused drive letter Z:)
UATHelper: Packaging (Android (ETC2)): Making .aab with Gradle…
UATHelper: Packaging (Android (ETC2)): To honour the JVM settings for this build a single-use Daemon process will be forked. See The Gradle Daemon.
UATHelper: Packaging (Android (ETC2)): Daemon will be stopped at the end of the build
UATHelper: Packaging (Android (ETC2)): Creating install-time assetpack for GooglePAD: assetpacks/install-time/obbassets
UATHelper: Packaging (Android (ETC2)): :assetpacks:install-time:obbassets
UATHelper: Packaging (Android (ETC2)): FAILURE: Build failed with an exception.
UATHelper: Packaging (Android (ETC2)): * What went wrong:
UATHelper: Packaging (Android (ETC2)): A problem occurred configuring root project ‘app’.
UATHelper: Packaging (Android (ETC2)): > Could not resolve all files for configuration ‘:classpath’.
UATHelper: Packaging (Android (ETC2)): > Could not resolve androidx.browser:browser:1.4.0.
UATHelper: Packaging (Android (ETC2)): Required by:
UATHelper: Packaging (Android (ETC2)): project : > com.google.android.gms:play-services-ads:23.1.0
UATHelper: Packaging (Android (ETC2)): > No matching variant of androidx.browser:browser:1.4.0 was found. The consumer was configured to find a runtime of a library compatible with Java 17, packaged as a jar, and its dependencies declared externally, as well as attribute ‘org.gradle.plugin.api-version’ with value ‘7.5’ but:
UATHelper: Packaging (Android (ETC2)): - Variant ‘releaseVariantReleaseApiPublication’ capability androidx.browser:browser:1.4.0 declares a library, and its dependencies declared externally:
UATHelper: Packaging (Android (ETC2)): - Incompatible because this component declares an API of a component, with the library elements ‘aar’ and the consumer needed a runtime of a component, packaged as a jar
UATHelper: Packaging (Android (ETC2)): - Other compatible attributes:
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its target Java version (required compatibility with Java 17)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.5’)
UATHelper: Packaging (Android (ETC2)): - Variant ‘releaseVariantReleaseRuntimePublication’ capability androidx.browser:browser:1.4.0 declares a runtime of a library, and its dependencies declared externally:
UATHelper: Packaging (Android (ETC2)): - Incompatible because this component declares a component, with the library elements ‘aar’ and the consumer needed a component, packaged as a jar
UATHelper: Packaging (Android (ETC2)): - Other compatible attributes:
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its target Java version (required compatibility with Java 17)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.5’)
UATHelper: Packaging (Android (ETC2)): - Variant ‘sourcesElements’ capability androidx.browser:browser:1.4.0 declares a runtime of a component, and its dependencies declared externally:
UATHelper: Packaging (Android (ETC2)): - Incompatible because this component declares documentation and the consumer needed a library
UATHelper: Packaging (Android (ETC2)): - Other compatible attributes:
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its target Java version (required compatibility with Java 17)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its elements (required them packaged as a jar)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.5’)
UATHelper: Packaging (Android (ETC2)): > Could not resolve androidx.privacysandbox.ads:ads-adservices:1.0.0-beta05.
UATHelper: Packaging (Android (ETC2)): Required by:
UATHelper: Packaging (Android (ETC2)): project : > com.google.android.gms:play-services-ads:23.1.0
UATHelper: Packaging (Android (ETC2)): > No matching variant of androidx.privacysandbox.ads:ads-adservices:1.0.0-beta05 was found. The consumer was configured to find a runtime of a library compatible with Java 17, packaged as a jar, and its dependencies declared externally, as well as attribute ‘org.gradle.plugin.api-version’ with value ‘7.5’ but:
UATHelper: Packaging (Android (ETC2)): - Variant ‘releaseVariantReleaseApiPublication’ capability androidx.privacysandbox.ads:ads-adservices:1.0.0-beta05 declares a library, and its dependencies declared externally:
UATHelper: Packaging (Android (ETC2)): - Incompatible because this component declares an API of a component, with the library elements ‘aar’ and the consumer needed a runtime of a component, packaged as a jar
UATHelper: Packaging (Android (ETC2)): - Other compatible attributes:
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its target Java version (required compatibility with Java 17)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.5’)
UATHelper: Packaging (Android (ETC2)): - Variant ‘releaseVariantReleaseRuntimePublication’ capability androidx.privacysandbox.ads:ads-adservices:1.0.0-beta05 declares a runtime of a library, and its dependencies declared externally:
UATHelper: Packaging (Android (ETC2)): - Incompatible because this component declares a component, with the library elements ‘aar’ and the consumer needed a component, packaged as a jar
UATHelper: Packaging (Android (ETC2)): - Other compatible attributes:
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its target Java version (required compatibility with Java 17)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.5’)
UATHelper: Packaging (Android (ETC2)): - Variant ‘sourcesElements’ capability androidx.privacysandbox.ads:ads-adservices:1.0.0-beta05 declares a runtime of a component, and its dependencies declared externally:
UATHelper: Packaging (Android (ETC2)): - Incompatible because this component declares documentation and the consumer needed a library
UATHelper: Packaging (Android (ETC2)): - Other compatible attributes:
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its target Java version (required compatibility with Java 17)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its elements (required them packaged as a jar)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.5’)
UATHelper: Packaging (Android (ETC2)): > Could not resolve androidx.privacysandbox.ads:ads-adservices-java:1.0.0-beta05.
UATHelper: Packaging (Android (ETC2)): Required by:
UATHelper: Packaging (Android (ETC2)): project : > com.google.android.gms:play-services-ads:23.1.0
UATHelper: Packaging (Android (ETC2)): > No matching variant of androidx.privacysandbox.ads:ads-adservices-java:1.0.0-beta05 was found. The consumer was configured to find a runtime of a library compatible with Java 17, packaged as a jar, and its dependencies declared externally, as well as attribute ‘org.gradle.plugin.api-version’ with value ‘7.5’ but:
UATHelper: Packaging (Android (ETC2)): - Variant ‘releaseVariantReleaseApiPublication’ capability androidx.privacysandbox.ads:ads-adservices-java:1.0.0-beta05 declares a library, and its dependencies declared externally:
UATHelper: Packaging (Android (ETC2)): - Incompatible because this component declares an API of a component, with the library elements ‘aar’ and the consumer needed a runtime of a component, packaged as a jar
UATHelper: Packaging (Android (ETC2)): - Other compatible attributes:
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its target Java version (required compatibility with Java 17)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.5’)
UATHelper: Packaging (Android (ETC2)): - Variant ‘releaseVariantReleaseRuntimePublication’ capability androidx.privacysandbox.ads:ads-adservices-java:1.0.0-beta05 declares a runtime of a library, and its dependencies declared externally:
UATHelper: Packaging (Android (ETC2)): - Incompatible because this component declares a component, with the library elements ‘aar’ and the consumer needed a component, packaged as a jar
UATHelper: Packaging (Android (ETC2)): - Other compatible attributes:
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its target Java version (required compatibility with Java 17)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.5’)
UATHelper: Packaging (Android (ETC2)): - Variant ‘sourcesElements’ capability androidx.privacysandbox.ads:ads-adservices-java:1.0.0-beta05 declares a runtime of a component, and its dependencies declared externally:
UATHelper: Packaging (Android (ETC2)): - Incompatible because this component declares documentation and the consumer needed a library
UATHelper: Packaging (Android (ETC2)): - Other compatible attributes:
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its target Java version (required compatibility with Java 17)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its elements (required them packaged as a jar)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.5’)
UATHelper: Packaging (Android (ETC2)): > Could not resolve androidx.webkit:webkit:1.11.0-alpha02.
UATHelper: Packaging (Android (ETC2)): Required by:
UATHelper: Packaging (Android (ETC2)): project : > com.google.android.gms:play-services-ads:23.1.0
UATHelper: Packaging (Android (ETC2)): > No matching variant of androidx.webkit:webkit:1.11.0-alpha02 was found. The consumer was configured to find a runtime of a library compatible with Java 17, packaged as a jar, and its dependencies declared externally, as well as attribute ‘org.gradle.plugin.api-version’ with value ‘7.5’ but:
UATHelper: Packaging (Android (ETC2)): - Variant ‘libraryVersionMetadata’ capability androidx.webkit:webkit:1.11.0-alpha02 declares a component, and its dependencies declared externally:
UATHelper: Packaging (Android (ETC2)): - Incompatible because this component declares a usage of ‘library-version-metadata’ of documentation and the consumer needed a runtime of a library
UATHelper: Packaging (Android (ETC2)): - Other compatible attributes:
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its target Java version (required compatibility with Java 17)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its elements (required them packaged as a jar)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.5’)
UATHelper: Packaging (Android (ETC2)): - Variant ‘releaseVariantReleaseApiPublication’ capability androidx.webkit:webkit:1.11.0-alpha02 declares a library, and its dependencies declared externally:
UATHelper: Packaging (Android (ETC2)): - Incompatible because this component declares an API of a component, with the library elements ‘aar’ and the consumer needed a runtime of a component, packaged as a jar
UATHelper: Packaging (Android (ETC2)): - Other compatible attributes:
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its target Java version (required compatibility with Java 17)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.5’)
UATHelper: Packaging (Android (ETC2)): - Variant ‘releaseVariantReleaseRuntimePublication’ capability androidx.webkit:webkit:1.11.0-alpha02 declares a runtime of a library, and its dependencies declared externally:
UATHelper: Packaging (Android (ETC2)): - Incompatible because this component declares a component, with the library elements ‘aar’ and the consumer needed a component, packaged as a jar
UATHelper: Packaging (Android (ETC2)): - Other compatible attributes:
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its target Java version (required compatibility with Java 17)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.5’)
UATHelper: Packaging (Android (ETC2)): - Variant ‘sourcesElements’ capability androidx.webkit:webkit:1.11.0-alpha02 declares a runtime of a component, and its dependencies declared externally:
UATHelper: Packaging (Android (ETC2)): - Incompatible because this component declares documentation and the consumer needed a library
UATHelper: Packaging (Android (ETC2)): - Other compatible attributes:
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its target Java version (required compatibility with Java 17)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its elements (required them packaged as a jar)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.5’)
UATHelper: Packaging (Android (ETC2)): > Could not resolve androidx.work:work-runtime:2.7.0.
UATHelper: Packaging (Android (ETC2)): Required by:
UATHelper: Packaging (Android (ETC2)): project : > com.google.android.gms:play-services-ads:23.1.0 > com.google.android.gms:play-services-ads-lite:23.1.0
UATHelper: Packaging (Android (ETC2)): > No matching variant of androidx.work:work-runtime:2.7.0 was found. The consumer was configured to find a runtime of a library compatible with Java 17, packaged as a jar, and its dependencies declared externally, as well as attribute ‘org.gradle.plugin.api-version’ with value ‘7.5’ but:
UATHelper: Packaging (Android (ETC2)): - Variant ‘releaseVariantReleaseApiPublication’ capability androidx.work:work-runtime:2.7.0 declares a library, and its dependencies declared externally:
UATHelper: Packaging (Android (ETC2)): - Incompatible because this component declares an API of a component, with the library elements ‘aar’ and the consumer needed a runtime of a component, packaged as a jar
UATHelper: Packaging (Android (ETC2)): - Other compatible attributes:
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its target Java version (required compatibility with Java 17)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.5’)
UATHelper: Packaging (Android (ETC2)): - Variant ‘releaseVariantReleaseRuntimePublication’ capability androidx.work:work-runtime:2.7.0 declares a runtime of a library, and its dependencies declared externally:
UATHelper: Packaging (Android (ETC2)): - Incompatible because this component declares a component, with the library elements ‘aar’ and the consumer needed a component, packaged as a jar
UATHelper: Packaging (Android (ETC2)): - Other compatible attributes:
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its target Java version (required compatibility with Java 17)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.5’)
UATHelper: Packaging (Android (ETC2)): - Variant ‘sourcesElements’ capability androidx.work:work-runtime:2.7.0 declares a runtime of a component, and its dependencies declared externally:
UATHelper: Packaging (Android (ETC2)): - Incompatible because this component declares documentation and the consumer needed a library
UATHelper: Packaging (Android (ETC2)): - Other compatible attributes:
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its target Java version (required compatibility with Java 17)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about its elements (required them packaged as a jar)
UATHelper: Packaging (Android (ETC2)): - Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.5’)
UATHelper: Packaging (Android (ETC2)): * Try:
UATHelper: Packaging (Android (ETC2)): > Run with --stacktrace option to get the stack trace.
UATHelper: Packaging (Android (ETC2)): > Run with --info or --debug option to get more log output.
UATHelper: Packaging (Android (ETC2)): > Run with --scan to get full insights.
UATHelper: Packaging (Android (ETC2)): * Get more help at https://help.gradle.org
UATHelper: Packaging (Android (ETC2)): BUILD FAILED in 5s
UATHelper: Packaging (Android (ETC2)): cmd.exe failed with args /c “E:\Projects\androidgame_projects\PeakLeapp\Intermediate\Android\gradle\rungradle.bat” :app:bundleRelease
UATHelper: Packaging (Android (ETC2)): (see C:\Users\Administrator\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Epic+Games+UE_5.3\Log.txt for full exception trace)
UATHelper: Packaging (Android (ETC2)): AutomationTool executed for 0h 0m 51s
UATHelper: Packaging (Android (ETC2)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (ETC2)): BUILD FAILED
PackagingResults: Error: Unknown Error