ImangazalievM
@ImangazalievM
Android-программист

Ошибка при сборке библиотеки с использованием Retrolamda Java 8?

Я пытаюсь загрузить библиотеку в Bintray. При сборке выдает такую ошибку. Вот логи:

Incremental java compilation is an incubating feature.                           
:clean                                                                               
:app:clean                
:lib:clean                
:app:preBuild UP-TO-DATE     
:app:preDebugBuild UP-TO-DATE     
:app:checkDebugManifest                
:app:preReleaseBuild UP-TO-DATE     
:lib:preBuild UP-TO-DATE     
:lib:preReleaseBuild UP-TO-DATE     
:lib:compileReleaseNdk UP-TO-DATE     
:lib:compileLint                
:lib:copyReleaseLint UP-TO-DATE     
:lib:mergeReleaseProguardFiles UP-TO-DATE     
:lib:packageReleaseRenderscript UP-TO-DATE     
:lib:checkReleaseManifest                
:lib:prepareReleaseDependencies                
:lib:compileReleaseRenderscript                
:lib:generateReleaseResValues UP-TO-DATE      
:lib:generateReleaseResources                 
:lib:packageReleaseResources                 
:lib:compileReleaseAidl                 
:lib:generateReleaseBuildConfig                 
:lib:generateReleaseAssets UP-TO-DATE      
:lib:mergeReleaseAssets                 
:lib:processReleaseManifest                 
:lib:processReleaseResources                 
:lib:generateReleaseSources                 
:lib:compileReleaseJavaWithJavac                 
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:lib:processReleaseJavaRes UP-TO-DATE            
:lib:transformResourcesWithMergeJavaResForRelease                 
:lib:transformClassesAndResourcesWithSyncLibJarsForRelease                 
:lib:mergeReleaseJniLibFolders                 
:lib:transformNative_libsWithMergeJniLibsForRelease                 
:lib:transformNative_libsWithSyncJniLibsForRelease                 
:lib:bundleRelease                 
:app:prepareComAndroidSupportAnimatedVectorDrawable2340Library                 
:app:prepareComAndroidSupportAppcompatV72340Library                 
:app:prepareComAndroidSupportSupportV42340Library                 
:app:prepareComAndroidSupportSupportVectorDrawable2340Library                 
:app:prepareScriptoLibUnspecifiedLibrary                 
:app:prepareDebugDependencies                 
:app:compileDebugAidl                 
:app:compileDebugRenderscript                 
:app:generateDebugBuildConfig                 
:app:generateDebugAssets UP-TO-DATE      
:app:mergeDebugAssets                 
:app:generateDebugResValues UP-TO-DATE      
:app:generateDebugResources                 
:app:mergeDebugResources                 
:app:processDebugManifest                 
:app:processDebugResources                 
:app:generateDebugSources                 
:app:compileDebugJavaWithJavac                 
An exception has occurred in the compiler (1.8.0_101). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) fo
r duplicates. Include your program and the following diagnostic in your report. Thank you.
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for java.lang.invoke.MethodType not found
:app:compileDebugJavaWithJavac FAILED          
:app:compileRetrolambdaDebug                                                                   

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> 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: 1 mins 4.885 secs


И вот еще:

Jack is required to support java 8 language features.


Ошибка почему-то связана с Retrolambda, хотя я не использую ее в проекте. Retrolamda используется в отдельном модуле с примером использования библиотеки.
  • Вопрос задан
  • 734 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы