我有一个问题要提交到SVN。
信息:
我将一个项目从 eclipse 迁移到 android studio。一切都奏效了。
现在,我在VisualSVN服务器(Windows(上创建了一个新的存储库。
我可以通过 VCS 浏览存储库 -> 浏览 VCS 存储库 -> 浏览 Subversion 存储库
(就像我为 Eclipse 项目创建的 Repo 一样 - whitch works(
我还为项目
启用了 VCS 选项
问题:
现在我想将我的项目上传到SVN服务器
右键点击项目(对于 ContexMenue( -> Subversion -> 提交目录
而且,过了一会儿,我收到以下错误:
08:43:15 Throwable
Too many events posted
java.lang.Throwable
at com.intellij.openapi.diagnostic.FrequentEventDetector.eventHappened(FrequentEventDetector.java:60)
at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl.queueSession(RefreshQueueImpl.java:96)
at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl.execute(RefreshQueueImpl.java:65)
at com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.launch(RefreshSessionImpl.java:107)
at com.intellij.openapi.vfs.newvfs.RefreshQueue.refresh(RefreshQueue.java:56)
at com.intellij.openapi.vfs.newvfs.RefreshQueue.refresh(RefreshQueue.java:42)
at com.intellij.openapi.vfs.newvfs.NewVirtualFile.refresh(NewVirtualFile.java:82)
at com.intellij.openapi.vfs.VirtualFile.refresh(VirtualFile.java:670)
at com.intellij.openapi.vcs.update.RefreshVFsSynchronously.refresh(RefreshVFsSynchronously.java:79)
at com.intellij.openapi.vcs.update.RefreshVFsSynchronously.updateChangesImpl(RefreshVFsSynchronously.java:128)
at com.intellij.openapi.vcs.update.RefreshVFsSynchronously.updateChanges(RefreshVFsSynchronously.java:107)
at com.intellij.openapi.vcs.changes.ui.CommitHelper$CommitProcessor.customRefresh(CommitHelper.java:452)
at com.intellij.openapi.vcs.changes.ui.CommitHelper.generalCommit(CommitHelper.java:266)
at com.intellij.openapi.vcs.changes.ui.CommitHelper.access$500(CommitHelper.java:56)
at com.intellij.openapi.vcs.changes.ui.CommitHelper$3$1.run(CommitHelper.java:169)
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.vcs.changes.ui.CommitHelper$3.run(CommitHelper.java:165)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
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)
08:43:16 0 files committed, 1471 files failed to commit: inital Commit
今天遇到了同样的问题,对我来说,以下解决方案:
- 使用Android Studio外部的SVN工具提交您的项目(我使用了Tortoise SVN(
- 之后,您可以使用Android Studio提交任何进一步的更改