You are using android support fragment
You put your fragment inside a view then you inflate that view
You already extend FragmentActivity yet you still get that ClassNotFoundException android.view.fragment
You already use android support library version 13

what the hell happen?

basically the layoutInflater does not recognize your support fragment

therefore, you can not put your support fragment in your xml layout

you have to put it dynamically using your java code

otherwise the layoutInflater will try to look for android.view.fragment instead your support fragment

Advertisements