找到android SDK的文件夹I:\AndroidSDk\extras\android\m2repository\com\android\support\percent
在这里就能看到各种版本的,这里我选择26的26.0.0-alpha1,重新导入,之后重新Sync就可以了!
dependencies { compile fileTree(dir: ‘libs‘, include: [‘*.jar‘]) androidTestCompile(‘com.android.support.test.espresso:espresso-core:2.2.2‘, { exclude group: ‘com.android.support‘, module: ‘support-annotations‘ }) compile ‘com.android.support:appcompat-v7:26.+‘ compile ‘com.android.support:percent:26.0.0-alpha1‘ testCompile ‘junit:junit:4.12‘}
原文地址:https://www.cnblogs.com/837634902why/p/10308762.html
时间: 2024-10-09 01:04:55