2017-01-01 72 views
0

我使用Eclipse爲b4a包裝了一個源github。當我爲basic4android包裝的編譯庫時顯示錯誤

我加core.jar添加,但是當我編譯項目在B4A它顯示了這個錯誤:

trouble processing "java/com/lsjwzh/widget/materialloadingprogressbar/CircleProgressBar$OvalShadow.class": Ill-advised or mistaken usage of a core class (java.* or javax.*) when not building a core library.

This is often due to inadvertently including a core library file in your application's project, when using an IDE (such as Eclipse). If you are sure you're not intentionally defining a core class, then this is the most likely explanation of what's going on.

However, you might actually be trying to define a class in a core namespace, the source of which you may have taken, for example, from a non-Android virtual machine project. This will most assuredly not work. At a minimum, it jeopradizes the compatibility of your app with future versions of the platform.

show image error

我從

java.com.lsjwzh.widget.materialloadingprogressbar 

改變包名

com.lsjwzh.widget.materialloadingprogressbar 

爲什麼顯示有誤 -

"java/com/lsjwzh/widget/materialloadingprogressbar/CircleProgressBar$OvalShadow.class"

我在eclipse中重建了項目並使用SimpleLibraryCompiler編譯了b4a。

and this is my project and OvalShadow Class

+0

你應該在帖子中給出錯誤,並提供一些關於你在做什麼的更多細節。 – Aaron

回答

0

我忘了使用

@DependsOn

調用文件夾庫附加罐子。

相關問題