当我尝试在Android Studio 0.2.4中编译时,我收到如下错误:
Internal error: (java.io.FileNotFoundException) \archivos\virtualizados\apoloduvalis\.AndroidStudioPreview\system\compile-server\hibernate_test_1ad22f80\timestamps\data (The system cannot find the path specified)
java.io.FileNotFoundException: \archivos\virtualizados\apoloduvalis\.AndroidStudioPreview\system\compile-server\hibernate_test_1ad22f80\timestamps\data (The system cannot find the path specified)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at com.intellij.util.io.PagedFileStorage.resizeFile(PagedFileStorage.java:324)
at com.intellij.util.io.PagedFileStorage.resize(PagedFileStorage.java:308)
at com.intellij.util.io.ResizeableMappedFile.resize(ResizeableMappedFile.java:72)
at com.intellij.util.io.ResizeableMappedFile.<init>(ResizeableMappedFile.java:46)
at com.intellij.util.io.PersistentBTreeEnumerator.<init>(PersistentBTreeEnumerator.java:76)
at com.intellij.util.io.PersistentEnumeratorDelegate.<init>(PersistentEnumeratorDelegate.java:38)
at com.intellij.util.io.PersistentEnumeratorDelegate.<init>(PersistentEnumeratorDelegate.java:31)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:137)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:133)
at org.jetbrains.jps.incremental.storage.AbstractStateStorage.createMap(AbstractStateStorage.java:122)
at org.jetbrains.jps.incremental.storage.AbstractStateStorage.<init>(AbstractStateStorage.java:27)
at org.jetbrains.jps.incremental.storage.TimestampStorage.<init>(TimestampStorage.java:21)
at org.jetbrains.jps.incremental.storage.ProjectTimestamps.<init>(ProjectTimestamps.java:21)
at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:90)
at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:181)
at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:102)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:107)
at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:26)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
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:722)
最后我设法让Gradle工作,但是当Android Studio尝试编译时,它会卡在这个异常上。我在Win7 x64上使用Android Studio 0.2.4(最新版本)。 ¿有什么想法吗?
答案 0 :(得分:0)
没关系,我发现你必须配置Android Studio路径。似乎IntelliJ IDEA不支持网络位置,例如我的用户主页:adjust the following paths so that they point to local directories