Starting from baselines 10.2.3.3 and 10.1.68.53, the mPaaS upgrade component saves APKs to internal storage by default instead of external storage.
If targetSdkVersion is 24 or higher, add the following code to file_paths.xml:
<files-path
name="files-path"
path="." />
To retain the original download path, add the following metadata to the manifest:
<meta-data android:name="use_external" android:value="yes" />
该文章对您有帮助吗?