💥 RVM Recommanded :
- ✅ Run the following script on your mac :
# without proxy
curl -L https://get.rvm.io | bash -s stable# without proxy
curl -L https://get.rvm.io | bash -s stable| public class AndroidWorkerInjection { | |
| public static void inject(Worker worker) { | |
| checkNotNull(worker, "worker"); | |
| Object application = worker.getApplicationContext(); | |
| if (!(application instanceof HasWorkerInjector)) { | |
| throw new RuntimeException( | |
| String.format( | |
| "%s does not implement %s", | |
| application.getClass().getCanonicalName(), |