在Linux centos平台上使用Jenkins和Gradle构建Android应用程序时出错

在Linux centos平台上使用Jenkins和Gradle构建Android应用程序时出错,第1张

概述我已经将我的构建过程 Android工作室与Jenkins和Gradle集成.当我在Jenkins上运行构建时,错误即将到来 :::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::::: 00:04:56.154 [DEBUG] [org.gradle.configuration.project.Bui 我已经将我的构建过程 Android工作室与Jenkins和Gradle集成.当我在Jenkins上运行构建时,错误即将到来
:::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::
00:04:56.154 [DEBUG] [org.gradle.configuration.project.Buildscriptprocessor] Timing: Running the build script took 1.587 secs00:04:56.164 [INFO] [org.gradle.API.Project] Parsing the SDK,no caching allowed00:04:56.373 [INFO] [org.gradle.API.Project] Parsing legacy package: /opt/androIDsdk/androID-sdk-linux/tools00:04:56.414 [INFO] [org.gradle.API.Project] file not found while marshalling /opt/androIDsdk/androID-sdk-linux/tools/package.xml. Probably the SDK is read-only00:04:56.415 [INFO] [org.gradle.API.Project] Parsing legacy package: /opt/androIDsdk/androID-sdk-linux/platform-tools00:04:56.416 [INFO] [org.gradle.API.Project] file not found while marshalling /opt/androIDsdk/androID-sdk-linux/platform-tools/package.xml. Probably the SDK is read-only00:04:56.416 [INFO] [org.gradle.API.Project] Parsing legacy package: /opt/androIDsdk/androID-sdk-linux/platforms/androID-1900:04:56.438 [INFO] [org.gradle.API.Project] file not found while marshalling /opt/androIDsdk/androID-sdk-linux/platforms/androID-19/package.xml. Probably the SDK is read-only00:04:56.440 [INFO] [org.gradle.API.Project] Parsing legacy package: /opt/androIDsdk/androID-sdk-linux/platforms/androID-2200:04:56.461 [INFO] [org.gradle.API.Project] file not found while marshalling /opt/androIDsdk/androID-sdk-linux/platforms/androID-22/package.xml. Probably the SDK is read-only00:04:56.463 [INFO] [org.gradle.API.Project] Parsing legacy package: /opt/androIDsdk/androID-sdk-linux/platforms/androID-2300:04:56.471 [INFO] [org.gradle.API.Project] file not found while marshalling /opt/androIDsdk/androID-sdk-linux/platforms/androID-23/package.xml. Probably the SDK is read-only00:04:56.473 [INFO] [org.gradle.API.Project] Parsing legacy package: /opt/androIDsdk/androID-sdk-linux/platforms/androID-2100:04:56.487 [INFO] [org.gradle.API.Project] file not found while marshalling /opt/androIDsdk/androID-sdk-linux/platforms/androID-21/package.xml. Probably the SDK is read-only
解决方法 我有同样的警告.

在windows中,对于文件夹“androID-sdk”,我已经为用户提供了写权限,这解决了我的问题.

总结

以上是内存溢出为你收集整理的在Linux centos平台上使用Jenkins和Gradle构建Android应用程序出错全部内容,希望文章能够帮你解决在Linux centos平台上使用Jenkins和Gradle构建Android应用程序时出错所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/1047770.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-25
下一篇 2022-05-25

发表评论

登录后才能评论

评论列表(0条)

保存