com.android.dx.cf.iface.ParseException: InvokeDynamic not supported

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

    InvokeDynamic not supported when building for Android

    Stack Overflow | 5 months ago | Carsten Hagemann
    com.android.dx.cf.iface.ParseException: InvokeDynamic not supported
  2. 0

    android of support is difficult ?

    GitHub | 1 year ago | kimukou
    com.android.dx.cf.iface.ParseException: InvokeDynamic not supported

    Root Cause Analysis

    1. com.android.dx.cf.iface.ParseException

      InvokeDynamic not supported

      at com.android.dx.cf.cst.ConstantPoolParser.determineOffsets()
    2. Android SDK's dx Tool
      DirectClassFile.getAttributes
      1. com.android.dx.cf.cst.ConstantPoolParser.determineOffsets(ConstantPoolParser.java:226)
      2. com.android.dx.cf.cst.ConstantPoolParser.parse(ConstantPoolParser.java:132)
      3. com.android.dx.cf.cst.ConstantPoolParser.parseIfNecessary(ConstantPoolParser.java:124)
      4. com.android.dx.cf.cst.ConstantPoolParser.getPool(ConstantPoolParser.java:115)
      5. com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:491)
      6. com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:406)
      7. com.android.dx.cf.direct.DirectClassFile.parseToEndIfNecessary(DirectClassFile.java:397)
      8. com.android.dx.cf.direct.DirectClassFile.getAttributes(DirectClassFile.java:311)
      8 frames
    3. com.android.multidex
      ClassReferenceListBuilder.main
      1. com.android.multidex.MainDexListBuilder.hasRuntimeVisibleAnnotation(MainDexListBuilder.java:191)
      2. com.android.multidex.MainDexListBuilder.keepAnnotated(MainDexListBuilder.java:167)
      3. com.android.multidex.MainDexListBuilder.<init>(MainDexListBuilder.java:121)
      4. com.android.multidex.MainDexListBuilder.main(MainDexListBuilder.java:91)
      5. com.android.multidex.ClassReferenceListBuilder.main(ClassReferenceListBuilder.java:58)
      5 frames