fixed a bug related to "ADK_ROOT" environment variable