我的应用程序可以工作,但日志会"No package ID ff found for ID 0xffffffff."



>我有一个应用程序,在我的模拟器和我自己的设备上运行良好。但是,当我在视图之间导航时,我收到消息

No package ID ff found for ID 0xffffffff.

一直以来。我不知道这是什么意思,也不知道它来自哪里。

搜索日志,我还发现了以下消息:

I/low.wordscanne: The ClassLoaderContext is a special shared library.
2019-04-10 16:25:10.984 26226-26226/? I/chatty:uid=10099(com.myapp.erikbylow.wordscanner) identical 2 lines
2019-04-10 16:25:10.985 26226-26226/? I/low.wordscanne: The ClassLoaderContext is a special shared library.
2019-04-10 16:25:10.992 26226-26226/? W/low.wordscanne: Unsupported class loader

MainActivity - onCreate我总是收到这个警告

Accessing hidden method Landroid/graphics/FontFamily;-><init>()V (light greylist, reflection)
2019-04-10 16:26:24.328 26226-26226/com.myapp.myname.wordscanner W/low.wordscanne: Accessing hidden method Landroid/graphics/FontFamily;->addFontFromAssetManager(Landroid/content/res/AssetManager;Ljava/lang/String;IZIII[Landroid/graphics/fonts/FontVariationAxis;)Z (light greylist, reflection)
2019-04-10 16:26:24.328 26226-26226/com.myapp.myname.wordscanner W/low.wordscanne: Accessing hidden method Landroid/graphics/FontFamily;->addFontFromBuffer(Ljava/nio/ByteBuffer;I[Landroid/graphics/fonts/FontVariationAxis;II)Z (light greylist, reflection)
2019-04-10 16:26:24.328 26226-26226/com.myapp.myname.wordscanner W/low.wordscanne: Accessing hidden method Landroid/graphics/FontFamily;->freeze()Z (light greylist, reflection)
2019-04-10 16:26:24.328 26226-26226/com.myapp.myname.wordscanner W/low.wordscanne: Accessing hidden method Landroid/graphics/FontFamily;->abortCreation()V (light greylist, reflection)
2019-04-10 16:26:24.328 26226-26226/com.myapp.myname.wordscanner W/low.wordscanne: Accessing hidden method Landroid/graphics/Typeface;->createFromFamiliesWithDefault([Landroid/graphics/FontFamily;Ljava/lang/String;II)Landroid/graphics/Typeface; (light greylist, reflection)

该应用程序至少可以在我的设备上运行,有没有人经历过类似的事情?

我确实使用从另一个项目导入的aar-module。这会是一个问题吗?

它也发生在我身上,我已经挣扎了几个小时,为什么会发生这种情况。似乎从以下位置更改:

implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha3'

自:

implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha4'

破案了。告诉我它是否也发生在你身上(可能是更新中的错误(

就我而言,在升级到许多Google AndroidX Nuget软件包的最新版本后,该问题在我的Xamarin Forms中遇到了。我一个接一个地降级到以前的版本,罪魁祸首在Xamarin.AndroidX.Legacy.Support.V4中。v1.0.0.6 是最后一个对我来说没有问题的产品。我不知道原因。

就我而言,事实证明,当我应该打电话给@ColorRes时,我试图打电话给@ColorInt。

相关内容

最新更新