Android studio 编译问题

发布于 2022-09-06 15:21:48 字数 27591 浏览 10 评论 0

报错如下:

Executing tasks: [:app:assembleDebug]

Parallel execution with configuration on demand is an incubating feature.
freeline auto add runtime dependencies: 0.8.7
Incremental java compilation is an incubating feature.
extractDebugAnnotations is incompatible with java 8 sources and has been disabled.
extractReleaseAnnotations is incompatible with java 8 sources and has been disabled.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
find variant debug start hack process...
variant release is not debug, skip hack process.
:Pushlib:preBuild UP-TO-DATE
:PagerIndicator:preBuild UP-TO-DATE
:pulltorefresh:preBuild UP-TO-DATE
:DljLibrary:preBuild UP-TO-DATE
:DljLibrary:preReleaseBuild UP-TO-DATE
:pulltorefresh:preReleaseBuild UP-TO-DATE
:Pushlib:preReleaseBuild UP-TO-DATE
:Pushlib:checkReleaseManifest
:pulltorefresh:checkReleaseManifest
:DljLibrary:checkReleaseManifest
:PagerIndicator:preReleaseBuild UP-TO-DATE
:PagerIndicator:checkReleaseManifest
:pulltorefresh:prepareReleaseDependencies
:PagerIndicator:preDebugAndroidTestBuild UP-TO-DATE
:DljLibrary:preDebugAndroidTestBuild UP-TO-DATE
:DljLibrary:preDebugBuild UP-TO-DATE
:DljLibrary:preDebugUnitTestBuild UP-TO-DATE
:DljLibrary:preReleaseUnitTestBuild UP-TO-DATE
:DljLibrary:compileReleaseNdk UP-TO-DATE
:pulltorefresh:compileReleaseAidl
:PagerIndicator:preDebugBuild UP-TO-DATE
:DljLibrary:compileLint
:Pushlib:prepareReleaseDependencies
:PagerIndicator:preDebugUnitTestBuild UP-TO-DATE
:PagerIndicator:preReleaseUnitTestBuild UP-TO-DATE
:PagerIndicator:prepareComAndroidSupportAppcompatV72221Library
:Pushlib:compileReleaseAidl UP-TO-DATE
:DljLibrary:compileLint UP-TO-DATE
:pulltorefresh:compileReleaseAidl UP-TO-DATE
:DljLibrary:copyReleaseLint UP-TO-DATE
:pulltorefresh:compileReleaseNdk UP-TO-DATE
:pulltorefresh:compileLint
:DljLibrary:generateReleaseResValues
:pulltorefresh:compileLint UP-TO-DATE
:pulltorefresh:copyReleaseLint UP-TO-DATE
:DljLibrary:generateReleaseResValues UP-TO-DATE
:pulltorefresh:mergeReleaseShaders
:DljLibrary:generateReleaseBuildConfig
:pulltorefresh:mergeReleaseShaders UP-TO-DATE
:pulltorefresh:compileReleaseShaders
:Pushlib:compileReleaseNdk UP-TO-DATE
:Pushlib:compileLint
:DljLibrary:generateReleaseBuildConfig UP-TO-DATE
:DljLibrary:incrementalReleaseJavaCompilationSafeguard
:Pushlib:compileLint UP-TO-DATE
:Pushlib:copyReleaseLint UP-TO-DATE
:Pushlib:mergeReleaseShaders UP-TO-DATE
:Pushlib:compileReleaseShaders UP-TO-DATE
:pulltorefresh:compileReleaseShaders UP-TO-DATE
:Pushlib:generateReleaseAssets UP-TO-DATE
:pulltorefresh:generateReleaseAssets UP-TO-DATE
:pulltorefresh:mergeReleaseAssets UP-TO-DATE
:pulltorefresh:mergeReleaseProguardFiles UP-TO-DATE
:pulltorefresh:packageReleaseRenderscript UP-TO-DATE
:pulltorefresh:compileReleaseRenderscript
:Pushlib:mergeReleaseAssets UP-TO-DATE
:Pushlib:mergeReleaseProguardFiles UP-TO-DATE
:Pushlib:packageReleaseRenderscript UP-TO-DATE
:Pushlib:compileReleaseRenderscript
:pulltorefresh:compileReleaseRenderscript UP-TO-DATE
:pulltorefresh:generateReleaseResValues
:PagerIndicator:prepareComAndroidSupportAppcompatV72221Library UP-TO-DATE
:pulltorefresh:generateReleaseResValues UP-TO-DATE
:PagerIndicator:prepareComAndroidSupportDesign2221Library
:pulltorefresh:generateReleaseResources UP-TO-DATE
:pulltorefresh:packageReleaseResources
:DljLibrary:mergeReleaseShaders UP-TO-DATE
:DljLibrary:compileReleaseShaders UP-TO-DATE
:DljLibrary:generateReleaseAssets UP-TO-DATE
:Pushlib:compileReleaseRenderscript UP-TO-DATE
:Pushlib:generateReleaseResValues UP-TO-DATE
:Pushlib:generateReleaseResources UP-TO-DATE
:DljLibrary:mergeReleaseProguardFiles
:Pushlib:packageReleaseResources
:PagerIndicator:prepareComAndroidSupportDesign2221Library UP-TO-DATE
:PagerIndicator:prepareComAndroidSupportSupportV42221Library
:DljLibrary:mergeReleaseProguardFiles UP-TO-DATE
:DljLibrary:packageReleaseRenderscript UP-TO-DATE
:DljLibrary:processReleaseJavaRes UP-TO-DATE
:DljLibrary:transformResourcesWithMergeJavaResForRelease
:PagerIndicator:prepareComAndroidSupportSupportV42221Library UP-TO-DATE
:PagerIndicator:prepareReleaseDependencies
:Pushlib:packageReleaseResources UP-TO-DATE
:PagerIndicator:compileReleaseAidl
:Pushlib:processReleaseManifest
:DljLibrary:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:circle_demo:preBuild UP-TO-DATE
:circle_demo:preReleaseBuild UP-TO-DATE
:circle_demo:checkReleaseManifest
:circle_demo:preDebugAndroidTestBuild UP-TO-DATE
:circle_demo:preDebugBuild UP-TO-DATE
:circle_demo:preDebugUnitTestBuild UP-TO-DATE
:Pushlib:processReleaseManifest UP-TO-DATE
:PagerIndicator:compileReleaseAidl UP-TO-DATE
:Pushlib:generateReleaseBuildConfig
:PagerIndicator:compileReleaseNdk UP-TO-DATE
:Pushlib:generateReleaseBuildConfig UP-TO-DATE
:PagerIndicator:compileLint
:Pushlib:processReleaseResources
:PagerIndicator:compileLint UP-TO-DATE
:PagerIndicator:copyReleaseLint UP-TO-DATE
:PagerIndicator:compileReleaseRenderscript
:circle_demo:preReleaseUnitTestBuild UP-TO-DATE
:circle_demo:prepareComAndroidSupportAnimatedVectorDrawable2421Library
:PagerIndicator:compileReleaseRenderscript UP-TO-DATE
:PagerIndicator:generateReleaseBuildConfig
:Pushlib:processReleaseResources UP-TO-DATE
:circle_demo:prepareComAndroidSupportAnimatedVectorDrawable2421Library UP-TO-DATE
:Pushlib:generateReleaseSources UP-TO-DATE
:Pushlib:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:Pushlib:compileReleaseJavaWithJavac UP-TO-DATE
:Pushlib:processReleaseJavaRes UP-TO-DATE
:pulltorefresh:packageReleaseResources UP-TO-DATE
:PagerIndicator:generateReleaseBuildConfig UP-TO-DATE
:pulltorefresh:processReleaseManifest
:circle_demo:prepareComAndroidSupportAppcompatV72421Library
:PagerIndicator:generateReleaseResValues
:Pushlib:transformResourcesWithMergeJavaResForRelease
:PagerIndicator:generateReleaseResValues UP-TO-DATE
:PagerIndicator:generateReleaseResources UP-TO-DATE
:PagerIndicator:mergeReleaseResources
:Pushlib:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:Pushlib:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:Pushlib:mergeReleaseJniLibFolders UP-TO-DATE
:Pushlib:transformNative_libsWithMergeJniLibsForRelease
:pulltorefresh:processReleaseManifest UP-TO-DATE
:pulltorefresh:generateReleaseBuildConfig UP-TO-DATE
:pulltorefresh:processReleaseResources
:circle_demo:prepareComAndroidSupportAppcompatV72421Library UP-TO-DATE
:Pushlib:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:pulltorefresh:processReleaseResources UP-TO-DATE
:circle_demo:prepareComAndroidSupportMultidex101Library
:Pushlib:transformNative_libsWithSyncJniLibsForRelease
:pulltorefresh:generateReleaseSources UP-TO-DATE
:Pushlib:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:pulltorefresh:incrementalReleaseJavaCompilationSafeguard
:Pushlib:bundleRelease
:circle_demo:prepareComAndroidSupportMultidex101Library UP-TO-DATE
:circle_demo:prepareComAndroidSupportRecyclerviewV72330Library
:pulltorefresh:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:pulltorefresh:compileReleaseJavaWithJavac
:circle_demo:prepareComAndroidSupportRecyclerviewV72330Library UP-TO-DATE
:circle_demo:prepareComAndroidSupportSupportCompat2421Library UP-TO-DATE
:circle_demo:prepareComAndroidSupportSupportCoreUi2421Library
:Pushlib:bundleRelease UP-TO-DATE
:imageselector:preBuild UP-TO-DATE
:imageselector:preReleaseBuild UP-TO-DATE
:imageselector:checkReleaseManifest
:imageselector:preDebugAndroidTestBuild UP-TO-DATE
:imageselector:preDebugBuild UP-TO-DATE
:imageselector:preDebugUnitTestBuild UP-TO-DATE
:imageselector:preReleaseUnitTestBuild UP-TO-DATE
:imageselector:prepareComAndroidSupportAppcompatV72221Library
:circle_demo:prepareComAndroidSupportSupportCoreUi2421Library UP-TO-DATE
:circle_demo:prepareComAndroidSupportSupportCoreUtils2421Library UP-TO-DATE
:circle_demo:prepareComAndroidSupportSupportFragment2421Library UP-TO-DATE
:circle_demo:prepareComAndroidSupportSupportMediaCompat2421Library UP-TO-DATE
:circle_demo:prepareComAndroidSupportSupportV42421Library
:pulltorefresh:compileReleaseJavaWithJavac UP-TO-DATE
:pulltorefresh:processReleaseJavaRes
:circle_demo:prepareComAndroidSupportSupportV42421Library UP-TO-DATE
:pulltorefresh:processReleaseJavaRes UP-TO-DATE
:circle_demo:prepareComAndroidSupportSupportVectorDrawable2421Library
:pulltorefresh:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:pulltorefresh:transformClassesAndResourcesWithSyncLibJarsForRelease
:circle_demo:prepareComAndroidSupportSupportVectorDrawable2421Library UP-TO-DATE
:circle_demo:prepareComGithubChrisbanesPhotoView130Library
:imageselector:prepareComAndroidSupportAppcompatV72221Library UP-TO-DATE
:pulltorefresh:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:imageselector:prepareComAndroidSupportSupportV42221Library
:pulltorefresh:mergeReleaseJniLibFolders
:circle_demo:prepareComGithubChrisbanesPhotoView130Library UP-TO-DATE
:circle_demo:prepareComMalinskiySuperrecyclerview114Library
:pulltorefresh:mergeReleaseJniLibFolders UP-TO-DATE
:imageselector:prepareComAndroidSupportSupportV42221Library UP-TO-DATE
:pulltorefresh:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:pulltorefresh:transformNative_libsWithSyncJniLibsForRelease
:imageselector:prepareReleaseDependencies
:circle_demo:prepareComMalinskiySuperrecyclerview114Library UP-TO-DATE
:imageselector:compileReleaseAidl
:pulltorefresh:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:pulltorefresh:bundleRelease
:circle_demo:prepareComMikhaellopezCircularprogressbar111Library
:pulltorefresh:bundleRelease UP-TO-DATE
:imageselector:compileReleaseAidl UP-TO-DATE
:DljLibrary:prepareComAndroidDatabindingAdapters121Library
:PagerIndicator:mergeReleaseResources UP-TO-DATE
:circle_demo:prepareComMikhaellopezCircularprogressbar111Library UP-TO-DATE
:DljLibrary:prepareComAndroidDatabindingAdapters121Library UP-TO-DATE
:PagerIndicator:processReleaseManifest
:circle_demo:preparePubDevrelEasypermissions021Library
:DljLibrary:prepareComAndroidDatabindingLibrary121Library
:imageselector:compileReleaseNdk UP-TO-DATE
:imageselector:compileLint
:circle_demo:preparePubDevrelEasypermissions021Library UP-TO-DATE
:imageselector:compileLint UP-TO-DATE
:circle_demo:prepareReleaseDependencies
:circle_demo:compileReleaseAidl
:DljLibrary:prepareComAndroidDatabindingLibrary121Library UP-TO-DATE
:DljLibrary:prepareComAndroidSupportAnimatedVectorDrawable2321Library UP-TO-DATE
:DljLibrary:prepareComAndroidSupportAppcompatV72321Library
:imageselector:copyReleaseLint UP-TO-DATE
:imageselector:compileReleaseRenderscript UP-TO-DATE
:imageselector:generateReleaseBuildConfig UP-TO-DATE
:imageselector:generateReleaseResValues
:circle_demo:compileReleaseAidl UP-TO-DATE
:circle_demo:compileReleaseNdk
:PagerIndicator:processReleaseManifest UP-TO-DATE
:PagerIndicator:processReleaseResources
:circle_demo:compileReleaseNdk UP-TO-DATE
:circle_demo:compileLint UP-TO-DATE
:circle_demo:copyReleaseLint UP-TO-DATE
:circle_demo:compileReleaseRenderscript UP-TO-DATE
:circle_demo:generateReleaseBuildConfig
:imageselector:generateReleaseResValues UP-TO-DATE
:imageselector:generateReleaseResources UP-TO-DATE
:circle_demo:generateReleaseBuildConfig UP-TO-DATE
:imageselector:mergeReleaseResources
:circle_demo:generateReleaseResValues UP-TO-DATE
:circle_demo:generateReleaseResources UP-TO-DATE
:circle_demo:mergeReleaseResources
:DljLibrary:prepareComAndroidSupportAppcompatV72321Library UP-TO-DATE
:DljLibrary:prepareComAndroidSupportRecyclerviewV72300Library
:PagerIndicator:processReleaseResources UP-TO-DATE
:PagerIndicator:generateReleaseSources UP-TO-DATE
:PagerIndicator:incrementalReleaseJavaCompilationSafeguard
:DljLibrary:prepareComAndroidSupportRecyclerviewV72300Library UP-TO-DATE
:DljLibrary:prepareComAndroidSupportSupportV42321Library
:PagerIndicator:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:PagerIndicator:compileReleaseJavaWithJavac
:DljLibrary:prepareComAndroidSupportSupportV42321Library UP-TO-DATE
:DljLibrary:prepareComAndroidSupportSupportVectorDrawable2321Library UP-TO-DATE
:DljLibrary:prepareComJakewhartonRxbindingRxbinding040Library UP-TO-DATE
:DljLibrary:prepareComTamicBrowse100Library UP-TO-DATE
:DljLibrary:prepareComTrelloRxlifecycle040Library UP-TO-DATE
:DljLibrary:prepareComTrelloRxlifecycleComponents040Library UP-TO-DATE
:DljLibrary:prepareIoReactivexRxandroid120Library
:PagerIndicator:compileReleaseJavaWithJavac UP-TO-DATE
:PagerIndicator:extractReleaseAnnotations UP-TO-DATE
:PagerIndicator:mergeReleaseShaders UP-TO-DATE
:PagerIndicator:compileReleaseShaders
:DljLibrary:prepareIoReactivexRxandroid120Library UP-TO-DATE
:DljLibrary:prepareMyApplicationPulltorefreshUnspecifiedLibrary
:PagerIndicator:compileReleaseShaders UP-TO-DATE
:PagerIndicator:generateReleaseAssets UP-TO-DATE
:PagerIndicator:mergeReleaseAssets UP-TO-DATE
:PagerIndicator:mergeReleaseProguardFiles UP-TO-DATE
:PagerIndicator:packageReleaseRenderscript
:DljLibrary:prepareMyApplicationPulltorefreshUnspecifiedLibrary UP-TO-DATE
:DljLibrary:prepareReleaseDependencies
:DljLibrary:compileReleaseAidl
:PagerIndicator:packageReleaseRenderscript UP-TO-DATE
:PagerIndicator:packageReleaseResources
:imageselector:mergeReleaseResources UP-TO-DATE
:imageselector:processReleaseManifest UP-TO-DATE
:imageselector:processReleaseResources
:DljLibrary:compileReleaseAidl UP-TO-DATE
:DljLibrary:compileReleaseRenderscript
:PagerIndicator:packageReleaseResources UP-TO-DATE
:PagerIndicator:processReleaseJavaRes UP-TO-DATE
:PagerIndicator:transformResourcesWithMergeJavaResForRelease
:DljLibrary:compileReleaseRenderscript UP-TO-DATE
:DljLibrary:generateReleaseResources UP-TO-DATE
:PagerIndicator:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:DljLibrary:mergeReleaseResources
:PagerIndicator:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:PagerIndicator:mergeReleaseJniLibFolders
:imageselector:processReleaseResources UP-TO-DATE
:imageselector:generateReleaseSources UP-TO-DATE
:PagerIndicator:mergeReleaseJniLibFolders UP-TO-DATE
:PagerIndicator:transformNative_libsWithMergeJniLibsForRelease
:imageselector:incrementalReleaseJavaCompilationSafeguard
:PagerIndicator:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:PagerIndicator:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:PagerIndicator:bundleRelease
:imageselector:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:imageselector:compileReleaseJavaWithJavac
:PagerIndicator:bundleRelease UP-TO-DATE
:mediaplayer:preBuild UP-TO-DATE
:mediaplayer:preReleaseBuild UP-TO-DATE
:mediaplayer:checkReleaseManifest
:mediaplayer:preDebugAndroidTestBuild UP-TO-DATE
:mediaplayer:preDebugBuild UP-TO-DATE
:mediaplayer:preDebugUnitTestBuild UP-TO-DATE
:mediaplayer:preReleaseUnitTestBuild UP-TO-DATE
:mediaplayer:prepareComAndkulikovTransitionseverywhere170Library
:circle_demo:mergeReleaseResources UP-TO-DATE
:circle_demo:processReleaseManifest UP-TO-DATE
:circle_demo:processReleaseResources
:mediaplayer:prepareComAndkulikovTransitionseverywhere170Library UP-TO-DATE
:mediaplayer:prepareComAndroidSupportAppcompatV72221Library
:imageselector:compileReleaseJavaWithJavac UP-TO-DATE
:imageselector:extractReleaseAnnotations UP-TO-DATE
:imageselector:mergeReleaseShaders UP-TO-DATE
:imageselector:compileReleaseShaders UP-TO-DATE
:imageselector:generateReleaseAssets UP-TO-DATE
:imageselector:mergeReleaseAssets UP-TO-DATE
:imageselector:mergeReleaseProguardFiles UP-TO-DATE
:imageselector:packageReleaseRenderscript UP-TO-DATE
:imageselector:packageReleaseResources
:mediaplayer:prepareComAndroidSupportAppcompatV72221Library UP-TO-DATE
:mediaplayer:prepareComAndroidSupportSupportV42221Library UP-TO-DATE
:mediaplayer:prepareComDanikulaVideocache270Library
:imageselector:packageReleaseResources UP-TO-DATE
:imageselector:processReleaseJavaRes UP-TO-DATE
:mediaplayer:prepareComDanikulaVideocache270Library UP-TO-DATE
:imageselector:transformResourcesWithMergeJavaResForRelease
:mediaplayer:prepareComGithubCarGuoGSYVideoPlayerGsyVideoPlayerArm64V204Library
:imageselector:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:imageselector:transformClassesAndResourcesWithSyncLibJarsForRelease
:DljLibrary:mergeReleaseResources UP-TO-DATE
:DljLibrary:dataBindingProcessLayoutsRelease
:imageselector:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:imageselector:mergeReleaseJniLibFolders UP-TO-DATE
:imageselector:transformNative_libsWithMergeJniLibsForRelease
:circle_demo:processReleaseResources UP-TO-DATE
:circle_demo:generateReleaseSources UP-TO-DATE
:circle_demo:incrementalReleaseJavaCompilationSafeguard
:mediaplayer:prepareComGithubCarGuoGSYVideoPlayerGsyVideoPlayerArm64V204Library UP-TO-DATE
:mediaplayer:prepareComGithubCarGuoGSYVideoPlayerGsyVideoPlayerArmv5V204Library UP-TO-DATE
:circle_demo:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:mediaplayer:prepareComGithubCarGuoGSYVideoPlayerGsyVideoPlayerArmv7aV204Library
:imageselector:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:circle_demo:compileReleaseJavaWithJavac
:imageselector:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:imageselector:bundleRelease UP-TO-DATE
:umengShare:preBuild UP-TO-DATE
:umengShare:preReleaseBuild UP-TO-DATE
:umengShare:checkReleaseManifest
:umengShare:preDebugAndroidTestBuild UP-TO-DATE
:umengShare:preDebugBuild UP-TO-DATE
:umengShare:preDebugUnitTestBuild UP-TO-DATE
:umengShare:preReleaseUnitTestBuild UP-TO-DATE
:umengShare:prepareComAndroidSupportAnimatedVectorDrawable2340Library UP-TO-DATE
:umengShare:prepareComAndroidSupportAppcompatV72340Library
:mediaplayer:prepareComGithubCarGuoGSYVideoPlayerGsyVideoPlayerArmv7aV204Library UP-TO-DATE
:mediaplayer:prepareComGithubCarGuoGSYVideoPlayerGsyVideoPlayerX64V204Library UP-TO-DATE
:mediaplayer:prepareComGoogleAndroidExoplayerExoplayerR1511Library UP-TO-DATE
:mediaplayer:prepareComShuyuGsyVideoPlayerJava204Library UP-TO-DATE
:mediaplayer:prepareTvDanmakuIjkMediaIjkplayerExo082Library
:DljLibrary:dataBindingProcessLayoutsRelease UP-TO-DATE
:mediaplayer:prepareTvDanmakuIjkMediaIjkplayerExo082Library UP-TO-DATE
:DljLibrary:processReleaseManifest
:mediaplayer:prepareTvDanmakuIjkMediaIjkplayerJava082Library
:umengShare:prepareComAndroidSupportAppcompatV72340Library UP-TO-DATE
:circle_demo:compileReleaseJavaWithJavac UP-TO-DATE
:circle_demo:extractReleaseAnnotations
:mediaplayer:prepareTvDanmakuIjkMediaIjkplayerJava082Library UP-TO-DATE
:mediaplayer:prepareReleaseDependencies
:mediaplayer:compileReleaseAidl
:DljLibrary:processReleaseManifest UP-TO-DATE
:DljLibrary:processReleaseResources
:mediaplayer:compileReleaseAidl UP-TO-DATE
:umengShare:prepareComAndroidSupportSupportV42340Library
:mediaplayer:compileReleaseNdk UP-TO-DATE
:mediaplayer:compileLint UP-TO-DATE
:mediaplayer:copyReleaseLint UP-TO-DATE
:mediaplayer:compileReleaseRenderscript
:umengShare:prepareComAndroidSupportSupportV42340Library UP-TO-DATE
:umengShare:prepareComAndroidSupportSupportVectorDrawable2340Library
:mediaplayer:compileReleaseRenderscript UP-TO-DATE
:umengShare:prepareComAndroidSupportSupportVectorDrawable2340Library UP-TO-DATE
:umengShare:prepareReleaseDependencies
:mediaplayer:generateReleaseBuildConfig UP-TO-DATE
:umengShare:compileReleaseAidl
:mediaplayer:generateReleaseResValues UP-TO-DATE
:mediaplayer:generateReleaseResources UP-TO-DATE
:mediaplayer:mergeReleaseResources
:umengShare:compileReleaseAidl UP-TO-DATE
:umengShare:compileReleaseNdk UP-TO-DATE
:umengShare:compileLint UP-TO-DATE
:umengShare:copyReleaseLint UP-TO-DATE
:umengShare:compileReleaseRenderscript UP-TO-DATE
:umengShare:generateReleaseBuildConfig
:DljLibrary:processReleaseResources UP-TO-DATE
:DljLibrary:generateReleaseSources UP-TO-DATE
:DljLibrary:dataBindingExportBuildInfoRelease
:circle_demo:extractReleaseAnnotations UP-TO-DATE
:circle_demo:mergeReleaseShaders
:umengShare:generateReleaseBuildConfig UP-TO-DATE
:circle_demo:mergeReleaseShaders UP-TO-DATE
:umengShare:generateReleaseResValues UP-TO-DATE
:umengShare:generateReleaseResources UP-TO-DATE
:umengShare:mergeReleaseResources
:circle_demo:compileReleaseShaders UP-TO-DATE
:circle_demo:generateReleaseAssets UP-TO-DATE
:circle_demo:mergeReleaseAssets UP-TO-DATE
:circle_demo:mergeReleaseProguardFiles UP-TO-DATE
:circle_demo:packageReleaseRenderscript UP-TO-DATE
:circle_demo:packageReleaseResources UP-TO-DATE
:circle_demo:processReleaseJavaRes UP-TO-DATE
:circle_demo:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:circle_demo:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:circle_demo:mergeReleaseJniLibFolders UP-TO-DATE
:circle_demo:transformNative_libsWithMergeJniLibsForRelease
:mediaplayer:mergeReleaseResources UP-TO-DATE
:circle_demo:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:mediaplayer:processReleaseManifest
:circle_demo:transformNative_libsWithSyncJniLibsForRelease
:umengShare:mergeReleaseResources UP-TO-DATE
:umengShare:processReleaseManifest
:mediaplayer:processReleaseManifest UP-TO-DATE
:mediaplayer:processReleaseResources
:DljLibrary:compileReleaseJavaWithJavac
:circle_demo:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:circle_demo:bundleRelease UP-TO-DATE
:app:preDebugAndroidTestBuild UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:umengShare:processReleaseManifest UP-TO-DATE
:app:greendaoPrepare
:mediaplayer:processReleaseResources UP-TO-DATE
:umengShare:processReleaseResources
:mediaplayer:generateReleaseSources UP-TO-DATE
:mediaplayer:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:mediaplayer:compileReleaseJavaWithJavac
:app:greendaoPrepare UP-TO-DATE
:app:greendao
:mediaplayer:compileReleaseJavaWithJavac UP-TO-DATE
:umengShare:processReleaseResources UP-TO-DATE
:mediaplayer:extractReleaseAnnotations
:umengShare:generateReleaseSources UP-TO-DATE
:umengShare:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:umengShare:compileReleaseJavaWithJavac
:mediaplayer:extractReleaseAnnotations UP-TO-DATE
:mediaplayer:mergeReleaseShaders UP-TO-DATE
:mediaplayer:compileReleaseShaders UP-TO-DATE
:mediaplayer:generateReleaseAssets UP-TO-DATE
:mediaplayer:mergeReleaseAssets UP-TO-DATE
:mediaplayer:mergeReleaseProguardFiles UP-TO-DATE
:mediaplayer:packageReleaseRenderscript UP-TO-DATE
:mediaplayer:packageReleaseResources UP-TO-DATE
:mediaplayer:processReleaseJavaRes UP-TO-DATE
:mediaplayer:transformResourcesWithMergeJavaResForRelease
:umengShare:compileReleaseJavaWithJavac UP-TO-DATE
:umengShare:extractReleaseAnnotations
:mediaplayer:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:mediaplayer:transformClassesAndResourcesWithSyncLibJarsForRelease
:umengShare:extractReleaseAnnotations UP-TO-DATE
:mediaplayer:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:mediaplayer:mergeReleaseJniLibFolders
:umengShare:mergeReleaseShaders
:mediaplayer:mergeReleaseJniLibFolders UP-TO-DATE
:umengShare:mergeReleaseShaders UP-TO-DATE
:mediaplayer:transformNative_libsWithMergeJniLibsForRelease
:umengShare:compileReleaseShaders
:mediaplayer:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:mediaplayer:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:umengShare:compileReleaseShaders UP-TO-DATE
:mediaplayer:bundleRelease
:umengShare:generateReleaseAssets UP-TO-DATE
:umengShare:mergeReleaseAssets UP-TO-DATE
:umengShare:mergeReleaseProguardFiles UP-TO-DATE
:umengShare:packageReleaseRenderscript UP-TO-DATE
:umengShare:packageReleaseResources
:mediaplayer:bundleRelease UP-TO-DATE
:umengShare:packageReleaseResources UP-TO-DATE
:umengShare:processReleaseJavaRes UP-TO-DATE
:umengShare:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:umengShare:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:umengShare:mergeReleaseJniLibFolders UP-TO-DATE
:umengShare:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:umengShare:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:umengShare:bundleRelease UP-TO-DATE
:app:greendao UP-TO-DATE
:app:incrementalDebugJavaCompilationSafeguard UP-TO-DATE
:app:compileDebugNdk UP-TO-DATE
:app:mergeDebugShaders UP-TO-DATE
:app:compileDebugShaders UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:processDebugJavaRes UP-TO-DATE
:app:validateSigningDebug

