LoginSignup
0
0

More than 5 years have passed since last update.

AndroidAnnotations 4.0-SNAPSHOTで、Intent Builderを使うと、Android5.0未満の端末で「java.lang.VerifyError」が発生する

Posted at

表題の通り

エラー内容

01-06 18:47:56.817 7785-7785/? E/AndroidRuntime: FATAL EXCEPTION: main
                                                 java.lang.VerifyError: hoge/fuga/activities/LoginActivity_$IntentBuilder_

解決方法

以下のように、Intent Builderを使わずに実装する。

// XXX: Android5.0未満でエラーになる
//LoginActivity_.intent(getActivity()).start();
startActivity(new Intent(getActivity(), LoginActivity_.class));
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0