Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package android.support.annotation does not exist #14

Open
rodrigoreal opened this issue Jul 29, 2020 · 1 comment
Open

Package android.support.annotation does not exist #14

rodrigoreal opened this issue Jul 29, 2020 · 1 comment

Comments

@rodrigoreal
Copy link

node_modules\capacitor-branch-deep-links\android\src\main\java\co\boundstate\BranchDeepLinks.java:5: error: package android.support.annotation does not exist
import android.support.annotation.Nullable;
                                 ^
node_modules\capacitor-branch-deep-links\android\src\main\java\co\boundstate\BranchDeepLinks.java:21: error: cannot find symbol
    @Nullable
     ^
  symbol:   class Nullable
  location: class BranchDeepLinks
2 errors
@paulhalfpenny
Copy link

We've run into this issue both on a React Native project, and an Ionic/Capacitor project as well. If you take a look at this SO question, the top answer provides a solution that worked for us:

https://stackoverflow.com/questions/40380519/error-package-com-android-annotations-does-not-exist

i.e. set your Android flags correctly and run jetify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants