You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/app/ActionBarActivity;
at xiaofei.library.hermes.util.TypeUtils$1.(TypeUtils.java:51)
at xiaofei.library.hermes.util.TypeUtils.(TypeUtils.java:48)
at xiaofei.library.hermes.util.TypeCenter.register(TypeCenter.java:94)
at xiaofei.library.hermes.Hermes.register(Hermes.java:71)
at xiaofei.library.hermeseventbus.HermesEventBus.init(HermesEventBus.java:122)
at com.cloudblocks.android.user.MainApplication.onCreate(MainApplication.java:44)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1036)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4728)
at android.app.ActivityThread.-wrap1(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1415)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5443)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
I think its due to add(ActionBarActivity.class); in > xiaofei.library.hermes.util.TypeUtils.java
For temporarily solving this issue, I created a empty class android.support.v7.app.ActionBarActivity.java and extend to AppCompatActivity and my app starting running again :)
package android.support.v7.app;
/**
* Created by blackadmin on 07/10/17.
*/
public class ActionBarActivity extends AppCompatActivity {
}
The text was updated successfully, but these errors were encountered:
Getting error at runtime :
I think its due to
add(ActionBarActivity.class);
in > xiaofei.library.hermes.util.TypeUtils.javaFor temporarily solving this issue, I created a empty class
android.support.v7.app.ActionBarActivity.java
and extend toAppCompatActivity
and my app starting running again :)The text was updated successfully, but these errors were encountered: