当前位置 : 主页 > 网络编程 > 其它编程 >

CIAndroid项目gradlew没有此类文件

来源:互联网 收集:自由互联 发布时间:2023-07-02
我有以下配置gitlab-ci.yml:image:openjdk:8-jdkvariables:ANDROID_COMPI 我有以下配置gitlab-ci.yml: image: openjdk:8-jdkvariables: ANDROID_COMPILE_SDK: "28" ANDROID_BUILD_TOOLS: "28.0.2" ANDROID_SDK_TOOLS: "4333796"before_script:
我有以下配置gitlab-ci.yml:image:openjdk:8-jdkvariables:ANDROID_COMPI

我有以下配置gitlab-ci.yml:

image: openjdk:8-jdkvariables: ANDROID_COMPILE_SDK: "28" ANDROID_BUILD_TOOLS: "28.0.2" ANDROID_SDK_TOOLS: "4333796"before_script: - cd android - apt-get --quiet update --yes - apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1 - wget --quiet --output-document=android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-${ANDROID_SDK_TOOLS}.zip - unzip -d android-sdk-linux android-sdk.zip - echo y | android-sdk-linux/tools/bin/sdkmanager "platforms;android-${ANDROID_COMPILE_SDK}" >/dev/null - echo y | android-sdk-linux/tools/bin/sdkmanager "platform-tools" >/dev/null - echo y | android-sdk-linux/tools/bin/sdkmanager "build-tools;${ANDROID_BUILD_TOOLS}" >/dev/null - export ANDROID_HOME=$PWD/android-sdk-linux - export PATH=$PATH:$PWD/android-sdk-linux/platform-tools/ - ls -la - chmod +x ./gradlew # temporarily disable checking for EPIPE error and use yes to accept all licenses - set +o pipefail - yes | android-sdk-linux/tools/bin/sdkmanager --licenses - set -o pipefail

但是,gradlew丢失了。

ls -latotal 151044drwxrwxrwx. 5 root root 4096 Nov 11 12:34 .drwxrwxrwx. 7 root root 4096 Nov 11 12:34 ..-rw-rw-rw-. 1 root root 110 Nov 11 12:34 .gitignore-rw-rw-rw-. 1 root root 1642 Nov 11 12:34 .gitlab-ci.ymldrwxr-xr-x. 7 root root 4096 Nov 11 12:34 android-sdk-linux-rw-r--r--. 1 root root 154582459 Sep 18 2017 android-sdk.zipdrwxrwxrwx. 3 root root 4096 Nov 11 12:34 app-rw-rw-rw-. 1 root root 582 Nov 11 12:34 build.gradledrwxrwxrwx. 3 root root 4096 Nov 11 12:34 gradle-rw-rw-rw-. 1 root root 104 Nov 11 12:34 gradle.properties-rw-rw-rw-. 1 root root 484 Nov 11 12:34 settings.gradle$ chmod +x ./gradlewchmod: cannot access './gradlew': No such file or directoryERROR: Job failed: exit code 1

我到底想抓到gradlew是什么?


上一篇:mac安装python3.4、django
下一篇:没有了
网友评论