源码:
LogUtils.d(TAG, "codePath == " + context.getPackageCodePath()); LogUtils.d(TAG, "resPath == " + context.getPackageResourcePath()); LogUtils.d(TAG, "cacheDir == " + context.getCacheDir().getPath()); LogUtils.d(TAG, "filesDir == " + context.getFilesDir().getPath()); LogUtils.d(TAG, "obbDir == " + context.getObbDir().getPath());
对应值: