When I run my app on Android 2.2.3 (API 10) device, I constantly get the following warning & error message from logcat
03-11 10:41:51.509: V/ACTIVITY onCreate()(7585): ok
03-11 10:41:51.519: W/dalvikvm(7585): VFY: unable to resolve virtual method 30: Landroid/app/Activity;.getFragmentManager ()Landroid/app/FragmentManager;
03-11 10:41:51.519: E/dalvikvm(7585): Could not find class 'android.app.Fragment', referenced from method net.hockeyapp.android.UpdateManager.fragmentsSupported
03-11 10:41:51.519: W/dalvikvm(7585): VFY: unable to resolve const-class 24 (Landroid/app/Fragment;) in Lnet/hockeyapp/android/UpdateManager;
03-11 10:41:51.519: W/dalvikvm(7585): VFY: unable to resolve virtual method 30: Landroid/app/Activity;.getFragmentManager ()Landroid/app/FragmentManager;
But, on Android 4.1.1 device, there is no such problem.
I am wondering, what does the warning & error messages mean?
P.S. I have the following definition in AndroidManifest.xml:
<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="13" />
My app is using the RoboGuice fragment, all my fragments extends RoboFragment
.
And my Activity extends RoboFragmentActivity
They should be compatible with pre API 11.
And my problem only happen after I logged in,then close the app, and start the app again. The app works fine on Android 2.3.3 when just start the app to show the 1st fragment without login.