question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Android] No variants found for 'notifee_react-native'.

See original GitHub issue

Hi,

Am I the only one having problems during installation ? I’ve followed the steps needed and I can’t have Notifee working on Android.

On Gradle sync, I get this error : Check build files to ensure at least one variant exists.

If I ignore it and try to run project, it obviously won’t and it gives me this one : error: package io.invertase.notifee does not exist import io.invertase.notifee.NotifeePackage;

Does anyone run into this one ?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Yann-prakcommented, Nov 25, 2021

Ok, finally found the solution. It was link to onesignal. Not the same error but same problem came from their library. Leaving this for anyone with the same problem. Just follow #124 or documentation.

0reactions
mikehardycommented, Nov 25, 2021

Not using their plugin is specifically mentioned: https://notifee.app/react-native/docs/integrations/onesignal I never tested it personally, I have never used OneSignal, we gave credit in the docs to the folks that contributed the information

Read more comments on GitHub >

github_iconTop Results From Across the Web

Releases | Notifee
[Android]: Fixes a compiling issue for some project configurations with error message "Project with path ':app' could not be found in project ':notifee_react- ......
Read more >
Android Studio: No build variant found error - Stack Overflow
No variants found for 'macrobenchmark'. Check build files to ensure at least one variant exists. The solution was simple (but not trivial): bring...
Read more >
@notifee/react-native - npm
The APIs for Android allow for creating rich, styled and highly interactive notifications. Below you'll find guides that cover the supported ...
Read more >
could not determine the dependencies of task ':react-native ...
could not determine the dependencies of task ':react-native-reanimated:mergedebugnativelibs'. > cmake '3.18.1' was not found in path or by cmake.dir ...
Read more >
Troubleshooting React-Native - OneSignal Documentation
Check this page first for common issues based on React Native Setup. For Android ... SDK location not found. ... XCode: ld: framework...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found