AS newspaper Failed to resolve: junit: junit: 4.12 error right solution

From:https://blog.csdn.net/z1101558280/article/details/52450149

In fact, this error is not deceiving like the testCompile 'junit: junit: 4.12' commented out or removed, with clear reasons and solutions in stackoverflow, simply add maven {url 'http in the Application of gradle file: // repo1 .maven.org / maven2 '}

 

problem solved. Add a location shown below

Published 442 original articles · won praise 77 · views 1 million +

Guess you like

Origin blog.csdn.net/rnZuoZuo/article/details/96424133