Fix compile error, and compile scandroid in Maven build