如何在我的 Android Studio 项目中使用代号为 one 的迁移工具?

How do I use the codename one migration tool on my Android Studio project?

如何在我的 Android Studio 项目中使用 codename 一款迁移工具?

谢谢

说明在这里:https://github.com/shannah/cn1-android-importer

您需要使用以下语法从命令行运行该工具:

java -jar AndroidImporter.jar import-project [options]
 -h,--help                         Usage instructions
 -i,--android-resource-dir <arg>   Android project res directory path
 -o,--cn1-project-dir <arg>        Path to the CN1 output project
                                   directory.
 -p,--package <arg>                Java package to place GUI forms in.
 -r,--cn1-resource-file            Path to CN1 output .res file.  Defaults
                                   to theme.res in project dir