我刚刚开始安乐施方案,我是编码的起点。 我首先要谈谈这一错误。
` getDefaultSharedPreferences(android.content.Context) is deprecated.`
并且通过进入来文方,获得违约。 共用参比没有,通知出现在网页顶上,我下载了。
`public static SharedPreferences getDefaultSharedPreferences(Context context) {
return context.getSharedPreferences(getDefaultSharedPreferencesName(context),
getDefaultSharedPreferencesMode());
}`
It was added, but after this, the prefereceManager.java file got an error. There are 54 errors that I don t know what to do. Please guide me how to return the prefereceManager.java file to its original state