Vehicle Bike Unsupported

I cloned the sample project from Github.
and then set the vehicle to bike and i got a exception of Vehicle Bike Unsopported.
void loadGraphStorage()
{
new GHAsyncTask<Void, Void, Path>()
{
protected Path saveDoInBackground( Void… v ) throws Exception {
GraphHopper tmpHopp = new GraphHopper().forMobile();
tmpHopp.load(new File(mapsFolder, currentArea).getAbsolutePath());
hopper = tmpHopp;
return null;
}

    protected void onPostExecute( Path o )
    {
        if (hasError()) {
            err = "An error happend while creating graph:" + getErrorMessage();
        } else {
            err = "Finished loading graph. Press long to define where to start and end the route.";
        }
        finishPrepare();
    }
}.execute();

}

And here i declare the vehicle type.

  public void calcPath( final double fromLat, final double fromLon,
                  final double toLat, final double toLon )
 {
new AsyncTask<Void, Void, GHResponse>()
{
    float time;
    protected GHResponse doInBackground( Void... v )
    {
        StopWatch sw = new StopWatch().start();
        GHRequest req = new GHRequest(fromLat, fromLon, toLat, toLon);
        req.setAlgorithm(AlgorithmOptions.DIJKSTRA_BI);
        req.setVehicle("bike");
        req.getHints().put("instructions", "false");
        req.setWeighting("fastest");
        GHResponse resp = hopper.route(req);
        time = sw.stop().getSeconds();
        return resp;
    }

    protected void onPostExecute( GHResponse resp )
    {
        if (!resp.hasErrors())
        {
            log("from:" + fromLat + "," + fromLon + " to:" + toLat + ","
                    + toLon + " found path with distance:" + resp.getDistance()
                    / 1000f + ", nodes:" + resp.getPoints().getSize() + ", time:"
                    + time + " " + resp.getDebugInfo());
            logUser("the route is " + (int) (resp.getDistance() / 100) / 10f
                    + "km long, time:" + resp.getTime() / 60000f + "min, debug:" + time);

            mapView.getLayerManager().getLayers().add(createPolyline(resp));
            //mapView.redraw();
        } else
        {
            logUser("Error:" + resp.getErrors());
        }
        shortestPathRunning = false;
    }
}.execute();
 }

What seems to be the problem here?thanks…

You need to import OSM data with all the vehicles enabled you want. E.g. if you do the import via graphhopper.sh then specify e.g.
graph.flagEncoders=car,bike,foot
in the config.properties

BTW: see here how to format code in posts: http://daringfireball.net/projects/markdown/syntax#code e.g. use backticks ` or tripple backtics

```java
at the begginning of a line and then close again with tripple backticks

It will be like this if i import agian?
./graphhopper.sh import philippines.pbf graph.flagEncoders=car,bike,foot ?
thanks.

I get it. i edited the config.properties. thank you.