java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.NoSuchMethodError: No static method setApplicationContext(Ljava/lang/Object;)V in class Lsugar/Environment; or its super classes (declaration of 'sugar.Environment' appears in /data/app/musixmatch.com.sampleandroidapp-2/base.apk) at samplelibrary.SharedClassTest.context(/Volumes/MacHDD2/Developmemt/ParisiLabs/swift-promise-example/StaticLibrary/SharedProject/Library.swift:114) at musixmatch.com.sampleandroidapp.MainActivity.onCreate(MainActivity.java:50) at android.app.Activity.performCreate(Activity.java:6251) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
No Bugmate found.