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?
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)
Newer Android versions no longer include the library (Apache HTTP) Google Maps and other libraries require, leading to this problem.
The recommended solution is to either update the Google Maps dependency in the Gradle file to at least 16.1.x (or update whichever library has the issue), but there is another workaround too. Just adding a declaration that you still need the library into your manifest within the tag will resolve it
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
User contributions licensed under CC BY-SA 3.0