Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
File file = new File(imagePath); boolean deleted = file.delete();
在当前屏幕上使用此代码图像删除但它没有从 SDCard 中删除。所以请任何知道答案的人发布它。
文件.删除();它不会删除文件或图像。