Invalid [21.1.20][Mi9SE] Weath AQI Bug


KcNirvana

Members
May 19, 2015
796
102
Hello,
When clicking on AQI it crashs.
Code:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.miui.weather2/com.miui.weather2.ActivityAqiDetail}: android.view.InflateException: Binary XML file line #5 in com.miui.weather2:layout/miuix_appcompat_screen_action_bar: Binary XML file line #5 in com.miui.weather2:layout/miuix_appcompat_screen_action_bar: Error inflating class miuix.appcompat.internal.app.widget.ActionBarContainer
	at android.app.ActivityThread.performLaunchActivity(Unknown Source:663)
	at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
	at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:67)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
	at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
	at android.app.ActivityThread$H.handleMessage(Unknown Source:52)
	at android.os.Handler.dispatchMessage(Unknown Source:19)
	at android.os.Looper.loop(Unknown Source:249)
	at android.app.ActivityThread.main(Unknown Source:134)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
	at com.android.internal.os.ZygoteInit.main(Unknown Source:313)
Caused by: android.view.InflateException: Binary XML file line #5 in com.miui.weather2:layout/miuix_appcompat_screen_action_bar: Binary XML file line #5 in com.miui.weather2:layout/miuix_appcompat_screen_action_bar: Error inflating class miuix.appcompat.internal.app.widget.ActionBarContainer
Caused by: android.view.InflateException: Binary XML file line #5 in com.miui.weather2:layout/miuix_appcompat_screen_action_bar: Error inflating class miuix.appcompat.internal.app.widget.ActionBarContainer
Caused by: java.lang.reflect.InvocationTargetException
	at java.lang.reflect.Constructor.newInstance0(Native Method)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
	at android.view.LayoutInflater.createView(Unknown Source:210)
	at android.view.LayoutInflater.createViewFromTag(Unknown Source:71)
	at android.view.LayoutInflater.createViewFromTag(Unknown Source:6)
	at android.view.LayoutInflater.rInflate(Unknown Source:92)
	at android.view.LayoutInflater.rInflateChildren(Unknown Source:9)
	at android.view.LayoutInflater.inflate(Unknown Source:107)
	at android.view.LayoutInflater.inflate(Unknown Source:27)
	at android.view.LayoutInflater.inflate(Unknown Source:5)
	at android.view.View.inflate(Unknown Source:4)
	at miuix.appcompat.app.AppDelegate.installToDecor(Unknown Source:91)
	at miuix.appcompat.app.AppDelegate.installSubDecor(Unknown Source:91)
	at miuix.appcompat.app.AppDelegate.onCreate(Unknown Source:8)
	at miuix.appcompat.app.AppCompatActivity.onCreate(Unknown Source:2)
	at com.miui.weather2.BaseActivity.onCreate(Unknown Source:0)
	at com.miui.weather2.ActivityAqiDetail.onCreate(Unknown Source:34)
	at android.app.Activity.performCreate(Unknown Source:77)
	at android.app.Activity.performCreate(Unknown Source:1)
	at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
	at android.app.ActivityThread.performLaunchActivity(Unknown Source:399)
	at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
	at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:67)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
	at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
	at android.app.ActivityThread$H.handleMessage(Unknown Source:52)
	at android.os.Handler.dispatchMessage(Unknown Source:19)
	at android.os.Looper.loop(Unknown Source:249)
	at android.app.ActivityThread.main(Unknown Source:134)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
	at com.android.internal.os.ZygoteInit.main(Unknown Source:313)
Caused by: java.lang.UnsatisfiedLinkError: No implementation found for long com.miui.blur.sdk.drawable.BlurDrawable.nCreateNativeFunctor(int, int) (tried Java_com_miui_blur_sdk_drawable_BlurDrawable_nCreateNativeFunctor and Java_com_miui_blur_sdk_drawable_BlurDrawable_nCreateNativeFunctor__II)
	at com.miui.blur.sdk.drawable.BlurDrawable.nCreateNativeFunctor(Native Method)
	at com.miui.blur.sdk.drawable.BlurDrawable.<init>(Unknown Source:53)
	at miuix.appcompat.internal.app.widget.ActionBarContainer.createBlurBackground(Unknown Source:2)
	at miuix.appcompat.internal.app.widget.ActionBarContainer.isActionBarSupportBlur(Unknown Source:12)
	at miuix.appcompat.internal.app.widget.ActionBarContainer.setBlurBackground(Unknown Source:0)
	at miuix.appcompat.internal.app.widget.ActionBarContainer.<init>(Unknown Source:104)
	... 32 more
 
  • Like
