<platform name="android">
<preference name="android-installLocation" value="auto" />
</platform>
config.xml 中的 android 安装位置首选项不起作用。 它不会通过 prepare 或 build 在 android list xml 中传递。
最佳答案
我在这个问题中找到的解决方案是一个插件,它可以将首选项从 config.cml 传递到 android list ,而不是自动传递。
cordova插件添加cordova-custom-config
https://github.com/dpa99c/cordova-custom-config
关于android - Cordova config.xml 首选项 android-installLocation,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33605230/