java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/common/base/Preconditions;

Stack Overflow | Serena | 2 months ago
  1. 0

    finished with non-zero exit value 2 after import guava library to use google.getNearbyPlaces

    Stack Overflow | 2 months ago | Serena
    java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/common/base/Preconditions;
  2. 0

    Android SnackBar giving exception and not working - yuluer.com

    yuluer.com | 5 months ago
    java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/design/R$layout;
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Log window crashes

    GitHub | 2 years ago | Zillode
    java.lang.ClassNotFoundException: Didn't find class "android.support.v7.widget.ShareActionProvider" on path: DexPathList[[zip file "/data/app/com.nutomic.syncthingandroid-2/base.apk"],nativeLibraryDirectories=[/data/app/com.nutomic.syncthingandroid-2/lib/arm, /vendor/lib, /system/lib]]
  5. 0

    How to import AIDL file in IntelliJ project

    Stack Overflow | 2 years ago
    java.lang.ClassNotFoundException: Didn't find class "com.android.vending.VendingApplication" on path: DexPathList[[zip file "/system/app/LicenseChecker/LicenseChecker.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    Didn't find class "com.google.common.base.Preconditions" on path: DexPathList[[zip file "/system/framework/com.google.android.maps.jar", zip file "/data/app/com.example.sere.path5-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]

    at dalvik.system.BaseDexClassLoader.findClass()
  2. Android Platform
    BaseDexClassLoader.findClass
    1. dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    1 frame
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:511)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:469)
    2 frames
  4. Google HTTP Client Library for Java
    NetHttpTransport.<init>
    1. com.google.api.client.util.ClassInfo.<init>(ClassInfo.java:324)
    2. com.google.api.client.util.ClassInfo.of(ClassInfo.java:77)
    3. com.google.api.client.util.GenericData.<init>(GenericData.java:44)
    4. com.google.api.client.http.HttpHeaders.<init>(HttpHeaders.java:37)
    5. com.google.api.client.http.HttpTransport.<init>(HttpTransport.java:82)
    6. com.google.api.client.http.javanet.NetHttpTransport.<init>(NetHttpTransport.java:35)
    6 frames
  5. com.a2plab.googleplaces
    GooglePlaces.getNearbyPlaces
    1. com.a2plab.googleplaces.query.QueryBuilder.<clinit>(QueryBuilder.java:24)
    2. com.a2plab.googleplaces.query.Query.<init>(Query.java:10)
    3. com.a2plab.googleplaces.query.SearchQuery.<init>(SearchQuery.java:12)
    4. com.a2plab.googleplaces.query.NearbySearchQuery.<init>(NearbySearchQuery.java:29)
    5. com.a2plab.googleplaces.GooglePlaces.getNearbyPlaces(GooglePlaces.java:46)
    6. com.a2plab.googleplaces.GooglePlaces.getNearbyPlaces(GooglePlaces.java:71)
    6 frames
  6. com.example.sere
    MainActivity.onCreate
    1. com.example.sere.path5.ARFragment.loadPlaces(ARFragment.java:1124)
    2. com.example.sere.path5.MainActivity.onCreate(MainActivity.java:377)
    2 frames
  7. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:6221)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2611)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2723)
    5. android.app.ActivityThread.access$900(ActivityThread.java:172)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1422)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:145)
    9. android.app.ActivityThread.main(ActivityThread.java:5832)
    9 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
    2 frames