


So in the above example, x is an int, a primitive, and therefore cannot be dereferenced - meaning x.anything is invalid syntax in Java. So you cannot do somePrimitive.something ().

I am unable to fix this error: dependencies cannot be applied to '()Ĭlasspath ':crashlytics-gradle:1.+'Ĭompile fileTree(dir: "$buildDir/native-libs", include: 'native-libs.jar')Ĭompile fileTree(dir: 'libs', include: '*.jar')Ĭompile ":universal-image-loader:$"Ĭompile ':library:+'Ĭompile ':crashlytics:1.+'īut even without all that, your problem is that you have a dependencies within your android plugin config. Primitives ( byte, char, short, int, long, float, double, boolean) are not objects and do not have member variables or methods.
