最佳答案
                                        
                                                                        
                                在更新到Android Studio 3.0并创建一个新项目后,我注意到在build.gradle中有一种添加新依赖项的新方法,而不是compile,有implementation,而不是testCompile有testImplementation。
示例:
 implementation 'com.android.support:appcompat-v7:25.0.0'testImplementation 'junit:junit:4.12'而不是
 compile 'com.android.support:appcompat-v7:25.0.0'testCompile 'junit:junit:4.12'它们之间有什么区别,我应该使用什么?
 
                                
                             
                                
                             
                                
                             
                                
                             
                                
                             
                                
                             
                                
                             
                                
                             
                                
                             
                                
                             
                                
                            