添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Hey guys,
I've done a bit of an oops when I removed some of the bloatware via adb on my F2 Pro and now the native Gallery and Notes apps don't seem to work. I'm getting random pop up notifications of Notes/Gallery not working and some apps don't work properly without the functionality.
I've tried to see if I can reinstall them but no success yet
Not sure if the debug logs are helping but here are the ones for the Gallery app:
java.lang.ExceptionInInitializerError
	at com.miui.gallery.preference.PreferenceHelper.getPreferences(PreferenceHelper.java:25)
	at com.miui.gallery.preference.PreferenceHelper.getInt(PreferenceHelper.java:41)
	at com.miui.gallery.preference.GalleryPreferences$DataBase.getViewVersion(GalleryPreferences.java:1190)
	at com.miui.gallery.provider.GalleryDBHelper.createViewIfNeeded(GalleryDBHelper.java:2066)
	at com.miui.gallery.provider.GalleryDBHelper.onCreate(GalleryDBHelper.java:1066)
	at org.sqlite.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:308)
	at org.sqlite.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:228)
	at com.miui.gallery.provider.cache.MediaManager$InitializeTask.run(MediaManager.java:796)
	at java.lang.Thread.run(Thread.java:919)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.SharedPreferences android.content.Context.getSharedPreferences(java.lang.String, int)' on a null object reference
	at com.miui.gallery.preference.PreferenceHelper.<init>(PreferenceHelper.java:15)
	at com.miui.gallery.preference.PreferenceHelper.<init>(PreferenceHelper.java:11)
	at com.miui.gallery.preference.PreferenceHelper$SingletonHolder.<clinit>(PreferenceHelper.java:18)
	... 9 more
Some help would be much appreciated!
For some reason, I am unable to change the default Gallery option so a new Gallery app doesn't help :(
It won't let me set Gallery default to anything Thank you :) That indeed solved the issue of Gallery and Notes!! Who would've thought those two need the cloud sdk package
It still doesn't let me change the default Gallery though so there's that