我想使用 iOS 或 Android SDK(例如
DJI Drone SDK
),但不是在移动设备上运行它来连接到硬件,有没有办法构建桌面应用程序(例如基于 Electron
)并且能够运行他们的 SDK 与硬件交互吗?
在 Windows 上,您可以使用 Android Studio 将应用程序运行到 Android .APK 立即下载https://developer.android.com/studio/index.html 不要忘记您需要了解 Java 语言才能使用 Android Studio,您可以在 Youtube 上观看一些教程来学习
在 Mac 上您需要使用 Xcode 您无法在 Windows 上运行 IOS Mac 应用程序,您可以使用 Vmware 等虚拟机来运行。 下载的是 Xcode https://developer.apple.com/xcode/ 不要忘记您需要了解 Swift 语言才能在 Mac 上为 Mac 和 IOS 制作应用程序
它被称为 DJI Assistant 2,但您仍然需要控制器: https://developer.dji.com/mobile-sdk/documentation/application-development-workflow/workflow-testing.html
https://waydro.id 让您在 Linux 上执行此操作。
对于 Windows,https://blogs.windows.com/windows-insider/2021/10/20/introducing-android-apps-on-windows-11-to-windows-insiders/ 已经有约 2 年了。另请参阅 https://www.reddit.com/r/Windows10/comments/11ptn4e/comment/jc4oq97/,链接到 https://github.com/cinit/WSAPatch
对于 macOS 和其他平台,您必须使用 Android 模拟器。