Skip to content

Unresolved Reference: Theme_AppCompat_NoActionBar in Android Project #392

Description

@dschandrasekara

The flutter_mapbox_navigation plugin causes build failures due to unresolved references to Theme_AppCompat_NoActionBar in the following files:

  • NavigationActivity.kt
  • EmbeddedNavigationViewFactory.kt

This issue occurs because the required AppCompat theme is either not included in the plugin's dependencies or improperly referenced.

Steps to Reproduce:

  1. Add flutter_mapbox_navigation version 0.2.2 to a Flutter project.
  2. Build the project for Android using flutter build apk.

Observed Error:

Unresolved reference 'Theme_AppCompat_NoActionBar' in:
- NavigationActivity.kt (line 84)
- EmbeddedNavigationViewFactory.kt (line 35)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions