Monday, 6 February 2017

gradle version isssue

when you get an new project and your project doesn't compile, then you need to upgrade your grade:

down voteaccepted
  1. Open
  2. Change this line:
  1. Go to build.gradle (Project: your_app_name)
  2. Change this line
     classpath ''
to this
     classpath ''
     classpath ''
  1. Don't click Sync Now
  2. From menu choose File -> Invalidate Caches/Restart...
  3. Choose first option: Invalidate and Restart
Android Studio would restart. After this, it should work normally
Hope it help

No comments:

Post a comment