Cannot resolve symbol @integer/google_play_services_version for intellij
Try adding this in the build.gradle file:
dependencies { compile 'com.google.android.gms:play-services:7.5.0'}
If you get the error: Cannot resolve symbol @integer ... you might need to define the values for the missing integers in your integers.xml file.
If you don't have one already, you will need to create it at:
res/values/integers.xml
Example:
<?xml version="1.0" encoding="utf-8"?><resources> <integer name="my_int_val1">1000</integer> <integer name="my_int_val2">500</integer></resources>