Skip to content

Android app keeps crashing right when opening #130

@raphaelparent

Description

@raphaelparent

Describe the bug
The title says it all. After I've installed the plugin, my app keeps crashing immediately on load after deploying the app-debug.apk to the android emulator. I was able to reproduce on a clean install. When I remove the plugin, my app works again.

To Reproduce

  1. Install a clean Capacitor app using the docs (I used the npm init @capacitor/app@latest command)
  2. Add the android package.
  3. Add the plugin package (v7.0.3).
  4. Build the app.
  5. Sync the app.
  6. Run the app using npx cap run android.
  7. After the gradle build and the deployment the emulator opens and the app crashes.

Expected behavior
The app should open and work as normal.

Smartphone (please complete the following information):

  • Device: Pixel 8 Pro API 34 (emulator) (Pixel_8_Pro_API_34)
  • OS: Android

Additional information

  • Downgrading to v7.0.0 of the plugin fixes the problem, the app loads successfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions