Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

My app works but log gives "No package ID ff found for ID 0xffffffff."

Tags:

android

I have an app that works fine on my emulators and on my own device. However, when I navigate between views I get the message

No package ID ff found for ID 0xffffffff.

all the time. I do not know what it means or where it comes from.

Searching through the log I also find these messages:

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

and in MainActivity - onCreate I always get this warning

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)

The app works at least on my devices, have anyone experienced something similar?

I do use an aar-module imported from another project. Can that be a problem?

like image 413
El_Loco Avatar asked Apr 10 '19 14:04

El_Loco


1 Answers

It happened to me too, I've struggled for a few hours now for why it happens. Seems like changing from:

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

to:

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

solved the case. Tell me if it happened to you too (probably a bug in the update)

like image 172
avivmg Avatar answered Nov 11 '22 14:11

avivmg