我有工作罐。 programm,但是当我使用ProGuard时,我有下一个警告
Reading library jar [C:\Program Files\Java\jre1.8.0_77\lib\rt.jar]
Warning: Browser: can't find superclass or interface javafx.scene.layout.Region
Warning: Browser$1: can't find superclass or interface javafx.beans.value.ChangeListener
Warning: Browser$1$1: can't find superclass or interface javafx.beans.value.ChangeListener
Warning: Browser: can't find referenced class javafx.scene.layout.Region
Warning: Browser: can't find referenced class javafx.scene.layout.Region
Warning: Browser: can't find referenced class javafx.scene.web.WebView
Warning: Browser: can't find referenced class javafx.scene.web.WebView
Warning: Browser: can't find referenced class javafx.scene.web.WebView
Warning: Browser: can't find referenced class javafx.scene.web.WebEngine
Warning: Browser: can't find referenced class javafx.scene.web.WebEngine
Warning: Browser: can't find referenced class javafx.scene.web.WebEngine
Warning: Browser: can't find referenced class javafx.beans.property.ReadOnlyStringProperty
Warning: Browser: can't find referenced class javafx.beans.property.ReadOnlyStringProperty
Warning: Browser: can't find referenced method 'javafx.collections.ObservableList getChildren()' in program class Browser
Warning: Browser: can't find referenced class javafx.collections.ObservableList
Warning: Browser: can't find referenced class javafx.collections.ObservableList
Warning: Browser: can't find referenced method 'double getWidth()' in program class Browser
Warning: Browser: can't find referenced method 'double getHeight()' in program class Browser
Warning: Browser: can't find referenced class javafx.geometry.HPos
Warning: Browser: can't find referenced class javafx.geometry.HPos
Warning: Browser: can't find referenced class javafx.geometry.VPos
Warning: Browser: can't find referenced class javafx.geometry.VPos
和其他,64警告按摩,我的程序有一些问题。我如何在Pro Guard处理一些课程?我应该专门按或写什么?
答案 0 :(得分:4)
你需要在proguard文件中使用这一行来包含javafx runtime:
-libraryjars <java.home>/lib/ext/jfxrt.jar