-1

Trying to follow along a course on teamtreehouse on building an android weather app. The teacher is able get there app to run inside the emulator and crash, but mine won't even run in the emulator and just gives me a bunch of errors. The teacher has pointed out that there is intentional errors that will be fixed later on.

Heres what some of the errors are.

Zoe
  • 27,060
  • 21
  • 118
  • 148
CalcGuy
  • 169
  • 1
  • 1
  • 10

1 Answers1

3

Try adding this to your app/build.gradle as noted in this answer:

android {
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}
Mathias Berwig
  • 488
  • 5
  • 13