编译我为 basic4android 包装的库时显示错误

show error when compile lib that I wrapped for basic4android

我用 Eclipse 为 b4a 包装了一个源 github。

我添加了 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.

我更改了包名

java.com.lsjwzh.widget.materialloadingprogressbar

com.lsjwzh.widget.materialloadingprogressbar

为什么显示错误-

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

?

我在 eclipse 中重建项目并使用 SimpleLibraryCompiler for b4a 进行编译。

我忘了使用

@DependsOn

用于调用文件夹 libs 中的其他 jar。