Project Structure

The Generated Project Structure

npx cap add android creates android/, an ordinary Gradle 19,597 project of the kind Android Studio 234 makes:

The top two levels of the Android project
tree -L 2 --dirsfirst -I 'build|*.pro|gradlew*' android
Output
android
├── app
│   ├── src
│   ├── build.gradle
│   └── capacitor.build.gradle
├── capacitor-cordova-android-plugins
│   ├── src
│   ├── build.gradle
│   └── cordova.variables.gradle
├── gradle
│   └── wrapper
├── build.gradle
├── capacitor.settings.gradle
├── gradle.properties
├── settings.gradle
└── variables.gradle

app/src/main holds AndroidManifest.xml, res/ (icons and splash images), assets/, and java/com/example/booknest/, a package path built from the appId. The files split into two groups:

The native runtime itself compiles from node_modules/@capacitor/android, so a fresh clone builds only after npm 2,036 install.