programing tip

메시지와 함께 인덱싱 정지 : 일괄 업데이트로 인해 인덱싱이 일시 중지되었습니다

itbloger 2020. 6. 26. 18:55
반응형

메시지와 함께 인덱싱 정지 : 일괄 업데이트로 인해 인덱싱이 일시 중지되었습니다


Android Studio를 버전 3.2로 업데이트했습니다.

그 업데이트 후 내 프로젝트 중 하나는 색인을 생성하지 않습니다.

메시지와 함께 정지

"배치 업데이트로 인해 인덱싱이 일시 중지되었습니다."

이 문제를 어떻게 해결할 수 있습니까?

파일 gradle-wrapper.properties:

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip

파일 gradle-properties:

org.gradle.jvmargs=-Xmx1536m
org.gradle.parallel=true
org.gradle.daemon=true
org.gradle.configureondemand=true

Android Studio 3.2 와 동일한 문제에 직면했습니다 . 캐시를 무효화하고 Android Studio를 다시 시작했지만 여전히 작동하지 않습니다. 그런 다음 방금 프로젝트를 다시 가져 와서 작동했습니다!


다시 시작 ( File > Invalidate Cache & Restart > Just Restart)

일부 gradle 프로세스 사이에서 Studio를 강제로 닫을 때 Android Studio 3 이상 에서이 문제에 직면했습니다.


재생 버튼을 누르면 나를 위해 일했습니다. 인덱싱을 완료하고 APK를 몇 초 만에 설치했습니다. 잡을 때마다 매번이 작업을 수행해야하며 배치가 업데이트되지 않는 것 같습니다.


진행률 표시 줄의 오른쪽에있는 재생 버튼을 클릭하십시오.


이 메시지 오른쪽에있는 재생 버튼을 누르면 문제가 해결됩니다.

지금 당장 문제는 체계적이고 문제가 나타나지 않도록하는 해결책이 없기 때문에 매번해야합니다.


캐시를 무효화하고 Android Studio를 다시 시작했습니다. 그것은 나를 위해 일했다.


나는이 문제에 여러 번 직면했으며 매번 내가 한 일은 다음과 같습니다.

먼저 안드로이드 스튜디오 하단의 처리 막대를 클릭하십시오.

다음과 같은 팝업 창이 화면에 나타납니다. 여기에 이미지 설명을 입력하십시오

빨간색 동그라미 재생 버튼을 클릭하고 프로세스를 완료하십시오.

이 문제가 발생할 때마다이 문제를 반복해야합니다. 이는 AS 버전 3.2의 일종의 버그이거나 무언가이기 때문입니다.

옵션 : 팝업을 최소화하려면 (-) 최소화 버튼을 클릭하십시오.


나는 같은 문제에 직면했다 .Android Studio는 캐시를 엉망으로 만든다.

파일 > 캐시 무효화로 이동 한 후 다시 시작

그런 다음 나타나는 팝업에서 무효화 및 재시작을 선택 하십시오.


Android Studio 자체에 문제가있는 것 같습니다. 다음 단계에 따라 문제를 해결했습니다.

  1. 클릭 File>Invalidate Caches / Restart
  2. 팝업에서 선택 Invalidate and Restart

캐시를 무효화-> Android Studio를 다시 시작-> 프로젝트 위치에서 프로젝트를 다시 가져옵니다. 그것은 나를 위해 일했다


이것은 v3.2 이후 Android Studio의 문제입니다 .Android Studio Issue Tracker에 문제를 게시했으며 마침내 승인되었습니다. 그들이 해결하기를 기다리고 있습니다.

이슈 트래커 는 여기 에서 확인할 수 있습니다.

문제 해결에 도움이되도록 문제를 별표 표시하십시오.


인터넷에 연결 상태를 유지하십시오. 배치를 업데이트하십시오. 한 번 기다리면 다음에 쉬울 것입니다. 또는 ... 재생 버튼을 클릭하십시오.


  1. 프로젝트를 닫습니다
  2. 프로젝트 루트 디렉토리로 이동하십시오.
  3. 찾아 삭제 xxx.iml파일의 .idea.gradle폴더
  4. Android Studio를 사용하여 프로젝트를 다시여십시오 .

나는 같은 문제가 있었고 다음과 같이 수정했다. 파일을 클릭하십시오-> 캐시 무효화 / 재시작을 클릭하십시오. 팝업이 나타납니다-> 무효화 및 재시작을 선택하십시오


I saw this error and none of the solutions posted here worked for me. I had a specific scenario (see below), and I could get rid of the problem in my specific scenario. Not sure if the OP had the same scenario, by here are my two cents:

In my specific case I had two projects open in Android Studio, where one of the project was from a sshfs-mounted directory (the other project was local to my computer). I believe that made Android Studio throw the "Indexing paused due to batch updated" message on, strangely, both the projects.

To get rid of the error on the local project, I had to close the remote mounted project. On closing that project, the message was gone for my local project.

Hope that helps.


I did it by exporting the project into zip file and open it like normal. you can export by clicking the file navbar and choose export to zip file


I faced the same Issue but the situation which lead to this was different: I created a remote branch on the project's repository on GitHub and it was empty. And then I checkout to that branch locally while android studio was running.

I then deleted the local repository and created it again but this time it was not empty. Further I pushed the code to the remote branch as well.Now I thought that it will start the project normally but again the same happened.it resulted in an IDE error.

To solves this issue I deleted that local repository and again re-imported it.Than it started correctly.


None of the other answers worked for me. Not even pressing the "play" button. All that worked was closing the project and re-opening it via "Open an existing Android Studio project".

The effect only lasts for a single session. As soon as I close and re-open the project, or AS 3.3, the problem re-appears.

Deleting C:\Users\<user>\.AndroidStudio3.3\config\options\recentProjects.xml (before starting AS 3.3) is an alternative way to accomplish the same thing.

EDIT

Upon upgrading to AS 3.3.2, this solution no longer worked. However, after an "Invalidate Caches and Restart", the problem disappeared.


Click on play button twice and then go to file->Invalidate Caches / Restart...

repeat this process every time whenever you face this issue.


I solved it by deleting all the *.iml files and the .idea folder


I faced the same issue, because my AS version is not the same with gradle plugin's version.


This issue coccus randomly in Android Studio V3.+ [Issue tracker:https://issuetracker.google.com/issues/118523471] .

There might be multiple reasons for this issue but it is mainly either ".gradle" related or ".iml" file related IntelliJ/Android Studio configurations.

Possible solutions:

  1. Click on play icon under the processing bar (on the bottom of the android studio). But be aware that multiple clicks may also kill the the indexing process.
  2. Invalidate cache (File -> Invalidate Cache & Restart -> Just Restart)
  3. Clean ((Build -> Clean project) and Rebuild (Build -> Rebuild Project)
  4. Sync Project with Gradle Files: Available options (depending on the Android Studio version) at
    • Tools -> Android -> Sync Project with Gradle Files
    • button available at top left corner in Android Studio's toolbar
    • File -> Sync Project with Gradle Files
  5. Delete the .idea & .gradle folders and .idea & .iml files from the project root directory and re-import the project

I have faced this issue quite a few times and got rid of then by using one or more of above solutions. But in some scenario nothing of the above solutions may work (as recently I get trapped-in). In this case I have to recreate the same project from scratch and copied back the required files into it. But ideally this should not be the solution. Please let me know if any other possible solution is there.

참고 URL : https://stackoverflow.com/questions/52513097/indexing-freeze-with-message-indexing-paused-due-to-batch-updated

반응형