简体   繁体   English

如何在eclipse插件中使用人行横道项目

[英]how to use crosswalk project in eclipse plugin

i am facing much difficulty using crosswalk project with eclipse , is there any plugin for eclipse . 我在使用带有eclipse的人行横道项目时遇到很多困难,是否有任何eclipse插件。

gone through their documentation which seems too complicated: 仔细阅读了看似太复杂的文档:

https://crosswalk-project.org/documentation/getting_started/windows_host_setup.html#Install-Ant https://crosswalk-project.org/documentation/getting_started/windows_host_setup.html#Install-Ant

has anyone idea how to integrate and use it with eclipse 有谁知道如何将其与Eclipse集成和使用

anyway i found one plugin for eclipse at : https://github.com/crosswalk-project/crosswalk-developer-tools-eclipse-plugin 无论如何,我在以下位置找到了一个eclipse插件: https : //github.com/crosswalk-project/crosswalk-developer-tools-eclipse-plugin

i followed below link: https://github.com/crosswalk-project/crosswalk-developer-tools-eclipse-plugin 我跟随下面的链接: https : //github.com/crosswalk-project/crosswalk-developer-tools-eclipse-plugin

to create cross walk hello world project fro android . 创建android的人行横道你好世界项目。

now it creates blank project 现在创建空白项目

facedetection
--index.html
--manifest.json

there are no java file and other . 没有java文件和其他。 how can i run this project ??. 我如何运行该项目?

If you have Eclipse and Android SDK already, you can install Crosswalk-Eclipse-plugin into your Eclipse. 如果已经有了Eclipse和Android SDK,则可以将Crosswalk-Eclipse-plugin安装到Eclipse中。 It supports to create an empty Crosswalk Application and to package it. 它支持创建一个空的Crosswalk应用程序并将其打包。 More details refer to the link. 有关更多详细信息,请参见链接。

The project is a HTML5 applications. 该项目是一个HTML5应用程序。 You just need to edit these two files. 您只需要编辑这两个文件。 Please refer to https://crosswalk-project.org/documentation/getting_started/build_an_application.html . 请参考https://crosswalk-project.org/documentation/getting_started/build_an_application.html

After you edit your code. 编辑代码后。 You can generate the android apk as follow: Export Crosswalk Application 您可以按如下方式生成android apk:Export Crosswalk Application

1.In Eclipse menu: Select "File->Export"
2.Select "Crosswalk/Export Crosswalk App" then click next
3.Input the required information then click "Finish" button

The you can install the apk to your device. 您可以将apk安装到设备上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM