BUGFIX now generating correct directory information (same as the native
Android plugin)