以下是Android Studio中的build.gradle代码
apply plugin: 'com.androID.application'androID { compileSdkVersion 23 buildToolsversion "23.0.2" defaultConfig { applicationID "com.sg.blahblah" minSdkVersion 15 targetSdkVersion 23 versionCode 1 versionname "1.0" } lintoptions { checkReleaseBuilds true abortOnError false xmlReport true HTMLReport true } buildTypes { release { MinifyEnabled false proguardfiles getDefaultProguardfile('proguard-androID.txt'), 'proguard-rules.pro' lintoptions { disable 'MissingTranslation' } } }}dependencIEs { compile filetree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.androID.support:appcompat-v7:23.1.1' compile 'com.androID.support:design:23.1.1' compile 'com.androID.support:support-v4:23.1.1' compile 'com.androID.support:cardvIEw-v7:23.1.1' compile 'com.Google.androID.apps.dashclock:dashclock-API:+' compile 'com.roughike:bottom-bar:1.4.0.1' compile 'com.diogobernardino:williamchart:2.2'}
我收到以下错误:
错误:配置项目’:app’时出现问题.
Failed to notify project evaluation Listener.
com.androID.build.gradle.tasks.factory.AndroIDJavaCompile.setDependencyCacheDir(Ljava/io/file;)V
有人可以帮忙吗?
以下是Instant Run截图
解决方法:
我通过禁用即时运行解决了一周前面临同样的错误
file → Settings → Build, Execution, Deployment → Instant Run and
uncheck Enable Instant Run.
希望它有效.
总结以上是内存溢出为你收集整理的Android Studio – 无法通知项目评估侦听器错误全部内容,希望文章能够帮你解决Android Studio – 无法通知项目评估侦听器错误所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)