SengJoonHyun SengJoonHyun - 1 year ago 76
Android Question

App build.gradle error

This is happening after I launched AVD for app test, and it was starting android OS. few seconds later, my computer( using Mac) was restarted by causing error Android Studio. After the happening, my Android Studio is strange.

  • It was working well, but it suddenly happened.

  • Android Studio does not still work after I used a Clean Project ,and it can't recognize things such as
    , all those methods.

Thank you :)

I attached the screenshot for your understanding.

Android Studio Error

Answer Source

Your styles.xml is error. So you have to fix it and clean your project. I think you are trying to add AppCompat to your project. Did you add the following line in your dependencies?

compile ''