nextcloud / nextcloud/android

Building in a terminal doesn't work on freshly pulled repo

Open
#14,667 1 comment 1 reaction 0 assignees View on GitHub
0. Needs triage bug
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### ⚠️ Before posting ⚠️

- [x] This is a **bug**, not a question or an enhancement.
- [x] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [x] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).

### Steps to reproduce

1. Clone code `git clone https://github.com/nextcloud/android.git ~/nextcloud-android`
2. Go to code `cd ~/nextcloud-android`
3. Run build in a terminal as [mentioned in SETUP.md](https://github.com/nextcloud/android/blob/master/SETUP.md#3-working-in-a-terminal-with-gradle) `./gradlew clean build`

### Expected behaviour

Complete build. Get APKs

### Actual behaviour

The build broke on the ':app:checkstyle' task:
```shell
> Task :app:checkstyle FAILED

* What went wrong:
Execution failed for task ':app:checkstyle'.
> A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction
> An unexpected error occurred configuring and executing Checkstyle.
> Unable to create Root Module: config {/home/petr/nextcloud-android/checkstyle.xml}, classpath {null}.
```

### Android version

-

### Device brand and model

-

### Stock or custom OS?

Stock

### Nextcloud android app version

-

### Nextcloud server version

-

### Using a reverse proxy?

I don't know

### Android logs

_No response_

### Server error logs

```bash

```

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.