Foot vehicle in android

I have recently run Graphhopper for android in my phone now I want to support it with foot routing profiles, how i can do that ?
thank you in advance

See documentation for changing vehicles.

I’ve modified the graphhopper code and became this way:

but I figured this error, what is wrong sir ?

Nello, did you fix it?
i met the same problem right now.