Android Studio Error:failed to open filezip file. Gradle's dependency cache may be corrupt

Android Studio 3.0 Download from
立即开始使用 Android Studio
Android Studio 包含用于构建 Android 应用所需的所有工具。
版本:3.0.0.18
发布日期:OCTOBER 25, 2017
选择其他平台
平台Android Studio 软件包大小SHA-256 校验和
Windows(64 位)
无 Android SDK
681 MB(714,340,664 bytes)
627d7f346bfbd
无 Android SDK,无安装程序
737 MB(772,863,352 bytes)
7a9ef037e34add6df84bdbe4b25dce1f91b88d86f3e77dd1ce1fa0
Windows(32 位)
无 Android SDK,无安装程序
736 MB(772,333,606 bytes)
b0b4c72df62e94eb887e67bbfce713acb7baed8740
731 MB(766,935,438 bytes)
f6c455fb70ddb351c072e84fc4ab212
735 MB(771,324,214 bytes)
b6cfa07b9d92dda9d7a2
仅获取命令行工具
如果您不需要 Android Studio,则可以从下面下载基本的 Android 命令行工具。您可以使用包含的 下载其他 SDK 软件包。
这些工具包含在 Android Studio 中。
平台SDK 工具包大小SHA-256 校验和
132 MB(138,449,982 bytes)
7fd6789b4fdc06ee7af041e071ef7a4ebfd2
<td style="padding: 4px 12 vertical-align: background-color: border: 1px solid #" data-size=" MB(86,182,133 bytes)
4afce88cba74d69c364b05b31c53d57b26f9ffe4b9df9
130 MB(136,964,098 bytes)
444e22ce8ca0f67353bda4b8cae3ffa695ca18119cbacef1c1bea0
用户评价:&#160;&#160;/&#160;4
0.5.0 Upgrade
As noted in , you will need to update your projects to the gradle plugin 0.5; without that, project import and sync will not work in the IDE.
If you prefer to make this change by hand, you basically need to find
dependencies {
classpath 'com.android.tools.build:gradle:0.4.0'}
and replace it with
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'}
(You can use "0.5.1" instead of "0.5.+" the latter will basically automatically adapt to 0.5.2, 0.5.3 etc as they are released.)
NOTE: You should not use 0.5.0; use 0.5.1 if you do not want to use the + syntax. We've released a new version to fix a bug in 0.5.0. Search for "VariantDependencies" in this document to see the relevant troubleshooting section.
Bundled Maven Repository
If for some reason you are using a different SDK than the bundled one, you may run into the following gradle build error if your project depends on the v4 support library:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':MyApplication'.
& Failed to notify project evaluation listener.
& Could not resolve all dependencies for configuration ':MyApplication:_DebugCompile'.
& Could not find any version that matches com.android.support:support-v4:13.0.+.
Required by:
MyApplicationProject:MyApplication:unspecified
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
To fix this, open the SDK manager, and make sure that the "Android Support Repository" (not just Android Support Library) is installed:
Corrupted Install on Windows
There are some reports that on Windows, running the installer will simply install 0.2.0 in place on top of 0.1.9. And apparently that can lead to problems.
One symptom of this is the following error message:
6:40:33 PM ClassCastException: cannot assign instance of com.android.build.gradle.internal.model.DependenciesImpl to field com.android.build.gradle.internal.model.ArtifactInfoImpl.dependencies of type com.android.builder.model.Dependencies in instance of com.android.build.gradle.internal.model.ArtifactInfoImpl: cannot assign instance of com.android.build.gradle.internal.model.DependenciesImpl to field com.android.build.gradle.internal.model.ArtifactInfoImpl.dependencies of type com.android.builder.model.Dependencies in instance of com.android.build.gradle.internal.model.ArtifactInfoImpl
To fix this, move the older installation out of the way before running the 0.2.0 installer (or alternatively, uninstall it first).
Task 'assemble' not found
If you get the following error message:
FAILURE: Could not determine which tasks to execute.
* What went wrong:
Task 'assemble' not found in root project 'MyProject'.
Run gradle tasks to get a list of available tasks.
The real problem is that previous version of Android Studio misconfigured the IDEA file (e.g. MyProject.iml) -- it added an extra "&component name="FacetManager"&" XML element that shouldn't be present. In the case above, the solution is to edit "MyProject.iml" and to remove the "&component name="FacetManager"&" part as shown here:
&?xml version="1.0" encoding="UTF-8"?&
&module external.system.id="GRADLE" type="JAVA_MODULE" version="4"&
&component name="FacetManager"&
...remove this element and everything inside such as &facet& elements...
&/component&
&component name="NewModuleRootManager" inherit-compiler-output="true"&
...keep this part...
&/component&
Alternatively you could remove the project's .idea folder and iml files and re-import your sources into a new Android Studio project.
In the next release we'll fix this -- there will be a "fix this" button to do that fix automatically for you.
No such property: type for class: com.android.build.gradle.internal.dependency.VariantDependencies
If you run into the following compilation error:
& No such property: type for class: com.android.build.gradle.internal.dependency.VariantDependencies
Possible solutions: name
Caused by: groovy.lang.MissingPropertyException: No such property: type for class: com.android.build.gradle.internal.dependency.VariantDependencies
Possible solutions: name
at com.android.build.gradle.internal.dependency.DependencyChecker.getConfigName(DependencyChecker.groovy:81)
at com.android.build.gradle.internal.dependency.DependencyChecker.excluded(DependencyChecker.groovy:53)
at com.android.build.gradle.internal.dependency.DependencyChecker$excluded.call(Unknown Source)
This is a bug in the gradle plugin version 0.5.0. We released a new version, 0.5.1, which fixes this.
If you are using this dependency:
dependencies {
classpath 'com.android.tools.build:gradle:0.5.0'}
you should replace it with 0.5.+ or 0.5.1:
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'}
If you are already using 0.5.+, it may not immediately detect that there is a better version than 0.5.0 available, because gradle does not con it checks for updates at a regular interval, perhaps a day.
You can run with --refresh-dependencies to force gradle to check for new versions in its dependencies.
Windows: Application doesn't launch [fixed in 0.1.1]We have 2 possible issues:
Apologies for this weak launcher.
We know 0.1 is pretty rough and we're working actively on getting things better.
用户评价:&#160;&#160;/&#160;2
We have 2 possible issues:
Apologies for this weak launcher.
We know 0.1 is pretty rough and we're working actively on getting things better.
用户评价:&#160;&#160;/&#160;1
用户评价:&#160;&#160;/&#160;1
用户评价:&#160;&#160;/&#160;1
Note that you can also add this through the AVD Manager. Edit the AVD and in the hardware section, click add, find "Number of emulated web cameras" in the drop down and add it to your AVD.
Build System
This is due to a failure to remove previous library source folders from the main project. Incidentally, the fragility around those linked source folders is one of the reason we are moving away from this mechanism (see more info at ).The solution is to remove those &libraryname&_src source folders from your projects. Just right click them and choose Build Path & Remove from Build Path. You should also be prompted to remove the linked folder which you should do. If you're not prompted, remove it manually.You can see some screenshot of the problem in this great post:
DDMS/ADT LogCat View
Fixed in r15. On certain machines, the logcat view will stop scrolling to show the latest received log message. Moving the scroll bar manually to the end should trigger the view to auto scroll, but it stops again after a short time.
SDK Manager
When updating Platforms Tools, the log displays an error: 'adb kill-server' failed -- run manually if needed’. The error is benign, please ignore it -- in fact it just means ADB isn't running, so it can't be stopped. [Issue: ]
AVD Manager
Workaround is available at
Fixed in r15. ant test fails with Syntax error: Bad substitution.A last minute change introduced this error in the Ant rules file. The workaround is to edit&SDK&/tools/ant/build.xml, line 318 and to change ${manifest.package} with${tested.manifest.package}. [Issue ]
Fastboot.exe is missing from the tools folder. It will be added later in tools 16. In the meantime it can be found in the tools 13 . [Issue ]
更多文章...
android-studio 实战经验
使用教程持续更新
Android 生态圈
安卓开发者服务
Android Studio
安卓相关交流群
Android 相关QQ群
2016高薪职位推荐
资深就该付出就该
Sponsored by订阅你的位置: >
> 【已解决】Android Studio错误提示:Gradle project sync failed. Basic functionality (eg. editing, debugging) will not work properly
【问题】Android Studio中出现提示:Gradle project sync failed. Basic functionality (eg. editing, debugging) will not work properly如图:【解决过程】1.点击了:Show Log in Explorer打开找到了log文件:C:\Users\Administrator\.AndroidStudio\system\log\idea.logLog文件内容很长,最后一部分是:Consult IDE log for more details (Help | Show Log)
10:37:20,131 [1257636]
INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 2694 ms
10:37:20,131 [1257636]
INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 2500 files to update
10:37:22,330 [1259835]
INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/codeStyleSettings.xml file is null
10:37:22,333 [1259838]
INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/projectCodeStyle.xml file is null
10:37:22,600 [1260105]
INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/fileColors.xml file is null
10:37:25,627 [1263132]
INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/web-browsers.xml file is null
10:37:36,269 [1273774]
INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 16138 ms
10:37:36,941 [1274446]
INFO - nject.config.XPathSupportProxy - XPath Support is not available
10:37:37,119 [1274624]
INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/IntelliLang.xml file is null
10:37:37,122 [1274627]
INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/IntelliLang.xml file is null
10:37:37,947 [1275452]
INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/feature.usage.statistics.xml file is null
10:37:39,177 [1276682]
INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/gant_config.xml file is null
10:37:40,335 [1277840]
INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/remote-servers.xml file is null
10:37:40,518 [1278023]
INFO - tor.impl.FileEditorManagerImpl - Project opening took 58569 ms
10:37:46,714 [1284219]
INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/file.template.settings.xml file is null
10:37:51,540 [1289045]
INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/cachedDictionary.xml file is null
10:39:35,962 [1393467]
INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/intentionSettings.xml file is null
10:43:56,598 [1654103]
INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 3182 ms
10:43:56,598 [1654103]
INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 22098 files to update
10:44:23,144 [1680649]
INFO - util.EmbeddedDistributionPaths - Looking for embedded Gradle distribution at 'C:\Program Files\Android\Android Studio\gradle\gradle-2.2.1'
10:44:23,252 [1680757]
INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from C:\Program Files\Java\jdk1.7.0_76
10:44:23,253 [1680758]
INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from C:\Program Files\Java\jdk1.7.0_76
10:44:23,254 [1680759]
INFO - util.EmbeddedDistributionPaths - Looking for embedded Maven repo at 'C:\Program Files\Android\Android Studio\gradle\m2repository'
10:44:23,256 [1680761]
INFO - .project.GradleExecutionHelper - Passing command-line args to Gradle Tooling API: [-Pandroid.injected.build.model.only=true, -Pandroid.injected.build.model.only.advanced=true, -Pandroid.injected.invoked.from.ide=true, --init-script, C:\Users\Administrator\AppData\Local\Temp\asLocalRepo4007233.gradle, --init-script, C:\Users\Administrator\AppData\Local\Temp\ijinit1468090.gradle]
10:44:40,498 [1698003]
INFO - .project.GradleProjectResolver - Gradle project resolve error
org.gradle.tooling.BuildException: Could not run build action using Gradle installation 'C:\Program Files\Android\Android Studio\gradle\gradle-2.2.1'.
at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:57)
at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:57)
at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at org.gradle.tooling.internal.consumer.BlockingResultHandler.getResult(BlockingResultHandler.java:46)
at org.gradle.tooling.internal.consumer.DefaultBuildActionExecuter.run(DefaultBuildActionExecuter.java:46)
at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.doResolveProjectInfo(GradleProjectResolver.java:186)
at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.access$300(GradleProjectResolver.java:64)
at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver$ProjectConnectionDataNodeFunction.fun(GradleProjectResolver.java:361)
at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver$ProjectConnectionDataNodeFunction.fun(GradleProjectResolver.java:333)
at org.jetbrains.plugins.gradle.service.project.GradleExecutionHelper.execute(GradleExecutionHelper.java:203)
at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.resolveProjectInfo(GradleProjectResolver.java:116)
at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.resolveProjectInfo(GradleProjectResolver.java:64)
at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolverImpl$1.produce(RemoteExternalSystemProjectResolverImpl.java:41)
at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolverImpl$1.produce(RemoteExternalSystemProjectResolverImpl.java:37)
at com.intellij.openapi.externalSystem.service.remote.AbstractRemoteExternalSystemService.execute(AbstractRemoteExternalSystemService.java:59)
at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolverImpl.resolveProjectInfo(RemoteExternalSystemProjectResolverImpl.java:37)
at com.intellij.openapi.externalSystem.service.remote.wrapper.ExternalSystemProjectResolverWrapper.resolveProjectInfo(ExternalSystemProjectResolverWrapper.java:49)
at com.intellij.openapi.externalSystem.service.internal.ExternalSystemResolveProjectTask.doExecute(ExternalSystemResolveProjectTask.java:48)
at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:137)
at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:123)
at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$2.execute(ExternalSystemUtil.java:406)
at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$3$2.run(ExternalSystemUtil.java:483)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:471)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$8.run(ProgressManagerImpl.java:380)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:419)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149)
Caused by: org.gradle.internal.exceptions.LocationAwareException: A problem occurred configuring project ':cSipSimplemaster'.
at org.gradle.initialization.DefaultExceptionAnalyser.transform(DefaultExceptionAnalyser.java:77)
at org.gradle.initialization.MultipleBuildFailuresExceptionAnalyser.transform(MultipleBuildFailuresExceptionAnalyser.java:47)
at org.gradle.initialization.StackTraceSanitizingExceptionAnalyser.transform(StackTraceSanitizingExceptionAnalyser.java:30)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:108)
at org.gradle.initialization.DefaultGradleLauncher.getBuildAnalysis(DefaultGradleLauncher.java:97)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.configure(InProcessBuildActionExecuter.java:84)
at org.gradle.tooling.internal.provider.ClientProvidedBuildAction.run(ClientProvidedBuildAction.java:43)
at org.gradle.tooling.internal.provider.ClientProvidedBuildAction.run(ClientProvidedBuildAction.java:31)
at org.gradle.tooling.internal.provider.ConfiguringBuildAction.run(ConfiguringBuildAction.java:119)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:47)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:35)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:24)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
at org.gradle.launcher.daemon.server.exec.StartStopIfBuildAndStop.execute(StartStopIfBuildAndStop.java:33)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:71)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:69)
at org.gradle.util.Swapper.swap(Swapper.java:38)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:69)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:70)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
at org.gradle.launcher.daemon.server.exec.DaemonHygieneAction.execute(DaemonHygieneAction.java:39)
at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)
at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:46)
at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:246)
at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
Caused by: org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':cSipSimplemaster'.
at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:91)
at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:86)
at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:65)
at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:504)
at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:83)
at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:47)
at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:129)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
... 32 more
Caused by: java.lang.IllegalStateException: failed to find target android-19 : C:\Users\Administrator\AppData\Local\Android\sdk
at com.android.builder.sdk.DefaultSdkLoader.getTargetInfo(DefaultSdkLoader.java:88)
at com.android.build.gradle.internal.SdkHandler.initTarget(SdkHandler.java:90)
at com.android.build.gradle.BasePlugin.ensureTargetSetup(BasePlugin.groovy:467)
at com.android.build.gradle.BasePlugin.access$0(BasePlugin.groovy)
at com.android.build.gradle.BasePlugin$_createTasks_closure9.doCall(BasePlugin.groovy:372)
at org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:40)
at org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:25)
at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:83)
at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:31)
at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
at com.sun.proxy.$Proxy12.afterEvaluate(Unknown Source)
at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:79)
... 39 more
10:44:40,500 [1698005]
WARN - nal.AbstractExternalSystemTask - failed to find target android-19 : C:\Users\Administrator\AppData\Local\Android\sdk
com.intellij.openapi.externalSystem.model.ExternalSystemException: failed to find target android-19 : C:\Users\Administrator\AppData\Local\Android\sdk
at com.android.tools.idea.gradle.project.ProjectImportErrorHandler.createUserFriendlyError(ProjectImportErrorHandler.java:225)
at com.android.tools.idea.gradle.project.ProjectImportErrorHandler.getUserFriendlyError(ProjectImportErrorHandler.java:103)
at com.android.tools.idea.gradle.project.AndroidGradleProjectResolver.getUserFriendlyError(AndroidGradleProjectResolver.java:321)
at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver$ProjectConnectionDataNodeFunction.fun(GradleProjectResolver.java:367)
at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver$ProjectConnectionDataNodeFunction.fun(GradleProjectResolver.java:333)
at org.jetbrains.plugins.gradle.service.project.GradleExecutionHelper.execute(GradleExecutionHelper.java:203)
at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.resolveProjectInfo(GradleProjectResolver.java:116)
at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.resolveProjectInfo(GradleProjectResolver.java:64)
at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolverImpl$1.produce(RemoteExternalSystemProjectResolverImpl.java:41)
at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolverImpl$1.produce(RemoteExternalSystemProjectResolverImpl.java:37)
at com.intellij.openapi.externalSystem.service.remote.AbstractRemoteExternalSystemService.execute(AbstractRemoteExternalSystemService.java:59)
at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolverImpl.resolveProjectInfo(RemoteExternalSystemProjectResolverImpl.java:37)
at com.intellij.openapi.externalSystem.service.remote.wrapper.ExternalSystemProjectResolverWrapper.resolveProjectInfo(ExternalSystemProjectResolverWrapper.java:49)
at com.intellij.openapi.externalSystem.service.internal.ExternalSystemResolveProjectTask.doExecute(ExternalSystemResolveProjectTask.java:48)
at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:137)
at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:123)
at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$2.execute(ExternalSystemUtil.java:406)
at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$3$2.run(ExternalSystemUtil.java:483)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:471)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$8.run(ProgressManagerImpl.java:380)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:419)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149)
10:44:40,500 [1698005]
WARN - radle.project.ProjectSetUpTask -
10:44:40,501 [1698006]
INFO - radle.project.ProjectSetUpTask - failed to find target android-19 : C:\Users\Administrator\AppData\Local\Android\sdk
Consult IDE log for more details (Help | Show Log)
10:44:59,763 [1717268]
INFO - ellij.vfs.persistent.FSRecords - Contents:16384 of , reuses:82 of 73161 for 1173
10:45:13,819 [1731324]
INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 77221 ms
11:05:26,225 [2943730]
INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/emmet.xml file is null
11:05:26,335 [2943840]
INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/postfixTemplates.xml file is null 2.对应着,Android Studio中也有错误提示:Error:failed to find target android-19 : C:\Users\Administrator\AppData\Local\Android\sdk
&a href=&install.android.platform&&Install missing platform(s) and sync project&/a&很明显:好像是由于:没有安装android的image,所以找不到android-19.抽空再去安装android的image3.然后点击了:Install missing platform(s) and sync project后,去安装:对应log:Loading SDK information...
Refresh Sources:
Fetched Add-ons List successfully
Refresh Sources
Failed to fetch URL https://dl-/glass/gdk/addon.xml, reason: Connect Connection timed out: connect
Refresh Sources:
Failed to fetch URL https://dl-/glass/gdk/addon.xml, reason: Connect Connection timed out: connect
Installing Archives:
Preparing to install archives
Installing SDK Platform Android 4.4.2, API 19, revision 4
Installed SDK Platform Android 4.4.2, API 19, revision 4
Done. 1 package installed.&#160;【总结】此处Android Studio中出现Error:failed to find target android-19是因为没有安装Android SDK Platform 19(Android 4.4.2 API 19),去按照提示安装好即可消除此错误。转载请注明: & 与本文相关的文章
18 queries in 0.189 seconds, using 9.83MB memory

我要回帖

更多关于 zipopennewfileinzip 的文章

 

随机推荐