1

I am getting this error ever since upgrading the SDK version to 30:

    E/TypefaceCompatApi26Impl: Unable to collect necessary methods for class java.lang.NoSuchMethodException java.lang.NoSuchMethodException: android.graphics.FontFamily.<init>

The issue seems to be resolved for androidx users by updating the androidx.appcompat:appcompat lib, as seen here. I am still using support packages however (com.android.support:appcompat-v7 at v28.0.0) with which I still encounter the issue.

I'm new to Android development and was hoping someone could suggest a fix other than migrating to androidx.

Tum
  • 6,937
  • 2
  • 25
  • 23
  • 1
    See solution here https://stackoverflow.com/questions/63181236/java-android-app-java-lang-nosuchmethodexception-android-graphics-fontfamily-i - upgrade your androix depdendency – vladaman May 07 '23 at 18:31

0 Answers0