運行/ gradle Android後,在我的Android手機上部署Gluon應用程序。我有這樣的錯誤:無法解析配置':androidRuntimeNoRetrolambdaCopy'的所有依賴關係。找不到com.android.support:multidex:1.0.1
org/controlsfx/control/spreadsheet/SpreadsheetColumn$$Lambda$1
Saving lambda class: org/controlsfx/control/textfield/TextFields$$Lambda$1
:mergeClassesIntoJar
FAILURE: Build failed with an exception.
* What went wrong:
Failed to capture snapshot of input files for task 'mergeClassesIntoJar' during up-to-date check.
> java.io.FileNotFoundException: /Users/yotti/Library/Android/sdk/extras/android/support/multidex/library/libs/android-support-multidex.jar (No such file or directory)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
更新後的JFXPlugin像在形象,我有這個錯誤發生在配置根項目
一個問題「SingleViewProject」。
Could not resolve all dependencies for configuration ':androidRuntimeNoRetrolambdaCopy'. Could not find com.android.support:multidex:1.0.1. Searched in the following locations: https://jcenter.bintray.com/com/android/support/multidex/1.0.1/multidex-1.0.1.pom https://jcenter.bintray.com/com/android/support/multidex/1.0.1/multidex-1.0.1.jar https://oss.sonatype.org/content/repositories/snapshots/com/android/support/multidex/1.0.1/multidex-1.0.1.pom https://oss.sonatype.org/content/repositories/snapshots/com/android/support/multidex/1.0.1/multidex-1.0.1.jar Required by: :SingleViewProject:unspecified
檢查您是否啓用了防病毒功能,並刪除導致問題的dex文件。 –
選中此問題(http://stackoverflow.com/questions/41133317/javafxports-android-gradle-task-requires-android-support-library-which-is-re)。可能你只需要將你的'jfxplugin'版本更新到1.3.1,然後清理,重新加載項目並重新構建。 –
@KrunalKapadiya。我使用Mac。我沒有Antivirus –