Skip to content

AndroidUSBCamera/3.3.3 build failed on Jitpack #7804

@pinij

Description

@pinij

Please provide:

  • Link to build log https://jitpack.io/com/github/jiangdongguo/AndroidUSBCamera/3.3.3/build.log

  • Does the project build on your machine with the same commands as in the log (e.g. gradle install) ?

  • What error are you seeing?
    AndroidUSBCamera/3.3.3 build failed on Jitpack
    Build logs:
    `Build starting...
    Build image: default
    Start: Tue Jul 8 18:35:05 UTC 2025 a751d745f886
    Git:
    3.3.3-0-gcd2a301
    commit cd2a301ff5bd76f70930fccfe4b8e1073edc51f7
    Author: jiangdg
    Date: Mon Feb 13 15:32:47 2023 +0800

    [dev] ready to release 3.3.3

Init SDKMan
Found Android manifest
Android SDK version: . Build tools:
Found gradle
Gradle build script
Gradle wrapper found
Init SDKMan
Found gradle version: 6.7.1.
Using gradle wrapper
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Downloading https://services.gradle.org/distributions/gradle-6.7.1-all.zip
.
Unzipping /home/jitpack/.gradle/wrapper/dists/gradle-6.7.1-all/2moa8rlfac5eqlcfgk98k0deb/gradle-6.7.1-all.zip to /home/jitpack/.gradle/wrapper/dists/gradle-6.7.1-all/2moa8rlfac5eqlcfgk98k0deb
Set executable permissions for: /home/jitpack/.gradle/wrapper/dists/gradle-6.7.1-all/2moa8rlfac5eqlcfgk98k0deb/gradle-6.7.1/bin/gradle


Gradle 6.7.1

Build time: 2020-11-16 17:09:24 UTC
Revision: 2972ff02f3210d2ceed2f1ea880f026acfbab5c0

Kotlin: 1.3.72
Groovy: 2.5.12
Ant: Apache Ant(TM) version 1.10.8 compiled on May 10 2020
JVM: 1.8.0_292 (Private Build 25.292-b10)
OS: Linux 4.18.0-25-generic amd64

0m4.477s
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
Getting tasks: ./gradlew tasks --all
Found tasks
Tasks:

⚠️ WARNING:
Gradle 'publishToMavenLocal' task not found. Please add the 'maven-publish' or 'maven' plugin.
See the documentation and examples: https://docs.jitpack.io

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
build.gradle has component: release
build.gradle has component: release
build.gradle has component: release
build.gradle has component: release
build.gradle has component: release

Running: ./gradlew clean -Pgroup=com.github.jiangdongguo -Pversion=3.3.3 -xtest -xlint publishToMavenLocal

Configure project :app
WARNING:: The option 'android.useDeprecatedNdk' is deprecated.
The current default is 'false'.
It has been removed from the current version of the Android Gradle plugin.
NdkCompile is no longer supported

Configure project :libuvc
executing ndkBuild
executing ndkBuild clean
WARNING:: The specified Android SDK Build Tools version (27.0.3) is ignored, as it is below the minimum supported version (30.0.2) for Android Gradle Plugin 4.2.2.
Android SDK Build Tools 30.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '27.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

Task :clean UP-TO-DATE
Task :app:clean UP-TO-DATE
Task :libausbc:clean UP-TO-DATE
Task :libnative:externalNativeBuildCleanDebug
Task :libnative:externalNativeBuildCleanRelease
Task :libnative:clean UP-TO-DATE
Task :libutils:clean UP-TO-DATE
Task :libuvc:ndkClean FAILED
8 actionable tasks: 3 executed, 5 up-to-date
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':libuvc:ndkClean'.

A problem occurred starting process 'command 'null/ndk-build''

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1s
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Archive: build:libnative:unspecified
Archive: build:libutils:unspecified
Archive: build:libuvccommon:unspecified
Archive: build:libausbc:unspecified
Archive: build:libuvc:unspecified
Publication: build:libausbc:unspecified
Publication: build:libnative:unspecified
Publication: build:libutils:unspecified
Publication: build:libuvc:unspecified
Publication: build:libuvccommon:unspecified
Build tool exit code: 1
⚠️ Build failed. See errors above.
2025-07-08T18:39:23.61974957Z
Exit code: 1
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildReport a failed build

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions