题目中的是老版的代码
至少从安卓11起要改为 getApplicationContext().getExternalFilesDir("") (很多帖子直接写成context,但是实际上是 getApplicationContext )