AndroidLibrary: java.lang.NoClassDefFoundError: Could not initialize class components.Stark
Just cloning this repo and building the project, we get this error:
java.lang.NoClassDefFoundError: Could not initialize class components.Stark
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 23 (11 by maintainers)
Hi @jiriklobasa
Does this error only happen when
stringFilesproperty is defined?Are you getting any other error like this one?
@MostafaAnter you are right. I’ve created a native C++ project and added SC. It returns the
java.lang.UnsatisfiedLinkErrorerror at runtime.SC uses the default name for the native library (
native-lib) and your native library overrides it.I’ve just released
v3.6.2with a different native library name.Thank you so much @MostafaAnter for your report 🙌
@jiriklobasa @klozMobile @ilyasdirin do you have a similar project case?