报错
Executing tasks: [:simpleDemo:assembleRelease] in project D:\ws-000\starguar\package\Android-SDK@3.4.7.81308_20220424\HBuilder-Integrate-AS
Starting Gradle Daemon...
Gradle Daemon started in 2 s 758 ms
> Task :simpleDemo:preBuild UP-TO-DATE
> Task :simpleDemo:preReleaseBuild UP-TO-DATE
> Task :simpleDemo:compileReleaseAidl NO-SOURCE
> Task :simpleDemo:compileReleaseRenderscript NO-SOURCE
> Task :simpleDemo:generateReleaseBuildConfig UP-TO-DATE
> Task :simpleDemo:javaPreCompileRelease UP-TO-DATE
> Task :simpleDemo:writeReleaseApplicationId UP-TO-DATE
> Task :simpleDemo:analyticsRecordingRelease
> Task :simpleDemo:checkReleaseAarMetadata UP-TO-DATE
> Task :simpleDemo:generateReleaseResValues UP-TO-DATE
> Task :simpleDemo:generateReleaseResources UP-TO-DATE
> Task :simpleDemo:mergeReleaseResources UP-TO-DATE
> Task :simpleDemo:createReleaseCompatibleScreenManifests UP-TO-DATE
> Task :simpleDemo:extractDeepLinksRelease UP-TO-DATE
> Task :simpleDemo:processReleaseMainManifest
[androidx.vectordrawable:vectordrawable-animated:1.0.0] C:\Users\Admin\.gradle\caches\transforms-3\2b83a58187ff7bb5acc091431d7bc019\transformed\vectordrawable-animated-1.0.0\AndroidManifest.xml Warning:
Package name 'androidx.vectordrawable' used in: androidx.vectordrawable:vectordrawable-animated:1.0.0, androidx.vectordrawable:vectordrawable:1.0.0.
D:\ws-000\starguar\package\Android-SDK@3.4.7.81308_20220424\HBuilder-Integrate-AS\simpleDemo\src\main\AndroidManifest.xml:40:5-76 Warning:
Element uses-permission#android.permission.ACCESS_WIFI_STATE at AndroidManifest.xml:40:5-76 duplicated with element declared at AndroidManifest.xml:11:5-76
D:\ws-000\starguar\package\Android-SDK@3.4.7.81308_20220424\HBuilder-Integrate-AS\simpleDemo\src\main\AndroidManifest.xml:43:5-71 Warning:
Element uses-permission#android.permission.RECORD_AUDIO at AndroidManifest.xml:43:5-71 duplicated with element declared at AndroidManifest.xml:26:5-71
D:\ws-000\starguar\package\Android-SDK@3.4.7.81308_20220424\HBuilder-Integrate-AS\simpleDemo\src\main\AndroidManifest.xml:44:5-80 Warning:
Element uses-permission#android.permission.MODIFY_AUDIO_SETTINGS at AndroidManifest.xml:44:5-80 duplicated with element declared at AndroidManifest.xml:20:5-80
D:\ws-000\starguar\package\Android-SDK@3.4.7.81308_20220424\HBuilder-Integrate-AS\simpleDemo\src\main\AndroidManifest.xml:46:5-65 Warning:
Element uses-permission#android.permission.CAMERA at AndroidManifest.xml:46:5-65 duplicated with element declared at AndroidManifest.xml:16:5-65
D:\ws-000\starguar\package\Android-SDK@3.4.7.81308_20220424\HBuilder-Integrate-AS\simpleDemo\src\main\AndroidManifest.xml:47:5-75 Warning:
Element uses-permission#android.permission.READ_PHONE_STATE at AndroidManifest.xml:47:5-75 duplicated with element declared at AndroidManifest.xml:25:5-75
D:\ws-000\starguar\package\Android-SDK@3.4.7.81308_20220424\HBuilder-Integrate-AS\simpleDemo\src\main\AndroidManifest.xml:33:5-34:47 Warning:
uses-permission#android.permission.INSTALL_PACKAGES was tagged at AndroidManifest.xml:33 to remove other declarations but no other declaration present
D:\ws-000\starguar\package\Android-SDK@3.4.7.81308_20220424\HBuilder-Integrate-AS\simpleDemo\src\main\AndroidManifest.xml:35:5-36:53 Warning:
uses-permission#android.permission.QUERY_ALL_PACKAGES was tagged at AndroidManifest.xml:35 to remove other declarations but no other declaration present
D:\ws-000\starguar\package\Android-SDK@3.4.7.81308_20220424\HBuilder-Integrate-AS\simpleDemo\src\main\AndroidManifest.xml:37:5-102 Warning:
uses-permission#android.permission.REQUEST_INSTALL_PACKAGES was tagged at AndroidManifest.xml:37 to remove other declarations but no other declaration present
> Task :simpleDemo:processReleaseManifest
> Task :simpleDemo:mergeReleaseJniLibFolders UP-TO-DATE
> Task :simpleDemo:mergeReleaseNativeLibs UP-TO-DATE
> Task :simpleDemo:stripReleaseDebugSymbols UP-TO-DATE
> Task :simpleDemo:extractReleaseNativeSymbolTables UP-TO-DATE
> Task :simpleDemo:mergeReleaseNativeDebugMetadata NO-SOURCE
> Task :simpleDemo:mergeReleaseShaders UP-TO-DATE
> Task :simpleDemo:compileReleaseShaders NO-SOURCE
> Task :simpleDemo:generateReleaseAssets UP-TO-DATE
> Task :simpleDemo:mergeReleaseAssets UP-TO-DATE
> Task :simpleDemo:compressReleaseAssets UP-TO-DATE
> Task :simpleDemo:checkReleaseDuplicateClasses UP-TO-DATE
> Task :simpleDemo:desugarReleaseFileDependencies UP-TO-DATE
> Task :simpleDemo:mergeExtDexRelease UP-TO-DATE
> Task :simpleDemo:processReleaseJavaRes NO-SOURCE
> Task :simpleDemo:mergeReleaseJavaResource UP-TO-DATE
> Task :simpleDemo:collectReleaseDependencies UP-TO-DATE
> Task :simpleDemo:sdkReleaseDependencyData UP-TO-DATE
> Task :simpleDemo:validateSigningRelease FAILED
> Task :simpleDemo:writeReleaseAppMetadata UP-TO-DATE
> Task :simpleDemo:writeReleaseSigningConfigVersions UP-TO-DATE
> Task :simpleDemo:processReleaseManifestForPackage
> Task :simpleDemo:processReleaseResources
> Task :simpleDemo:compileReleaseJavaWithJavac
> Task :simpleDemo:compileReleaseSources
> Task :simpleDemo:lintVitalRelease FAILED
Execution optimizations have been disabled for task ':simpleDemo:lintVitalRelease' to ensure correctness due to the following reasons:
- In plugin 'com.android.internal.version-check' type 'com.android.build.gradle.tasks.LintPerVariantTask' property 'lintClassPath' cannot be resolved: Could not resolve all files for configuration ':simpleDemo:lintClassPath'. Reason: An input file collection couldn't be resolved, making it impossible to determine task inputs. Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#unresolvable_input for more details about this problem.
> Task :simpleDemo:dexBuilderRelease
> Task :simpleDemo:optimizeReleaseResources
> Task :simpleDemo:mergeDexRelease
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':simpleDemo:validateSigningRelease'.
> Keystore file 'D:\BaiduNetdiskDownload\3.4.7\Android-SDK@3.4.7.81308_20220424\HBuilder-Integrate-AS\simpleDemo\DiGiPay.keystore' not found for signing config 'externalOverride'.
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':simpleDemo:lintVitalRelease'.
> Could not resolve all files for configuration ':simpleDemo:lintClassPath'.
> Could not resolve org.codehaus.groovy:groovy-all:2.4.15.
Required by:
project :simpleDemo > com.android.tools.lint:lint-gradle:27.2.2
> Could not resolve org.codehaus.groovy:groovy-all:2.4.15.
> Could not get resource 'https://jcenter.bintray.com/org/codehaus/groovy/groovy-all/2.4.15/groovy-all-2.4.15.pom'.
> Could not GET 'https://jcenter.bintray.com/org/codehaus/groovy/groovy-all/2.4.15/groovy-all-2.4.15.pom'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.2/userguide/build_environment.html#gradle_system_properties
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
* 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.
BUILD FAILED in 44s
34 actionable tasks: 11 executed, 23 up-to-date
评论 (0)