New Mi Note 2: Weather App Keeps Crashing


Slyscorpion

Members
Jan 1, 2018
38
8
In MIUI 8.3.29 if you tap on the weather app just under the Google search bar, it proceeds to crash completely.

I've attached a log that should show the crash occurring. Not sure if this is an issue for Xiaomi or if it's an issue with the ROM but I thought you might want to know.

This crash occurs in MIUI 8.3.26 and 8.3.29 from Xiaomi.eu.
 

Attachments

  • 2018-03-30-11-03-02.txt
    12.2 KB · Views: 645
Try clean weather app data..

Cleared ALL data, entered the city and country that I would like the app to check the weather for, and it crashed again with the same error about not being able to find some GlideModule implementation.

Code:
java.lang.IllegalArgumentException: Unable to find GlideModule implementation
    at com.bumptech.glide.module.ManifestParser.parseModule(Unknown Source:53)
    at com.bumptech.glide.module.ManifestParser.parse(Unknown Source:131)
    at com.bumptech.glide.Glide.initializeGlide(Unknown Source:26)
    at com.bumptech.glide.Glide.initializeGlide(Unknown Source:5)
    at com.bumptech.glide.Glide.checkAndInitializeGlide(Unknown Source:15)
    at com.bumptech.glide.Glide.get(Unknown Source:11)
    at com.bumptech.glide.Glide.getRetriever(Unknown Source:5)
    at com.bumptech.glide.Glide.with(Unknown Source:0)
    at com.miui.weather2.glide.GlideApp.with(Unknown Source:0)
    at com.miui.weather2.tools.LogoUtils.updateBrandIcon(Unknown Source:16)
    at com.miui.weather2.view.WeatherScrollView.updateBrandIcon(Unknown Source:32)
    at com.miui.weather2.view.WeatherScrollView.bindData(Unknown Source:665)
    at com.miui.weather2.ActivityWeatherMain.setViewWeatherData(Unknown Source:118)
    at com.miui.weather2.ActivityWeatherMain.access$3100(Unknown Source:0)
    at com.miui.weather2.ActivityWeatherMain$Listeners.onCityDataRead(Unknown Source:554)
    at com.miui.weather2.model.CitySession$GetCityListTask.onPostExecute(Unknown Source:36)
    at com.miui.weather2.model.CitySession$GetCityListTask.onPostExecute(Unknown Source:2)
    at android.os.AsyncTask.finish(Unknown Source:14)
    at android.os.AsyncTask.-wrap1(Unknown Source:0)
    at android.os.AsyncTask$InternalHandler.handleMessage(Unknown Source:17)
    at android.os.Handler.dispatchMessage(Unknown Source:21)
    at android.os.Looper.loop(Unknown Source:139)
    at android.app.ActivityThread.main(Unknown Source:71)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Unknown Source:11)
    at com.android.internal.os.ZygoteInit.main(Unknown Source:203)
Caused by: java.lang.ClassNotFoundException: com.miui.weather2.model.SimpleGlideModule
    at java.lang.Class.classForName(Native Method)
    at java.lang.Class.forName(Class.java:453)
    at java.lang.Class.forName(Class.java:378)
    at com.bumptech.glide.module.ManifestParser.parseModule(Unknown Source:0)
    ... 25 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.miui.weather2.model.SimpleGlideModule" on path: DexPathList[[zip file "/system/priv-app/Weather/Weather.apk"],nativeLibraryDirectories=[/system/priv-app/Weather/lib/arm64, /system/lib64, /system/vendor/lib64, /system/lib64, /system/vendor/lib64]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    ... 29 more
 
Weather app requires ALL permisions to work since a while back, you might try giving it total access and then try.
 
Yeah, I have factory reset my phone and the weather app seems to be working fine now. Odd that it would crash like that unless I factory reset my phone...

It's most probably because of your past data partition. If there was some files left from the old app , this new one was crashing. It's odd , indeed. :)