- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我在 Android Studio 中导入 GooglePlayGames 的 SampleApps(Git:https://github.com/playgameservices/android-samples.git)时遇到问题。
我遵循了 https://github.com/playgameservices/android-samples#if-youre-using-android-studio 上的指南但是 IDE 显示了一些奇怪的错误。我不得不说我没有经常使用 Android Studio 和 Gradle...
这是错误:
Gradle 'BasicSamples' project refresh failed: A fatal exception has occurred. Program will exit.
我安装了 Android Studio“0.4.2”并更新到“0.4.6”。在两个版本上都发生了错误。
下面是导入项目后 IDE 及其当前设置的屏幕截图。
更多信息的想法日志显示以下错误:
com.intellij.openapi.externalSystem.model.ExternalSystemException: A fatal exception has occurred. Program will exit. at org.jetbrains.plugins.gradle.service.project.GradleExecutionHelper.execute(GradleExecutionHelper.java:185) at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.resolveProjectInfo(GradleProjectResolver.java:115) at org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.resolveProjectInfo(GradleProjectResolver.java:63) 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$3.execute(ExternalSystemUtil.java:471) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$4$2.run(ExternalSystemUtil.java:549) at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:464) 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:373) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:420) 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:744) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:150) 2014-02-28 08:43:58,169 [ 16187] WARN - .project.GradleProjectImporter -
2014-02-28 08:43:58,169 [ 16187] INFO - .project.GradleProjectImporter - A fatal exception has occurred. Program will exit.
知道是什么导致了这次失败吗?我遵循了 android studio 0.4.2: Gradle project sync failed error 上的指南但这并没有解决问题。
最佳答案
我不知道为什么它现在可以工作...从 IDE 多次重新启动后,项目正在成功构建。现在,“.iml”文件显示在每个示例应用程序中。
没关系...我猜这是关于 Android Studio 的 beta 状态 ;)
关于安卓工作室 : "A fatal exception has occured" after importing android-samples,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22089661/
我是一名学生,目前正在学习使用 R(工作室)工作,为此我收到了一项任务。我应该比较一些主要是随机生成的数据并从中得出结论。 然而,我遇到的问题是这个数据有一个 5 个级别的因子,我想一次比较一个级别的
当我今天启动我的 aptana 时,它无法启动。 以下是在 aptana studio 3 工作区/.metadata/log 中显示的错误 !SESSION 2011-10-25 10:16:4
我从我的一个 friend 那里听说了 cocoa 工作室,所以我很好奇想了解它的细节......据他说,内存处理的问题通过它的使用而减少了......现在首先我不知道它是什么。是第三方的框架SDK吗
已关闭。此问题不符合Stack Overflow guidelines 。目前不接受答案。 这个问题似乎与 help center 中定义的范围内的编程无关。 . 已关闭 8 年前。 Improve
如何将库添加到我的项目中?我从这个网站下载了模块。 http://viewpagerindicator.com/#download . 我尝试将 gradle 文件更改为 buildscript {
在 aptana studio 3 中编辑片段的位置 我习惯使用 gedit 片段插件 当我进入命令菜单时 < html < 条件命令 < ie 条件命令它说未定义 有没有办法添加我们自己的片段以及如
我正在 android studio 中通过在线 Material 学习 Java 但是我被这个简单的程序困住了 Android Studio 说这段代码有错误,但我看不到它们,这是代码: packa
我只是想创建另一个线程,我需要让它继续执行某些操作,直到我单击按钮 A,然后在单击按钮 B 时恢复,仅此而已。 Thread t = new Thread(new Runnable(){ @Overr
抱歉,如果这个问题会非常模糊,但最近尝试在 Android 工作室上使用 LibGDX 并在 的指导下制作游戏 https://www.youtube.com/watch?v=rzBVTPaUUDg&
当我点击运行按钮时出现了这个错误 Error:org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies
Image asset studio 提供旧版图标。其中之一是 Google Play Store 图标。起初,我以为在发布应用程序时,该图标已经可用,但必须在 Play 管理中心帐户上上传这个高分辨
我的 Flutter 应用在尝试运行时抛出错误。 Compiler message: org-dartlang-debug:synthetic_debug_expression:1:1: Erro
我的 ubuntu 工作室是一个 64 位系统,我已经安装了 Eclipse IDE,它在 java 开发中可以正常工作,但不能在 android 上工作 最佳答案 我认为它被称为“ia32-libs
我刚开始使用flutter进行移动开发,尝试运行默认的flutter程序时出现此错误。 No connected devices found; please connect a device, or
到目前为止它工作得很好,但我显然触摸了一些东西并且发生了一些事情。 Android Studio 没有找到 R.id.**** 和 R.layout.****。 我需要做什么来解决问题? 最佳答案 我
如何直接从 r studio 的 Amazon s3 读取 csv。我不能只使用 read_csv,如果我把, read_csv(url("s3a://abc/rerer.txt")) 我得到 网址错
我要通过电子邮件发送我的 .R 代码。 如果我的接收器也可以打开 .R 文件并折叠我的折叠函数,那就太好了。 (整洁易读) 这是如何在 Rstudio 中实现的? 最佳答案 根据 code foldi
我正试图在我的工作中从 bitbucket 导入一个 android 项目,因为前 android 开发人员退出了,我将继续他的工作。 Gradle 同步永远不会返回正常。它得到了错误: Error:
我正在尝试将 YELP API 集成到 Android Studio 的应用程序中。我正在尝试使用 Postman 中的发布请求获取访问 token 。但是,当我发送 post 请求时,我收到以 JS
请我想知道当我们给 Nibobee 机器人提供电机速度时,我们在 AVR studio 中使用的单位是什么: motpwm_setLeft(1500); 1500 单位是多少? 最佳答案 根据the
我是一名优秀的程序员,十分优秀!