Showing posts with label Gradle. Show all posts
Showing posts with label Gradle. Show all posts

Monday, 19 March 2018

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.support:appcompat-v7:26.1.0.

This kind of error is Gradle related error. If there is a problem in Gradle or it is working in offline mode, you get error like -


To resolve this kind of error either update your Gradle or put your Gradle in online mode.

To do so, go to -

File ----> Settings ------> Build,Execution, Deployment ------> Gradle ------> and uncheck the Offline mode

Note :- make sure you are connected to internet, because it is updated from there.


Then click Apply and Ok and wait till Gradle is being updated.



Change image source dynamically on hyperlink

 Changing image source dynamically using JQuery. Here in this example I have created there hyperlink and stored all images in the same folde...