I have problem with detectMultiScale method in my project

I think that this sample don’t work for Android applications. I’m completely confused, I have no idea what to do.