I'm new to Android programming and new to Studio (0.4.4). For the first time, I found a class I wanted to incorporate into my project. Per other SO advice here, I created a new module by the same name, then replaced the Java template with the new class. So far so good.
Unfortunately, while it could find and import the java.* classes, it cannot find and import any of the android.* classes, specifically android.os.SystemClock and android.util.Log. (e.g., "Cannot resolve symbol 'X'") What steps do I need to take so that they can be found and imported? Thanks for any help.
Updated build.gradle:
apply plugin: 'java'
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:+'
}