If you compile the app with API level 8 (Android 2.2) then the class Fragment cannot be found because it does not exist there. It has been introduced with API level 11. Make sure to set the target API level to the highest your app can support and minSdkLevel to 8.
On Wednesday, February 27, 2013 9:43:48 AM UTC-6, Manas wrote: > > Greeting, > > I am using android.support.v13 and android.support.v4 external JAR files. > I have done necessary typecasting in the code so it will always refer > above mention JAR files but not the android.app.Fragment . > But still its gives below error : > > The type android.app.Fragment cannot be resolved. It is indirectly > referenced from required .class files > > I have also checked build path. Build sequence is android.support.v4 -- > android.support.v13 -- Android 2.2 -- Android dependence. > > Any idea what I`m missing here. I am attaching the code for reference. > > Thank you in advance ! > -Manas > -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

