首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用于生成Build.xml文件的Kony - .apk

用于生成Build.xml文件的Kony - .apk
EN

Stack Overflow用户
提问于 2019-01-14 13:30:34
回答 1查看 373关注 0票数 0

我正在使用,因为我必须将流程与Jenkins集成,并在构建中执行自动化测试用例,因此我必须生成一个.apk文件。

当我执行ant -file build.xml命令时。我遇到了跟随错误。

代码语言:javascript
复制
java.lang.RuntimeException: Application "com.pat.tool.keditor.konyapplication" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.ant.ui.antRunner, org.eclipse.datatools.connectivity.console.profile.StorageFileEditor, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger, org.eclipse.emf.codegen.ecore.Generator, org.eclipse.emf.importer.ecore.Ecore2GenModel, org.eclipse.emf.importer.java.Java2GenModel, org.eclipse.emf.importer.rose.Rose2GenModel, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.touchpoint.natives.nativePackageExtractor, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.jdt.core.JavaIndexer, org.eclipse.oomph.setup.core.SetupArchiver, org.eclipse.pde.build.Build, org.eclipse.pde.junit.runtime.uitestapplication, org.eclipse.pde.junit.runtime.legacytestapplication, org.eclipse.pde.junit.runtime.coretestapplication, org.eclipse.pde.junit.runtime.coretestapplicationnonmain, org.eclipse.pde.junit.runtime.nonuithreadtestapplication, org.eclipse.ui.ide.workbench, org.eclipse.wst.jsdt.core.JavaCodeFormatter, org.eclipse.wst.server.preview.preview.
    at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:252)
    at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:33)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1501)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1474)
    at org.eclipse.core.launcher.Main.main(Main.java:37)

请注意,我已经创建了Headless-Global.properties文件,因为它不是由生成的。

下面是在Headless-Global.properties文件上设置的属性

代码语言:javascript
复制
#This file need to be copied in workspace location
#Note: Please escape '\' with '\\' in file paths (Ex: C:\\workspace\\project)

#Envirnoment details
workspace.location=

#Full Path to a jar file whose name starts with 'org.eclipse.equinox.launcher_' in eclipse plugins folder
#Example: D:\\eclipse\\plugins\\org.eclipse.equinox.launcher_1.1.0.v20100507.jar
eclipse.equinox.path=C:\\Users\\SO-LPT-011\\eclipse\\jee-2018-12\\eclipse\\plugins\\org.eclipse.equinox.launcher_1.5.200.v20180922-1751.jar

#preference details
imagemagic.home=
android.home=
run.luaapichecker=false
playbook.home=
qt.home=
palm.home=
bb10.ndk.home=
bb10.signing.keys.home =
bb10.emulator.ip=
bb10.emulator.password=
bb10.vmware.home=

我可以安装"com.pat.tool.keditor.konyapplication"插件吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-01-22 10:25:43

不能生成可安装的二进制-i.e。安卓.apk或iOS .ipa-使用Visualizer。Visualizer仅作为一个原型工具,用于快速思考和UX设计人员。

为了构建一个.apk文件,您需要安装Visualizer。所有下载都可以从科尼发布网站获得。您将不得不注册一个科尼开发帐户,以下载,但这是免费的。

一旦安装了Visualizer,就可以构建.apk 来自Visualizer的从命令行了。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/54182499

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档