我正在运行 MFP 版本 - 7.1.0.00.20161118-2217。
我已成功构建 .WLAPP 文件。
在现场工作时(通过 USB 连接到我的 DEV 工作站),我们可以做一个
mfp cordova run
它会找到所有设备并将 APK 推送到设备。
我现在在远程工作。 (无法将USB连接到远程主机)
当我运行“mfp cordova run”时,我得到了输出:
no android devices found. cordova will attempt to discover an emulator... Could not find list of devices using: cordova run --list
Attenpting to run against default virtual device Cordova config.xml currently configured with:
当没有设备通过 USB 连接时,我们如何生成 APK?
我还尝试运行以下命令:
mfp cordova run --platform android
但这也不会生成 APK。
我感谢与此相关的任何指导或文档。
谢谢。
最佳答案
构建 apk 与 MFP 或 CLI 或 Cordova 无关。 与Android Studio相关或使用ADT命令行工具创建。
因此,安装它们中的任何一个并使用其中提供的工具来创建 .apk。
关于android - 使用 IBM Mobile First Platform 生成 APK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54348263/