java.lang.NoClassDefFoundError: javax/microedition/khronos/opengles/GL

GitHub | siavashabdoli | 3 months ago
  1. 0

    error when setup activity version 3.1.1

    GitHub | 3 months ago | siavashabdoli
    java.lang.NoClassDefFoundError: javax/microedition/khronos/opengles/GL
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Cannot indirectly reference library resource.

    GitHub | 2 years ago | tcw48
    java.lang.ClassNotFoundException: robolectricdemo.com.baselibrary.R$color
  4. 0

    Robolectric R$color classDefNotFound

    Stack Overflow | 2 years ago
    java.lang.ClassNotFoundException: robolectricdemo.com.baselibrary.R$color

  1. andyglick 2 times, last 6 days ago
  2. richard77 1 times, last 1 week ago
  3. musketyr 2 times, last 1 week ago
  4. michallos 2 times, last 1 week ago
  5. batwalrus76 2 times, last 1 week ago
67 more registered users
28 unregistered visitors
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

    javax.microedition.khronos.opengles.GL

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    4 frames
  3. Roboelectric
    InstrumentingClassLoader.loadClass
    1. org.robolectric.internal.bytecode.InstrumentingClassLoader.loadClass(InstrumentingClassLoader.java:124)
    1 frame
  4. Java RT
    Class.getDeclaredMethod
    1. java.lang.Class.getDeclaredMethods0(Native Method)
    2. java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
    3. java.lang.Class.getDeclaredMethod(Class.java:2128)
    3 frames
  5. Roboelectric
    RobolectricInternals.classInitializing
    1. org.robolectric.util.ReflectionHelpers.callStaticMethod(ReflectionHelpers.java:224)
    2. org.robolectric.internal.bytecode.RobolectricInternals.performStaticInitialization(RobolectricInternals.java:54)
    3. org.robolectric.internal.bytecode.ShadowWrangler.classInitializing(ShadowWrangler.java:114)
    4. org.robolectric.internal.bytecode.RobolectricInternals.classInitializing(RobolectricInternals.java:18)
    4 frames
  6. Android Platform
    FrameLayout.<init>
    1. android.graphics.Canvas.<clinit>(Canvas.java)
    2. android.view.View.$$robo$$__constructor__(View.java:3804)
    3. android.view.View.<init>(View.java)
    4. android.view.View.<init>(View.java)
    5. android.view.ViewGroup.<init>(ViewGroup.java)
    6. android.view.ViewGroup.<init>(ViewGroup.java)
    7. android.view.ViewGroup.<init>(ViewGroup.java)
    8. android.view.ViewGroup.<init>(ViewGroup.java)
    9. android.widget.FrameLayout.<init>(FrameLayout.java)
    9 frames
  7. Android
    PhoneWindow.getDecorView
    1. com.android.internal.policy.PhoneWindow$DecorView.<init>(PhoneWindow.java)
    2. com.android.internal.policy.PhoneWindow.$$robo$$generateDecor(PhoneWindow.java:3630)
    3. com.android.internal.policy.PhoneWindow.generateDecor(PhoneWindow.java)
    4. com.android.internal.policy.PhoneWindow.$$robo$$installDecor(PhoneWindow.java:3973)
    5. com.android.internal.policy.PhoneWindow.installDecor(PhoneWindow.java)
    6. com.android.internal.policy.PhoneWindow.$$robo$$getDecorView(PhoneWindow.java:1969)
    7. com.android.internal.policy.PhoneWindow.getDecorView(PhoneWindow.java)
    7 frames
  8. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.$$robo$$createSubDecor(AppCompatDelegateImplV7.java:363)
    2. android.support.v7.app.AppCompatDelegateImplV7.createSubDecor(AppCompatDelegateImplV7.java)
    3. android.support.v7.app.AppCompatDelegateImplV7.$$robo$$ensureSubDecor(AppCompatDelegateImplV7.java:312)
    4. android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java)
    5. android.support.v7.app.AppCompatDelegateImplV7.$$robo$$setContentView(AppCompatDelegateImplV7.java:277)
    6. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java)
    7. android.support.v7.app.AppCompatActivity.$$robo$$setContentView(AppCompatActivity.java:140)
    8. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java)
    8 frames
  9. com.sheypoor.mobile
    LoginRegisterActivity.onCreate
    1. com.sheypoor.mobile.mvp.ui.LoginRegisterActivity.onCreate(LoginRegisterActivity.java:43)
    1 frame
  10. Android Platform
    Activity.performCreate
    1. android.app.Activity.$$robo$$performCreate(Activity.java:6237)
    2. android.app.Activity.performCreate(Activity.java)
    2 frames
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  12. Roboelectric
    ActivityController$1.run
    1. org.robolectric.util.ReflectionHelpers.callInstanceMethod(ReflectionHelpers.java:195)
    2. org.robolectric.util.ActivityController$1.run(ActivityController.java:126)
    2 frames
  13. Roboelectric HTTP
    CoreShadowsAdapter$2.runPaused
    1. org.robolectric.shadows.ShadowLooper.runPaused(ShadowLooper.java:340)
    2. org.robolectric.shadows.CoreShadowsAdapter$2.runPaused(CoreShadowsAdapter.java:40)
    2 frames
  14. Roboelectric
    Robolectric.setupActivity
    1. org.robolectric.util.ActivityController.create(ActivityController.java:123)
    2. org.robolectric.util.ActivityController.create(ActivityController.java:133)
    3. org.robolectric.util.ActivityController.setup(ActivityController.java:227)
    4. org.robolectric.Robolectric.setupActivity(Robolectric.java:96)
    4 frames
  15. com.sheypoor.mobile
    LoginRegisterActivityTest.setUp
    1. com.sheypoor.mobile.LoginRegisterActivityTest.setUp(LoginRegisterActivityTest.java:32)
    1 frame
  16. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  17. JUnit
    RunBefores.evaluate
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
    4 frames
  18. Roboelectric
    RobolectricTestRunner.runChild
    1. org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:248)
    2. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:174)
    3. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:63)
    3 frames
  19. JUnit
    ParentRunner$2.evaluate
    1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    5 frames
  20. Roboelectric
    RobolectricTestRunner$1.evaluate
    1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:140)
    1 frame
  21. JUnit
    JUnitCore.run
    1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    2. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    2 frames
  22. IntelliJ junit4 module
    JUnit4IdeaTestRunner.startRunnerWithArgs
    1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)
    2. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
    2 frames
  23. IDEA
    JUnitStarter.main
    1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
    2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
    2 frames
  24. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  25. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame