Fragment class problem

‘replace(int, android.app.Fragment)’ in ‘android.app.FragmentTransaction’ cannot be applied to ‘(int, com.example.fregments.portaitModeFragment)’

Sir phone per application bana sakte hai kya