【发布时间】:2016-10-09 10:14:39
【问题描述】:
我尝试导入java.util.StringJoiner,但收到了这条消息
Usage of API documented as @since 1.8+ less... (⌘F1)
This inspection finds all usages of methods that have @since tag in their documentation. This may be useful when development is performed under newer SDK version as the target platform for production.
我正在使用:
java 版本“1.8.0_102”
Java(TM) SE 运行时环境(内部版本 1.8.0_102-b14)
Java HotSpot(TM) 64 位服务器 VM(内部版本 25.102-b14,混合模式)
如何解决这个问题。谢谢大家帮助我!!
【问题讨论】:
-
您无法使用 java 8 运行 android 应用...您的 sdk 可能是 1.8 但 JVM 不允许该版本
-
@ΦXocę웃Пepeúpaツ:所以我必须降级java?
-
@ThoNguyen,不,但你不能使用
Java 8 only features。
标签: java android android-studio