MainActivity must extend android.app.Activity code example Example: aboutusactivity must extend android app activity about us activity must extend android app activity