Skip to content

[Bug]: Can't build android app #8279

@billypon

Description

@billypon

Capacitor Version

💊 Capacitor Doctor 💊

Latest Dependencies:

@capacitor/cli: 8.0.0
@capacitor/core: 8.0.0
@capacitor/android: 8.0.0
@capacitor/ios: 8.0.0

Installed Dependencies:

@capacitor/ios: not installed
@capacitor/cli: 8.0.0
@capacitor/android: 8.0.0
@capacitor/core: 8.0.0

Other API Details

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

FAILURE: Build failed with an exception.

  • Where:
    Settings file 'android/settings.gradle' line: 5

  • What went wrong:
    A problem occurred evaluating settings 'android'.

Could not read script 'android/capacitor.settings.gradle' as it does not exist.

Expected Behavior

Build android app successfully

Project Reproduction

https://github.com/billypon/my-app

Additional Information

Here is my procedure:

npm init @capacitor/app
cd my-app
pnpm i @capacitor/android
node_modules/.bin/cap add android
node_modules/.bin/cap build android

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions