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)

remobjects.com | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Shared Project: Android app and iOS app sample apps - Silver - RemObjects Talk

    remobjects.com | 6 months ago
    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)

    Root Cause Analysis

    1. 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()
    2. musixmatch.com.sampleandroidapp
      MainActivity.onCreate
      1. musixmatch.com.sampleandroidapp.MainActivity.onCreate(MainActivity.java:50)
      1 frame
    3. Android Platform
      ActivityThread.handleLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:6251)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
      4 frames