# :capacitor-android project could not be found

> Getting the error “capacitor-android project could not be found”? Here is how to fix it. cap sync never wrote the Android project Gradle is looking for.

**:capacitor-android project could not be found.** android/ points at Capacitor’s Gradle modules, but they aren’t there: npx cap sync didn’t run after installing packages.

- Android build. The Android project was never synced.
- Interactive page: https://capwr.app/free-tools/build-error-explainer/capacitor-android-project-could-not-be-found
- Build error explainer: https://capwr.app/free-tools/build-error-explainer
- Last updated: 2026-10-03

## What this error means

android/ points at Capacitor’s Gradle modules, but they aren’t there: npx cap sync didn’t run after installing packages.

## Why it happens

The Android app’s Gradle file depends on Capacitor modules that npx cap sync writes. Those folders are missing, so Gradle cannot evaluate the project.

## The message tools print

```
A problem occurred evaluating project ':app'.
> Project with path ':capacitor-android' could not be found in project ':app'.
```

## How to fix it

1. Run npm install, then npm run build, then npx cap sync android.
2. On CI, keep that order before Gradle runs.

## Check a log that shows this

Paste the failing step into the [build error explainer](https://capwr.app/free-tools/build-error-explainer). It matches this message, and any others in the same log, in your browser. Nothing is uploaded.

## Other Android build errors

- [Android SDK location not found](https://capwr.app/free-tools/build-error-explainer/android-sdk-location-not-found)
- [Android Gradle plugin requires Java 17 to run](https://capwr.app/free-tools/build-error-explainer/android-gradle-plugin-requires-java)
- [Android resource linking failed](https://capwr.app/free-tools/build-error-explainer/android-resource-linking-failed)
- [Keystore was tampered with, or password was incorrect](https://capwr.app/free-tools/build-error-explainer/keystore-was-tampered-with-or-password-incorrect)
- [Duplicate class found in modules](https://capwr.app/free-tools/build-error-explainer/duplicate-class-found-in-modules)
- [Could not resolve all files for configuration](https://capwr.app/free-tools/build-error-explainer/could-not-resolve-gradle-configuration)

## Let the Android build run in CI

CapWrapp builds the release on GitHub Actions with the JDK and Android SDK the project needs, and signs it with the upload keystore it stores for you.

[Get started free](https://capwr.app/login).

## About CapWrapp

CapWrapp turns a web app on GitHub — built with Lovable, Bolt, Base44, Cursor or by hand — into iPhone and Android apps. It adds Capacitor if the repo needs it, signs the builds, and ships them to TestFlight and Google Play from GitHub Actions, with no Mac or Xcode on your side. [Get started free](https://capwr.app/login) · [Lovable to App Store guide](https://capwr.app/guides/lovable-to-app-store)
