Please see the pictures above
When I click on Android in IntelliJ, this message appears:
Your Android SDK is missing. out of date, or is missing templates. Please ensure you are using SDK version 24.0.2 or later.
You can configure your SDK via Configure | Project Defaults | Project Structure | SDKs
So I click Java at the top and then click to specify the path to java 9.0. But I still have problems, so I went into the Android studio and selected Android SDK to install several SDKs including 8.0. But still Android SDK is missing. Why is IntelliJ not finding the Android SDK? Do I need to set environment variables?
Why is IntelliJ not finding the Android SDK?
You need to add it. In Android studio, it gets automatically added when you install it. But IntelliJ IDEA will not know where it is. Go to File > Project Structure > “SDKs” under “Platform Settings”. Click the plus sign at the top and select “Android SDK”. You’ll need to select the SDK from its installation location (you want to navigate to the
That said… you’re probably better off using Android Studio to do your Android development until you become a bit more experienced with the IDE unless there is a compelling reason you need to use IntelliJ IDEA (such as support for an additional language).