compile with gradle ok. but runs failure.