java.lang.NoClassDefFoundError: Failed resolution of: Lsugar/Environment; at org.me.sampleandroidappfire.SharedClassTest.context(/Volumes/MacHDD2/Developmemt/ParisiLabs/swift-promise-example/StaticLibrary/SharedProject/src/Library.swift:86) at org.me.sampleandroidappfire.MainActivity.onCreate(/Volumes/MacHDD2/Developmemt/ParisiLabs/swift-promise-example/SampleAndroidAppFire/MainActivity.swift:27)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via remobjects.com by Unknown author, 1 year ago
Failed resolution of: Lsugar/Environment; at org.me.sampleandroidappfire.SharedClassTest.context(/Volumes/MacHDD2/Developmemt/ParisiLabs/swift-promise-example/StaticLibrary/SharedProject/src
via Stack Overflow by Muhammad Adil
, 2 years ago
android.media.tv.TvView at com.example.tvtest.MainActivity.onCreate(MainActivity.java:25)
via GitHub by nookbone
, 2 years ago
com.koushikdutta.urlimageviewhelper.UrlImageViewHelper 11-10 08:30:07.787 10742-10742/com.newproject E/AndroidRuntime: at com.nookbone.MainSiteInActivity.onCreate(MainSiteInActivity.java:75)
via Stack Overflow by Cyrille Telmer
, 2 years ago
org.osmdroid.views.MapView at testmap.sagem.TestMapActivity.onCreate(TestMapActivity.java:17)
via Stack Overflow by dinoenri
, 1 year ago
com.crashlytics.android.Crashlytics at <app_package>.gui.MainMenuActivity.onCreate(MainMenuActivity.java:24)
java.lang.NoClassDefFoundError: Failed resolution of: Lsugar/Environment; at org.me.sampleandroidappfire.SharedClassTest.context(/Volumes/MacHDD2/Developmemt/ParisiLabs/swift-promise-example/StaticLibrary/SharedProject/src/Library.swift:86) at org.me.sampleandroidappfire.MainActivity.onCreate(/Volumes/MacHDD2/Developmemt/ParisiLabs/swift-promise-example/SampleAndroidAppFire/MainActivity.swift:27)
at android.app.Activity.performCreate(Activity.java:6251)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.