Community

  • java.lang.IncompatibleClassChangeError: Structural change of com.appnext.core.m is hazardous posted

    And this is your current native SDK, could you help me with this one?

    java.lang.IncompatibleClassChangeError: Structural change of com.appnext.core.m is hazardous (/data/user/0/com.myapp.ads/cache/slice-AppnextAndroidSDK_d21eeffe84520b1aefe037b5312cab0183ab0c9a-classes.dex at compile time, /data/user/0/com.myapp.ads/cache/slice-NativeAdsSDK_0b1cbe3842a3baad8f99b92981f86b0cd207bbdc-classes.dex at runtime): Virtual method count off: 9 vs 2
    Lcom/appnext/core/m; (Compile time):
    Static fields:
    Ljava/lang/String; a
    Instance fields:
    Ljava/util/HashMap; b
    Ljava/util/ArrayList; c
    I d
    Direct methods:
    <init>()V
    a(Lcom/appnext/core/m;I)I
    a(Lcom/appnext/core/m;Ljava/lang/String;)V
    a(Lcom/appnext/core/m;Ljava/util/HashMap;)V
    a(Ljava/lang/String;)V
    a(Ljava/util/HashMap;)V
    Virtual methods:
    a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    a(Lcom/appnext/core/m$a;)V
    b()Ljava/lang/String;
    b(Ljava/lang/String;)Ljava/lang/String;
    b(Ljava/util/HashMap;)V
    c(Ljava/lang/String;)Ljava/lang/String;
    c()Ljava/util/HashMap;
    d()Ljava/util/HashMap;
    e()Z
    Lcom/appnext/core/m; (Runtime):
    Static fields:
    Instance fields:
    Lcom/appnext/core/DownloadService; a
    Landroid/content/ServiceConnection; b
    Direct methods:
    <init>()V
    a(Lcom/appnext/core/m;Lcom/appnext/core/DownloadService;)Lcom/appnext/core/DownloadService;
    Virtual methods:
    a(Landroid/content/Context;)V
    a(Landroid/content/Intent;)V
    (declaration of 'com.appnext.ads.interstitial.c' appears in /data/data/com.myapp.ads/files/instant-run/dex/slice-AppnextAndroidSDK_d21eeffe84520b1aefe037b5312cab0183ab0c9a-classes.dex)
    at dalvik.system.DexFile.defineClassNative(Native Method)
    at dalvik.system.DexFile.defineClass(DexFile.java:226)
    at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219)
    at dalvik.system.DexPathList.findClass(DexPathList.java:338)
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
    at com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader.findClass(IncrementalClassLoader.java:90)
    at com.android.tools.fd.runtime.IncrementalClassLoader.findClass(IncrementalClassLoader.java:62)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
    at com.appnext.ads.interstitial.InterstitialConfig.getSettings(SourceFile:34)
    at com.appnext.core.Configuration.<init>(SourceFile:21)
    at com.appnext.ads.interstitial.InterstitialConfig.<init>(SourceFile:13)
    at com.myapp.ads.BaseAdFragmentMainActivity.startInterstital(BaseAdFragmentMainActivity.java:185)
    at com.myapp.ads.BaseAdFragmentMainActivity.onCreate(BaseAdFragmentMainActivity.java:81)
    at android.app.Activity.performCreate(Activity.java:6237)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
    at android.app.ActivityThread.-wrap11(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5417)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

    Reply
  • @couch-dev

    Hi Kai,
    In order to investigate the root cause, please send us your latest apk file for review.

    Reply
Loading ...