NoClassDefFoundError:android 4.3上的roboguice.inject.ContextScopedRoboInjector(Jelly Bean API 18)

时间:2016-01-13 14:29:51

标签: android android-4.2-jelly-bean roboguice

我有一个使用roboguice 3的应用程序,它在使用API​​ 18的设备上启动时崩溃。 相同的应用程序在Android 23上运行完美。

堆栈追踪:

java.lang.NoClassDefFoundError: roboguice.inject.ContextScopedRoboInjector
01-12 16:53:31.285 12710-12710/com.package.app E/AndroidRuntime:     at roboguice.RoboGuice.getInjector(RoboGuice.java:197)
01-12 16:53:31.285 12710-12710/com.package.app  E/AndroidRuntime:     at roboguice.activity.RoboActionBarActivity.onCreate(RoboActionBarActivity.java:85)

任何想法?

1 个答案:

答案 0 :(得分:0)

GitHub page

所述
RoboGuice is no longer supported.
[..]
There are now many other excellent DI frameworks for Android, please consider migrating to one of them.