当前位置: 首页 > 知识库问答 >
问题:

如何修复CodenameOne生成上载错误

申屠瀚海
2023-03-14

我在尝试向服务器提交构建时遇到了一些问题。每次我试图提交它,它都失败了。以下是该过程的输出:

ant -f /home/darklord/NetBeansProjects/DashboardFAES build-for-android-device
No GUI Entries available
init:
deps-clean:
Updating property file: /home/darklord/NetBeansProjects/DashboardFAES/build/built-clean.properties
Deleting directory /home/darklord/NetBeansProjects/DashboardFAES/build
refresh-libs:
Deleting directory /home/darklord/NetBeansProjects/DashboardFAES/lib/impl
clean:
copy-android-override:
Created dir: /home/darklord/NetBeansProjects/DashboardFAES/build/classes
copy-libs:
deps-jar:
Updating property file: /home/darklord/NetBeansProjects/DashboardFAES/build/built-jar.properties
Compile is forcing compliance to the supported API's/features for maximum device compatibility. This allows smaller
        code size and wider device support
Created dir: /home/darklord/NetBeansProjects/DashboardFAES/build/tmp
Compiling 13 source files to /home/darklord/NetBeansProjects/DashboardFAES/build/tmp
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Created dir: /home/darklord/NetBeansProjects/DashboardFAES/build/empty
Created dir: /home/darklord/NetBeansProjects/DashboardFAES/build/generated-sources/ap-source-output
Compiling 13 source files to /home/darklord/NetBeansProjects/DashboardFAES/build/classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying 1 file to /home/darklord/NetBeansProjects/DashboardFAES/build/classes
Copied 2 empty directories to 2 empty directories under /home/darklord/NetBeansProjects/DashboardFAES/build/classes
compile:
Created dir: /home/darklord/NetBeansProjects/DashboardFAES/dist
Copying 1 file to /home/darklord/NetBeansProjects/DashboardFAES/build
Not copying library /home/darklord/NetBeansProjects/DashboardFAES/override , it's a directory.
Not copying library /home/darklord/NetBeansProjects/DashboardFAES/lib/impl/cls , it's a directory.
Not copying library /home/darklord/NetBeansProjects/DashboardFAES/lib/impl/stubs , it's a directory.
Not copying library /home/darklord/NetBeansProjects/DashboardFAES/native/internal_tmp , it's a directory.
Copy libraries to /home/darklord/NetBeansProjects/DashboardFAES/dist/lib.
Building jar: /home/darklord/NetBeansProjects/DashboardFAES/dist/DashboardFAES.jar
To run this application from the command line without Ant, try:
java -jar "/home/darklord/NetBeansProjects/DashboardFAES/dist/DashboardFAES.jar"
jar:
clean-override:
build-for-android-device:
You sent an android build without submitting a keystore. Notice that you will receive a build that is inappropriate for distribution (although it could be used for debugging purposes). For further details read http://www.codenameone.com/signing.html
Sending build request to the server, notice that the build might take a while to complete!
Sending build to account: mysuperaddress@gmail.com
Response message from server is: OK
Server provided no further details
java.io.IOException: An upload error occured - check that you have enough build credits on the server
    at com.codename1.build.client.BuildProcess.sendS3Build(BuildProcess.java:410)
    at com.codename1.build.client.BuildProcess.sendRequestToServer(BuildProcess.java:432)
    at com.codename1.build.client.CodeNameOneBuildTask.execute(CodeNameOneBuildTask.java:436)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
/home/darklord/NetBeansProjects/DashboardFAES/build.xml:300: Error in server build process
BUILD FAILED (total time: 1 minute 55 seconds)

请帮帮我!

共有1个答案

锺离伟彦
2023-03-14

10次中有9次意味着你本月的建造积分用完了,每个月都会重置。请注意,您可以在“订阅”选项卡中看到这些内容。

在剩余的9次中,这是由于不良的连接/代理配置造成的。您需要配置Java代理和主进程。

在最后1%的案例中,可能出现了问题,在这种情况下,我建议通过我们的支持渠道与我们联系。

 类似资料:
  • 开发平台:Mac OSX IDE:NetBeans目标设备:Android主题:构建服务器问题 细节: 我恢复了我上次发送到构建服务器的一个旧的CN1项目~2年前。我花了大量的时间做广泛的重构,它在模拟器上工作得很好。请注意,该应用程序使用自定义的cn1lib,我有相当多的代码。模拟器似乎很适合这个。 然而,当我试图“发送Android build”到构建服务器时,它得到了一个java。lang.

  • 当页面加载和管理页面时,有时会出现以下问题。错误不是永久性的,刷新页面后会消失。可能是什么问题,我如何解决它? 这是一条错误消息: 警告:fopen(/web/htdocs4/wallartdecorhu/home/www/system/storage/cache/cache.store.1604651378):无法打开流:在/web/htdocs4/wallartdecorhu/home/www

  • ProjectAAA.obj:错误LNK2001:未解析的外部符号" public:_ this call X::class event::class event(unsigned int)"(??0类事件@X@@QAE@I@Z) 我已经定义了不知道如何修复这个LINK错误。 欢迎提出任何建议。 谢谢你 更多信息: 1. 现在我已经完全隔离了错误: 1.

  • 问题内容: 当我运行Ant构建时,它失败,但出现以下异常: 我正在使用Eclipse 3.4.2。 请让我知道我在这里想念的东西。 问题答案: 我可以通过在ant构建文件中放置所需元素的外部来重现此问题。该错误表明您的构建文件中存在错误- 错误的位置(某个元素)。 此版本引发该错误: 而这不是: 在完整的错误消息中,您应该获得一个行号,以引导您到达文件中需要注意的地方:

  • 编译时,编译器抛出以下错误: 错误:- 严重性代码描述项目文件行抑制状态错误无法为类:Android创建JavaTypeInfo。支持V4。看法可访问性。由于系统原因,AccessibilityManagerCompat/IAAccessibilityStateChangeListenerImplementor无法访问。伊奥。DirectoryNotFoundException:找不到路径“C:\