Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-6668

Android 11 ClassNotFoundException: org.apache.commons.codec.BinaryEncoder

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Component/s: Titanium SDK & CLI
    • Labels:
    • Environment:

      Titanium SDK 8.0.0.GA
      Android 11

      Description

      Hi,

      I have a random Exception when launching my Android app on Android 11 device :
      java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/commons/codec/BinaryEncoder;

      It causes that the app can't launch and stays frozen time to time.

      The problem was constated since the app was published with android:targetSdkVersion="28" or android:targetSdkVersion="29".
      It seems to be related to Google breaking-changes introduced with Android 9 with Apache libraries, but why the app is working 9 times on 10 ? I build the app with Titanium SDK 8.0.0.GA so i guess the problem should be fixed !

      Attached are the complete Exception logs (first exception stack at line 61, second at line 122, and other more after).
      The problem is verry similar to this one : https://jira.appcelerator.org/browse/TIMOB-26297

      Thank you in advance for your help,
      Regards

        Attachments

          Activity

            People

            • Assignee:
              amukherjee Abir Mukherjee
              Reporter:
              libanez libanez
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Integration