-2

I'm learning app development using android studio.

On build.gradle page i got stuck with one error i.e

"compile'com.android.support:appcompat-v7:25.2.0'"

under dependencies.

enter image description here

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115

1 Answers1

0

Do what it says... You need to use 25.2.0, not 23.0.0

This is especially needed because your compileSdk 25 should be using version 25 support library.

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
  • i tried that as well but the red line is still there – Roop Warraich Oct 25 '17 at 23:05
  • Then there is probably a different error message you are not showing us, because this is the answer to resolve the message above – OneCricketeer Oct 25 '17 at 23:07
  • no i'm not hiding anything. there is no other error. all the code is correct. there were three errors in the beginnig one is the buildToolsVersion must be 25 or more than that. I changed that to 25 and that resolved. second one is on line "compile 'com.google.android.gms:play-services:9.2.0'". I googled the solution and change it with force = true and got rid of the error. and the third error is what is asking above. I googled about that and changed versions but its still there. – Roop Warraich Oct 25 '17 at 23:16
  • Well, I'd suggest using the latest version of all related libraries. For example, `:9.2.0` Google play services are several years old. Also, I personally find that most `parse.com` use cases have moved to Firebase – OneCricketeer Oct 26 '17 at 03:01