我花了一些时间做 iOS 开发,但我是 Android 开发的新手。我使用 IntelliJ 作为 Java 项目的 IDE,我真的很想用它来潜入 Android 开发。到目前为止的步骤:
- 安装 Android SDK 并下载 4.2.2 平台和工具。
- 在 IntelliJ 中创建新项目,选择 Android 应用程序模块类型。
- 指出模块设置使用 4.2.2 Android SDK 和 Java 1.6。
- 尝试运行 IntelliJ 构建的默认运行配置。
我收到以下编译错误:
Information: Compilation completed with 2 errors and 0 warnings in 1 sec
Information: 2 errors
Information: 0 warnings
Error: Android Source Generator: Android SDK is parsed incorrectly. Parsing log:
Error parsing the sdk.
Error: Android Source Generator: [untitled2] Android SDK is invalid or not specified