Reactions: aadil.gillani
Hello,
When clicking on AQI it crashs.
Code:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.miui.weather2/com.miui.weather2.ActivityAqiDetail}: android.view.InflateException: Binary XML file line #5 in com.miui.weather2:layout/miuix_appcompat_screen_action_bar: Binary XML file line #5 in com.miui.weather2:layout/miuix_appcompat_screen_action_bar: Error inflating class miuix.appcompat.internal.app.widget.ActionBarContainer
at android.app.ActivityThread.performLaunchActivity(Unknown Source:663)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:67)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
at android.app.ActivityThread$H.handleMessage(Unknown Source:52)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:249)
at android.app.ActivityThread.main(Unknown Source:134)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:313)
Caused by: android.view.InflateException: Binary XML file line #5 in com.miui.weather2:layout/miuix_appcompat_screen_action_bar: Binary XML file line #5 in com.miui.weather2:layout/miuix_appcompat_screen_action_bar: Error inflating class miuix.appcompat.internal.app.widget.ActionBarContainer
Caused by: android.view.InflateException: Binary XML file line #5 in com.miui.weather2:layout/miuix_appcompat_screen_action_bar: Error inflating class miuix.appcompat.internal.app.widget.ActionBarContainer
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at android.view.LayoutInflater.createView(Unknown Source:210)
at android.view.LayoutInflater.createViewFromTag(Unknown Source:71)
at android.view.LayoutInflater.createViewFromTag(Unknown Source:6)
at android.view.LayoutInflater.rInflate(Unknown Source:92)
at android.view.LayoutInflater.rInflateChildren(Unknown Source:9)
at android.view.LayoutInflater.inflate(Unknown Source:107)
at android.view.LayoutInflater.inflate(Unknown Source:27)
at android.view.LayoutInflater.inflate(Unknown Source:5)
at android.view.View.inflate(Unknown Source:4)
at miuix.appcompat.app.AppDelegate.installToDecor(Unknown Source:91)
at miuix.appcompat.app.AppDelegate.installSubDecor(Unknown Source:91)
at miuix.appcompat.app.AppDelegate.onCreate(Unknown Source:8)
at miuix.appcompat.app.AppCompatActivity.onCreate(Unknown Source:2)
at com.miui.weather2.BaseActivity.onCreate(Unknown Source:0)
at com.miui.weather2.ActivityAqiDetail.onCreate(Unknown Source:34)
at android.app.Activity.performCreate(Unknown Source:77)
at android.app.Activity.performCreate(Unknown Source:1)
at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
at android.app.ActivityThread.performLaunchActivity(Unknown Source:399)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:67)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
at android.app.ActivityThread$H.handleMessage(Unknown Source:52)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:249)
at android.app.ActivityThread.main(Unknown Source:134)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:313)
Caused by: java.lang.UnsatisfiedLinkError: No implementation found for long com.miui.blur.sdk.drawable.BlurDrawable.nCreateNativeFunctor(int, int) (tried Java_com_miui_blur_sdk_drawable_BlurDrawable_nCreateNativeFunctor and Java_com_miui_blur_sdk_drawable_BlurDrawable_nCreateNativeFunctor__II)
at com.miui.blur.sdk.drawable.BlurDrawable.nCreateNativeFunctor(Native Method)
at com.miui.blur.sdk.drawable.BlurDrawable.(Unknown Source:53)
at miuix.appcompat.internal.app.widget.ActionBarContainer.createBlurBackground(Unknown Source:2)
at miuix.appcompat.internal.app.widget.ActionBarContainer.isActionBarSupportBlur(Unknown Source:12)
at miuix.appcompat.internal.app.widget.ActionBarContainer.setBlurBackground(Unknown Source:0)
at miuix.appcompat.internal.app.widget.ActionBarContainer.(Unknown Source:104)
... 32 more
According to the Error code it is somehow related to blur sdk in the weather app also could you confirm if this issue is present on multiple location or just on one.

I might be wrong tho better wait for a reply from a Senior Dev

Sent from my Redmi Note 7 using Tapatalk
 
According to the Error code it is somehow related to blur sdk in the weather app also could you confirm if this issue is present on multiple location or just on one.

I might be wrong tho better wait for a reply from a Senior Dev

Sent from my Redmi Note 7 using Tapatalk
But do you have this error?
 
Nope I am not facing.

Which is why it means either of the 3 things

It maybe Device specific
It maybe be location specific
It maybe Android version specific

Sent from my Redmi Note 7 using Tapatalk
Nevermind...
Installed Rom again and now it's gone...
But thank you
:)
 
