Error:Cause: com.android.builder.BuilderConstants Android Studio -
after updating beta version of android studio (0.8.0) canary build (0.6.0 believe) getting error:cause: com.android.builder.builderconstants
error android studio when trying refresh project.
here log:
2014-06-27 17:05:52,702 [ 709722] warn - nal.abstractexternalsystemtask - cause: com.android.builder.builderconstants com.intellij.openapi.externalsystem.model.externalsystemexception: cause: com.android.builder.builderconstants @ org.jetbrains.plugins.gradle.service.project.abstractprojectimporterrorhandler.createuserfriendlyerror(abstractprojectimporterrorhandler.java:106) @ org.jetbrains.plugins.gradle.service.project.baseprojectimporterrorhandler.getuserfriendlyerror(baseprojectimporterrorhandler.java:153) @ org.jetbrains.plugins.gradle.service.project.basegradleprojectresolverextension.getuserfriendlyerror(basegradleprojectresolverextension.java:358) @ org.jetbrains.plugins.gradle.service.project.abstractprojectresolverextension.getuserfriendlyerror(abstractprojectresolverextension.java:151) @ com.android.tools.idea.gradle.project.androidgradleprojectresolver.getuserfriendlyerror(androidgradleprojectresolver.java:269) @ org.jetbrains.plugins.gradle.service.project.gradleprojectresolver$projectconnectiondatanodefunction.fun(gradleprojectresolver.java:367) @ org.jetbrains.plugins.gradle.service.project.gradleprojectresolver$projectconnectiondatanodefunction.fun(gradleprojectresolver.java:333) @ org.jetbrains.plugins.gradle.service.project.gradleexecutionhelper.execute(gradleexecutionhelper.java:203) @ org.jetbrains.plugins.gradle.service.project.gradleprojectresolver.resolveprojectinfo(gradleprojectresolver.java:116) @ org.jetbrains.plugins.gradle.service.project.gradleprojectresolver.resolveprojectinfo(gradleprojectresolver.java:64) @ com.intellij.openapi.externalsystem.service.remote.remoteexternalsystemprojectresolverimpl$1.produce(remoteexternalsystemprojectresolverimpl.java:41) @ com.intellij.openapi.externalsystem.service.remote.remoteexternalsystemprojectresolverimpl$1.produce(remoteexternalsystemprojectresolverimpl.java:37) @ com.intellij.openapi.externalsystem.service.remote.abstractremoteexternalsystemservice.execute(abstractremoteexternalsystemservice.java:59) @ com.intellij.openapi.externalsystem.service.remote.remoteexternalsystemprojectresolverimpl.resolveprojectinfo(remoteexternalsystemprojectresolverimpl.java:37) @ com.intellij.openapi.externalsystem.service.remote.wrapper.externalsystemprojectresolverwrapper.resolveprojectinfo(externalsystemprojectresolverwrapper.java:49) @ com.intellij.openapi.externalsystem.service.internal.externalsystemresolveprojecttask.doexecute(externalsystemresolveprojecttask.java:48) @ com.intellij.openapi.externalsystem.service.internal.abstractexternalsystemtask.execute(abstractexternalsystemtask.java:137) @ com.intellij.openapi.externalsystem.service.internal.abstractexternalsystemtask.execute(abstractexternalsystemtask.java:123) @ com.intellij.openapi.externalsystem.util.externalsystemutil$2.execute(externalsystemutil.java:406) @ com.intellij.openapi.externalsystem.util.externalsystemutil$3$2.run(externalsystemutil.java:483) @ com.intellij.openapi.progress.impl.progressmanagerimpl$taskrunnable.run(progressmanagerimpl.java:471) @ com.intellij.openapi.progress.impl.progressmanagerimpl$2.run(progressmanagerimpl.java:178) @ com.intellij.openapi.progress.progressmanager.executeprocessunderprogress(progressmanager.java:209) @ com.intellij.openapi.progress.impl.progressmanagerimpl.executeprocessunderprogress(progressmanagerimpl.java:212) @ com.intellij.openapi.progress.impl.progressmanagerimpl.runprocess(progressmanagerimpl.java:171) @ com.intellij.openapi.progress.impl.progressmanagerimpl$8.run(progressmanagerimpl.java:380) @ com.intellij.openapi.application.impl.applicationimpl$8.run(applicationimpl.java:419) @ java.util.concurrent.executors$runnableadapter.call(executors.java:471) @ java.util.concurrent.futuretask.run(futuretask.java:262) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:724) @ com.intellij.openapi.application.impl.applicationimpl$1$1.run(applicationimpl.java:149)
edit after removing apply plugin: 'android-test'
1 of modules error resolved.
now getting:
error:error retrieving parent item: no resource found matches given name '@android:textappearance.material.searchresult.subtitle'. error:error retrieving parent item: no resource found matches given name '@android:textappearance.material.searchresult.title'. error:error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.popupmenu.large'. error:error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.popupmenu.small'. ... ...
in d:\users(user)\androidstudioprojects(project)\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.0-rc1\res\values-v21\values.xml
i have latest sdk downloaded i'm not sure problem is...
check appcompat-v7 version. has problem backward compatibility newest 1 (21.0.0-rc1) tries link ui components android l's material ones. (but of course fails because upgraded androidstudio version , not introduce newest sdk!) possible fix specify appcompat-v7's version in build.gradle this:
dependencies { compile 'com.android.support:appcompat-v7:19.+' }
Comments
Post a Comment