@deqing, please move your _api.js to `runtime/android/java/src/org/xwalk/runtime/extension/api/contacts`. You can refer the PR #1216