[Android] No variants found for 'notifee_react-native'.
See original GitHub issueHi,
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:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
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