I need to use nested fragments for my application, so I would like to use getChildFragmentManager .
I have two devices:
- Real running on 4.0.3
- Virtual running on 4.2.2
This works well on the second, but not on my physical device, since calling this method throws a NoSuchMethod exception.
07-10 19:53:51.722: E/AndroidRuntime(29711): java.lang.NoSuchMethodError: fr.epitech.test_esi.fragments.ReservationCalendarFragment.getChildFragmentManager
My project uses a reference library, so I downloaded the latest Android support library (from the SDK manager) and I added it to both the library and the main project.

I also decided to install the minimum version of sdk, supported by 4.0.3 (the version on which my real device works):
<uses-sdk android:minSdkVersion="15" android:targetSdkVersion="17" />
For the main project and library.
If anyone has an idea of ββwhat I can do wrong, let me know.
source share