2017-01-01 24 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

调用文件夹库附加罐子。

相关问题