java.lang.NoClassDefFoundError: Failed resolution of: Lin/blahapp/xxx/BlahUtil BlahUtil is a kotlin object with @JvmStatic annotations in it. I call these static methods from the rest of the android app(All in java) . We use multidex 1.0.1. I am on android studio 2.1.2, using JDK 7. Relevant gradle configs: compileSdkVersion 23 buildToolsVersion "23.0.3" defaultConfig { minSdkVersion 16 targetSdkVersion 23 } dexOptions { incremental true dexInProcess true javaMaxHeapSize "10g" preDexLibraries true } buildscript { ext.kotlin_version = '1.0.3' dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } apply plugin: 'kotlin-android' dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" } Trace: at in.blahapp.xxx.OurActivity

Stack Overflow | letronje | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Android Kotlin : java.lang.NoClassDefFoundError: Failed resolution of: <KotlinObject>

    Stack Overflow | 9 months ago | letronje
    java.lang.NoClassDefFoundError: Failed resolution of: Lin/blahapp/xxx/BlahUtil BlahUtil is a kotlin object with @JvmStatic annotations in it. I call these static methods from the rest of the android app(All in java) . We use multidex 1.0.1. I am on android studio 2.1.2, using JDK 7. Relevant gradle configs: compileSdkVersion 23 buildToolsVersion "23.0.3" defaultConfig { minSdkVersion 16 targetSdkVersion 23 } dexOptions { incremental true dexInProcess true javaMaxHeapSize "10g" preDexLibraries true } buildscript { ext.kotlin_version = '1.0.3' dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } apply plugin: 'kotlin-android' dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" } Trace: at in.blahapp.xxx.OurActivity
  2. 0

    log4j-dev.logging.apache.org - [jira] [Commented] (LOG4J2-703) Android: Could not find class 'javax.naming.InitialContext', referenced from method org.apache.logging.log4j.core.lookup.JndiLookup.lookup - msg#00567 - Recent Discussion OSDir.com

    osdir.com | 1 year ago
    java.lang.NoClassDefFoundError: java.lang.management.ManagementFactory at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:118) at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:369) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:416) at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:146) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:75) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:37) at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:473) at com.torointl.log4j2xtest.MyActivity.onCreate(MyActivity.java:28)
  3. 0

    Obscure bug java.lang.NoClassDefFoundError when app starts

    Stack Overflow | 2 years ago | doubledeath
    java.lang.NoClassDefFoundError: &lt;mypackagename&gt;.util.IabHelper$1 at &lt;mypackagename&gt;.util.IabHelper.startSetup(IabHelper.java:210) at &lt;mypackagename&gt;.ParentActivity.onCreate(ParentActivity.java:159) at &lt;mypackagename&gt;.SplashScreenActivity.onCreate(SplashScreenActivity.java:60)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    how to do Implementation of Android TvView

    Stack Overflow | 2 years ago | Muhammad Adil
    java.lang.NoClassDefFoundError: android.media.tv.TvView at com.example.tvtest.MainActivity.onCreate(MainActivity.java:25)
  6. 0

    Impossible to instantiate an OsmDroid MapView

    Stack Overflow | 5 years ago | Cyrille Telmer
    java.lang.NoClassDefFoundError: org.osmdroid.views.MapView at testmap.sagem.TestMapActivity.onCreate(TestMapActivity.java:17)

    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.NoClassDefFoundError

      Failed resolution of: Lin/blahapp/xxx/BlahUtil BlahUtil is a kotlin object with @JvmStatic annotations in it. I call these static methods from the rest of the android app(All in java) . We use multidex 1.0.1. I am on android studio 2.1.2, using JDK 7. Relevant gradle configs: compileSdkVersion 23 buildToolsVersion "23.0.3" defaultConfig { minSdkVersion 16 targetSdkVersion 23 } dexOptions { incremental true dexInProcess true javaMaxHeapSize "10g" preDexLibraries true } buildscript { ext.kotlin_version = '1.0.3' dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } apply plugin: 'kotlin-android' dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" } Trace: at in.blahapp.xxx.OurActivity

      at android.app.Activity.performCreate()
    2. Android Platform
      Activity.performCreate
      1. android.app.Activity.performCreate(Activity.java:6251)
      1 frame