Hello,
When clicking on AQI it crashs.
Code:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.miui.weather2/com.miui.weather2.ActivityAqiDetail}: android.view.InflateException: Binary XML file line #5 in com.miui.weather2:layout/miuix_appcompat_screen_action_bar: Binary XML file line #5 in com.miui.weather2:layout/miuix_appcompat_screen_action_bar: Error inflating class miuix.appcompat.internal.app.widget.ActionBarContainer
    at android.app.ActivityThread.performLaunchActivity(Unknown Source:663)
    at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
    at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:67)
    at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
    at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
    at android.app.ActivityThread$H.handleMessage(Unknown Source:52)
    at android.os.Handler.dispatchMessage(Unknown Source:19)
    at android.os.Looper.loop(Unknown Source:249)
    at android.app.ActivityThread.main(Unknown Source:134)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
    at com.android.internal.os.ZygoteInit.main(Unknown Source:313)
Caused by: android.view.InflateException: Binary XML file line #5 in com.miui.weather2:layout/miuix_appcompat_screen_action_bar: Binary XML file line #5 in com.miui.weather2:layout/miuix_appcompat_screen_action_bar: Error inflating class miuix.appcompat.internal.app.widget.ActionBarContainer
Caused by: android.view.InflateException: Binary XML file line #5 in com.miui.weather2:layout/miuix_appcompat_screen_action_bar: Error inflating class miuix.appcompat.internal.app.widget.ActionBarContainer
Caused by: java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Constructor.newInstance0(Native Method)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
    at android.view.LayoutInflater.createView(Unknown Source:210)
    at android.view.LayoutInflater.createViewFromTag(Unknown Source:71)
    at android.view.LayoutInflater.createViewFromTag(Unknown Source:6)
    at android.view.LayoutInflater.rInflate(Unknown Source:92)
    at android.view.LayoutInflater.rInflateChildren(Unknown Source:9)
    at android.view.LayoutInflater.inflate(Unknown Source:107)
    at android.view.LayoutInflater.inflate(Unknown Source:27)
    at android.view.LayoutInflater.inflate(Unknown Source:5)
    at android.view.View.inflate(Unknown Source:4)
    at miuix.appcompat.app.AppDelegate.installToDecor(Unknown Source:91)
    at miuix.appcompat.app.AppDelegate.installSubDecor(Unknown Source:91)
    at miuix.appcompat.app.AppDelegate.onCreate(Unknown Source:8)
    at miuix.appcompat.app.AppCompatActivity.onCreate(Unknown Source:2)
    at com.miui.weather2.BaseActivity.onCreate(Unknown Source:0)
    at com.miui.weather2.ActivityAqiDetail.onCreate(Unknown Source:34)
    at android.app.Activity.performCreate(Unknown Source:77)
    at android.app.Activity.performCreate(Unknown Source:1)
    at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
    at android.app.ActivityThread.performLaunchActivity(Unknown Source:399)
    at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
    at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:67)
    at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
    at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
    at android.app.ActivityThread$H.handleMessage(Unknown Source:52)
    at android.os.Handler.dispatchMessage(Unknown Source:19)
    at android.os.Looper.loop(Unknown Source:249)
    at android.app.ActivityThread.main(Unknown Source:134)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
    at com.android.internal.os.ZygoteInit.main(Unknown Source:313)
Caused by: java.lang.UnsatisfiedLinkError: No implementation found for long com.miui.blur.sdk.drawable.BlurDrawable.nCreateNativeFunctor(int, int) (tried Java_com_miui_blur_sdk_drawable_BlurDrawable_nCreateNativeFunctor and Java_com_miui_blur_sdk_drawable_BlurDrawable_nCreateNativeFunctor__II)
    at com.miui.blur.sdk.drawable.BlurDrawable.nCreateNativeFunctor(Native Method)
    at com.miui.blur.sdk.drawable.BlurDrawable.<init>(Unknown Source:53)
    at miuix.appcompat.internal.app.widget.ActionBarContainer.createBlurBackground(Unknown Source:2)
    at miuix.appcompat.internal.app.widget.ActionBarContainer.isActionBarSupportBlur(Unknown Source:12)
    at miuix.appcompat.internal.app.widget.ActionBarContainer.setBlurBackground(Unknown Source:0)
    at miuix.appcompat.internal.app.widget.ActionBarContainer.<init>(Unknown Source:104)
    ... 32 more
The blur SDK (Xiaomi's SDK for blur effects across the system and individual apps) that's included with the Weather app failed to load properly from the app, this is a rare Android glitch, very hard to reproduce. Anyways, glad it's solved for you.