我是和Maven的新手,并尝试了中给出的示例。我在将由Maven生成的工件部署到运行在Linux上的Nexus时遇到了问题。如果我的pom.xml有'localhost:8081‘作为存储库,那么部署是成功的。如果我用IP地址(10.193.4.5:8081)替换本地主机,则部署失败,出现“拒绝访问”错误。详情如下。
Error:
Downloading: h ttp://10.193.4.5:8081/nexus/content/repositories/snapshots/org/sonatype/mavenbook/simple/parent/0.8-SNAPSHOT/maven
启动AVD 'AVD_for_Nexus_S‘的仿真器
Failed to start emulator: Cannot run program "/home/kashminder/Documents/android dev/adt-bundle-linux/sdk//tools/emulator": error=2, No such file or directory
我正在使用nexus来托管我的maven存储库,并且maven命令行(包括win32和linux)可以使用相同的命令和相同的setting.xml成功地从这个nexus传输工件。但m2e将失败,如下所示:
[WARNING] Could not transfer metadata m3-app:m3:1.0-SNAPSHOT/maven-metadata.xml from/to Nexus (http://1.2.3.4:8080/nexus/content/groups/public): Failed to create a selector. to http://1.2.3.4:8080/
当IDE Android运行时,很容易从Ubuntu下的命令行启动Android模拟器。我的案子,我只是发布:
$HOME/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-i386 -avd My_Galaxy_Nexus
但是,当IDE没有运行时,这就失败了。我得到了下一条错误消息(在我看来,这是一个可以忽略的警告):
emulator: WARNING: encryption is off
This application failed to start because it could not find or load the Qt