作者:mobiledu2502882333 | 来源:互联网 | 2023-02-01 14:55
IambuildingalargecordovaphonegapappusingthecordovaCLItools.IneedtheinstallLocationi
I am building a large cordova/phonegap app using the cordova CLI tools. I need the installLocation in the AndroidManifest.xml file to have the installLocation="auto" (or preferExternal) setting. I have tried placing
in my config.xml file. However, I think that preference might only be valid when building with phonegap, not cordova.
我正在使用cordova CLI工具构建一个大型cordova / phonegap应用程序。我需要AndroidManifest.xml文件中的installLocation来设置installLocation =“auto”(或preferExternal)。我尝试在我的config.xml文件中放置
。但是,我认为偏好可能仅在使用phonegap进行构建时才有效,而不是使用cordova。
Is there a way to get this preference automatically added to the AndroidManifest.xml when building with the Cordova CLI tools?
有没有办法在使用Cordova CLI工具构建时将此首选项自动添加到AndroidManifest.xml中?
1 个解决方案