【问题标题】:Google Play Android Publisher Plugin not workingGoogle Play Android Publisher 插件无法正常工作
【发布时间】:2017-02-07 13:18:25
【问题描述】:

我关注了下面的论坛并尝试将构建自动上传到 Android google play。但这不起作用。构建后,它提供构建为 构建工件 app-release.apk。即使我在控制台日志输出中遇到日志错误。

[android] Emulator did not appear to start; giving up
[android] Stopping Android emulator
$ /var/lib/jenkins/tools/android-sdk/platform-tools/adb kill-server
Archiving artifacts
Skipping upload to Google Play due to build result
Finished: NOT_BUILT

论坛https://wiki.jenkins-ci.org/display/JENKINS/Google+Play+Android+Publisher+Plugin

请建议我解决这个问题。

【问题讨论】:

    标签: android jenkins google-play


    【解决方案1】:

    通过阅读日志,您正在尝试在构建期间启动 Android 模拟器。这失败了,因此构建停止,没有尝试上传到 Google Play。

    由于 Android Emulator Plugin 在您的构建步骤之前运行(并且失败),我会很惊讶您的工作正在构建任何东西......

    如果您不需要运行模拟器,请尝试禁用该选项。

    【讨论】:

    • 如果我禁用模拟器,我会遇到错误。 --- java.io.IOException: 进程工作目录 'C:\Jenkins\workspace\Android_CA_Test\Android_CA_Test\app' 不存在!
    • @itsrajesh4uguys 您应该编辑您的问题以添加该信息,但使用完整的堆栈跟踪,因为尚不清楚该异常来自何处。
    猜你喜欢
    • 1970-01-01
    • 2018-08-25
    • 2012-07-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-03-03
    • 2019-04-21
    相关资源
    最近更新 更多