首页 / JAVA / java-尝试获取Activity的DefaultSharedPreferences时出现NullPointerException