3 votes. 使用Kotlin它更容易: val file = File(uri.path). 或者,如果您使用Android的Kotlin扩展: val file = uri.toFile().
確定! 回上一頁