我在从服务器构建时遇到问题。我的项目是一个使用Netbeans IDE的Android应用程序。当我运行我的应用程序时,一切正常,编译器完全不报告任何错误。但是当我向服务器发送build Netbeans时,我会报告一个成功的构建,但是当我登录到构建服务器时,我看到的是一个构建失败并带有错误日志。
以下是我从生成服务器获得的错误日志:
Executing: /home/ec2-user/android-sdk/tools/android create project --target android-14 --name MyApplication --path /tmp/build4676848571336833460xxx/MyApplication --activity MyApplicationStub --package com.mycompany.myapp Created directory /tmp/build4676848571336833460xxx/MyApplication/src/com/mycompany/myapp
Added file /tmp/build4676848571336833460xxx/MyApplication/src/com/mycompany/myapp/MyApplicationStub.java
Created directory /tmp/build4676848571336833460xxx/MyApplication/res
Created directory /tmp/build4676848571336833460xxx/MyApplication/bin
Created directory /tmp/build4676848571336833460xxx/MyApplication/libs
Created directory /tmp/build4676848571336833460xxx/MyApplication/res/values
Added file /tmp/build4676848571336833460xxx/MyApplication/res/values/strings.xml
Created directory /tmp/build4676848571336833460xxx/MyApplication/res/layout
Added file /tmp/build4676848571336833460xxx/MyApplication/res/layout/main.xml
Created directory /tmp/build4676848571336833460xxx/MyApplication/res/drawable-hdpi
Created directory /tmp/build4676848571336833460xxx/MyApplication/res/drawable-mdpi
Created directory /tmp/build4676848571336833460xxx/MyApplication/res/drawable-ldpi
Added file /tmp/build4676848571336833460xxx/MyApplication/AndroidManifest.xml
Added file /tmp/build4676848571336833460xxx/MyApplication/build.xml
Added file /tmp/build4676848571336833460xxx/MyApplication/proguard-project.txt
Executing: /home/ec2-user/android/ant/bin/ant release Buildfile: /tmp/build4676848571336833460xxx/MyApplication/build.xml
-set-mode-check:
-set-release-mode:
-release-obfuscation-check:
[echo] proguard.config is proguard.cfg
[echo] Proguard.config is enabled
-pre-build:
-check-env:
[checkenv] Android SDK Tools Revision 22.2.1
[checkenv] Installed at /home/ec2-user/android-sdk
-setup:
[echo] Project Name: MyApplication
[gettype] Project Type: Application
-build-setup:
[getbuildtools] Using latest Build Tools: 18.1.1
[echo] Resolving Build Target for MyApplication...
[gettarget] Project Target: Android 4.0
[gettarget] API level: 14
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: /tmp/build4676848571336833460xxx/MyApplication/bin/res
[mkdir] Created dir: /tmp/build4676848571336833460xxx/MyApplication/bin/rsObj
[mkdir] Created dir: /tmp/build4676848571336833460xxx/MyApplication/bin/rsLibs
[mkdir] Created dir: /tmp/build4676848571336833460xxx/MyApplication/gen
[mkdir] Created dir: /tmp/build4676848571336833460xxx/MyApplication/bin/classes
[mkdir] Created dir: /tmp/build4676848571336833460xxx/MyApplication/bin/dexedLibs
[echo] ----------
[echo] Resolving Dependencies for MyApplication...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.
[echo] ----------
[echo] Building Libraries with 'release'...
[subant] No sub-builds to iterate on
-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.
-pre-compile:
-compile:
[javac] Compiling 405 source files to /tmp/build4676848571336833460xxx/MyApplication/bin/classes
[javac] /tmp/build4676848571336833460xxx/MyApplication/src/com/mycompany/myapp/MyApplicationStub.java:119: error: unreported exception IOException; must be caught or declared to be thrown
[javac] i.start();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
构建失败/home/ec2 user/android sdk/tools/ant/BUILD。xml:720:执行此行时发生以下错误:/home/ec2 user/android sdk/tools/ant/build。xml:734:编译失败;有关详细信息,请参阅编译器错误输出。
总时间:26秒
不要将异常抛出
语句添加到
start()
回调中。
开发平台:Mac OSX IDE:NetBeans目标设备:Android主题:构建服务器问题 细节: 我恢复了我上次发送到构建服务器的一个旧的CN1项目~2年前。我花了大量的时间做广泛的重构,它在模拟器上工作得很好。请注意,该应用程序使用自定义的cn1lib,我有相当多的代码。模拟器似乎很适合这个。 然而,当我试图“发送Android build”到构建服务器时,它得到了一个java。lang.
我有一个基本的Codename One订阅,从我的角度来看,我的代码编译得很好,模拟器也工作得很好,但是Codename One Server正在获得构建错误,我尝试了几次但仍然不工作,有构建错误日志,但在这里发布太长了,我该怎么办?
我正在尝试在WebSphere 8.5 Web应用程序服务器上安装Pentaho BI Server 5.0.1。但是我无法在部署后启动应用程序。 似乎服务器在加载时可以找到类。 我检查了应用程序库文件夹和存在,并且。课堂在罐子里。我不知道问题出在哪里。 有没有人遇到过这个版本或其他版本的软件的类似问题?有人知道问题可能是什么吗? 以下是整个异常跟踪:
伙计们,我正试图在运行这个命令的Ubuntu18.04上生成tableau服务器的数据备份 但我有一个错误: 作业id为'83',超时为1440分钟。6%-启动活动存储库实例、文件存储库和群集控制器。13%-等待活动存储库、文件存储库和群集控制器启动。20%-必要时停止活动存储库。26%-必要时等待活动存储库停止。33%-卸载备份服务。生成备份的服务器上发生错误。此作业由于错误而失败。请参见运行管
我已经安装了Xamarin。谷歌游戏服务。将基本nuget包放入我现有的Xamarin中。Android应用程序。此后,它无法生成,并显示以下错误消息: /库/框架/单声道。framework/External/xbuild/Xamarin/Android/Xamarin。Android常见的目标(3,3):错误:错误XA4212:Type实现了Android。运行时。IJavaObject但不继
我试图生成一个API客户端从v2 swagger文件openapi生成器cli。为此,我使用openapi生成器cli的docker容器,它将其版本报告为4.1.0-SNAPSHOT。 代码生成使用以下选项: 我还尝试将选项设置为true。 但是,生成的服务类不使用装饰器进行注释。因此,在我的组件中导入它们并在组件的构造函数中添加服务后,我无法使用它们。这就是我的组件的样子: 失败,因为userS