编译器 (1.8.0_161) 中出现异常错误。如果在 Bug Database (http://bugs.java.com) 中没有找到该错误, 请通过 Java Bug 报告页 (http://bugreport.java.com) 建立该 Java 编译器 Bug。请在报告中附上您的程序和以下诊断信息。谢谢。
com.sun.tools.javac.code.Symbol$CompletionFailure: 找不到java.lang.invoke.MethodType的类文件

:DljLibrary:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':DljLibrary:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 26.352 secs

主要是如下

* What went wrong:
Execution failed for task ':DljLibrary:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

包结构如下:

clipboard.png

报错的包 DIjLibray 的 bulid.gradle 如下:

apply plugin: 'com.android.library'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.3"

    defaultConfig {
        minSdkVersion 19
        targetSdkVersion 22
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    dataBinding {
        enabled = true
    }
    lintOptions {
        abortOnError false
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    testCompile 'junit:junit:4.11'
    compile project(':pulltorefresh')
    provided 'com.google.code.gson:gson:2.6.2'
    provided 'com.squareup.okhttp3:okhttp:3.2.0'
    compile 'com.android.support:support-v4:23.0.0'
    compile 'com.android.support:appcompat-v7:23.0.0'
    provided 'com.android.support:recyclerview-v7:23.0.0'
    compile 'io.reactivex:rxandroid:1.2.0'
    compile 'io.reactivex:rxjava:1.1.4'
    //    compile 'com.f2prateek.rx.preferences:rx-preferences:1.0.1'
    compile 'com.jakewharton.rxbinding:rxbinding:0.4.0'
    compile 'com.trello:rxlifecycle:0.4.0'
    compile 'com.trello:rxlifecycle-components:0.4.0'
    compile 'com.google.guava:guava:19.0'
    compile 'com.tamic:browse:1.0.0'
    compile group: 'org.jsoup', name: 'jsoup', version: '1.7.2'
}

//================lambda
buildscript {
    repositories {
        mavenCentral()
    }

    dependencies {
        classpath 'me.tatarka:gradle-retrolambda:3.3.0'
    }
}
// Required because retrolambda is on maven central
repositories {
    mavenCentral()
}

apply plugin: 'me.tatarka.retrolambda'
retrolambda {
    jdk "/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home"
    oldJdk "/Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home"
    javaVersion JavaVersion.VERSION_1_7
    defaultMethods false
    incremental true
}

有人遇到过吗?网上查了这个错误,但是大家的错误原因都不一样。

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文