CHa*_*ris 6 java android android-studio
我正在开发与Android Studio 2.2 RC 2.
在我的应用程序中,我收到错误消息:
Usage of API documented as @since 1.8+ less... (Ctrl+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.
Run Code Online (Sandbox Code Playgroud)
我做了一些研究来尝试解决该问题,我发现的第一个链接是:
Intellij - 无法使用较新的 Java 8 类 - 错误:“API 的使用记录为 @since 1.6+..”
它说要消除错误,您需要打开
File -> Project Structure -> Project Settings -> Modules -> "Your Module Name" -> Sources -> Language Level
Run Code Online (Sandbox Code Playgroud)
并将其更改为所需的级别,即 1.8 或项目默认语言级别。
在Android Studio 2.2 RC 2我看到File -> Project Structure...然后其他标题/选项卡与上面链接的解决方案中列出的不同。其他地方的其他解决方案说要做同样的事情...是否有另一种方法可以消除此错误Android Studio 2.2 RC 2?
问候,
C。
| 归档时间: |
|
| 查看次数: |
2832 次 |
| 最近记录: |