java.lang.NoClassDefFoundError: com.google.i18n.phonenumbers.nano.Phonemetadata$PhoneMetadata

GitHub | sghazagh | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Runtime dependency exception after upgrading to 7.6.0 for my Gradle project

    GitHub | 7 months ago | sghazagh
    java.lang.NoClassDefFoundError: com.google.i18n.phonenumbers.nano.Phonemetadata$PhoneMetadata

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      com.google.i18n.phonenumbers.nano.Phonemetadata$PhoneMetadata

      at com.google.i18n.phonenumbers.MultiFileMetadataSourceImpl.getMetadataForRegion()
    2. com.google.i18n
      PhoneNumberUtil.parse
      1. com.google.i18n.phonenumbers.MultiFileMetadataSourceImpl.getMetadataForRegion(MultiFileMetadataSourceImpl.java:71)
      2. com.google.i18n.phonenumbers.PhoneNumberUtil.getMetadataForRegion(PhoneNumberUtil.java:2122)
      3. com.google.i18n.phonenumbers.PhoneNumberUtil.parseHelper(PhoneNumberUtil.java:2981)
      4. com.google.i18n.phonenumbers.PhoneNumberUtil.parse(PhoneNumberUtil.java:2842)
      5. com.google.i18n.phonenumbers.PhoneNumberUtil.parse(PhoneNumberUtil.java:2832)
      5 frames
    3. au.com.elar_systems
      MainActivity.onCreate
      1. au.com.elar_systems.www.doky.MainActivity.onCreate(MainActivity.java:500)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:6500)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1120)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3072)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3218)
      5. android.app.ActivityThread.access$1000(ActivityThread.java:198)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1676)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:145)
      9. android.app.ActivityThread.main(ActivityThread.java:6837)
      9 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
      2 frames