首页 > 解决方案 > 以下 API 已列入灰名单,Google 无法保证它们可以在现有的 Android 版本上运行

问题描述

在启动应用程序之前,我收到以下警告,有人知道如何解决这些问题吗?

API Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V
10 occurrences identified. Only unique stack traces are shown.

API Landroid/graphics/FontFamily;-><init>()V
2 occurrences identified. Only unique stack traces are shown.

API Landroid/graphics/FontFamily;->abortCreation()V
2 occurrences identified. Only unique stack traces are shown.

API Landroid/graphics/FontFamily;->addFontFromAssetManager(Landroid/content/res/AssetManager;Ljava/lang/String;IZIII[Landroid/graphics/fonts/FontVariationAxis;)Z
2 occurrences identified. Only unique stack traces are shown.

API Landroid/graphics/FontFamily;->addFontFromBuffer(Ljava/nio/ByteBuffer;I[Landroid/graphics/fonts/FontVariationAxis;II)Z
2 occurrences identified. Only unique stack traces are shown.

API Landroid/graphics/FontFamily;->freeze()Z
2 occurrences identified. Only unique stack traces are shown.

API Landroid/graphics/Typeface;->createFromFamiliesWithDefault([Landroid/graphics/FontFamily;Ljava/lang/String;IILandroid/graphics/Typeface;
2 occurrences identified. Only unique stack traces are shown.

API Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z
2 occurrences identified. Only unique stack traces are shown.

API Landroid/content/Context;->bindServiceAsUser(Landroid/content/Intent;Landroid/content/ServiceConnection;ILandroid/os/Handler;Landroid/os/UserHandle;)Z
1 occurrence identified

标签: javaandroidandroid-studiokotlin

解决方案


推荐阅读