我有一个可以在模拟器和自己的设备上正常运行的应用程序。但是,当我在视图之间导航时,会收到消息
No package ID ff found for ID 0xffffffff.
Run Code Online (Sandbox Code Playgroud)
每时每刻。我不知道这意味着什么或它来自哪里。
在日志中搜索,我还会发现以下消息:
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
Run Code Online (Sandbox Code Playgroud)
而且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)
Run Code Online (Sandbox Code Playgroud)
该应用程序至少可以在我的设备上运行,有人遇到过类似的事情吗?
我确实使用了aar-module从另一个项目中导入的内容。可以吗?
小智 18
这也发生在我身上,我已经苦了几个小时才知道为什么会发生。好像从:
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha3'
Run Code Online (Sandbox Code Playgroud)
至:
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha4'
Run Code Online (Sandbox Code Playgroud)
解决了案件。告诉我您是否也遇到了问题(可能是更新中的错误)
| 归档时间: |
|
| 查看次数: |
5116 次 |
| 最近记录: |