При сборке apk в студии Android часто возникают такие проблемы, как «процесс не может получить доступ к файлу, поскольку ⇐ C++
При сборке apk в студии Android часто возникают такие проблемы, как «процесс не может получить доступ к файлу, поскольку
I use Android stduio to build my applications. Howevert, recently, when i build apk, the as give me and error "the process cannot access the file because it is being used by another process", sometimes the build is ok, sometimes it has this problem.
magically, if i reclick the build button several times, the error disappeared.
the file looks fromt cmake debug output, which named like this "generate_cxx_metadata_768_timing.txt" or "create_cxx_tasks_1801_timing.txt". the content is like this :
C/C++ build system timings
create_cxx_tasks create-initial-cxx-model 121ms create_cxx_tasks completed in 128ms
Does anyone know how to fix this problems ? many thanks. That problem drives me crazy sometimes.
I have tried to change ndk & cmake version , or clear As build cache, reinstall the full As program. But useless
Источник: https://stackoverflow.com/questions/781 ... he-process
I use Android stduio to build my applications. Howevert, recently, when i build apk, the as give me and error "the process cannot access the file because it is being used by another process", sometimes the build is ok, sometimes it has this problem.
magically, if i reclick the build button several times, the error disappeared.
the file looks fromt cmake debug output, which named like this "generate_cxx_metadata_768_timing.txt" or "create_cxx_tasks_1801_timing.txt". the content is like this :
C/C++ build system timings
create_cxx_tasks create-initial-cxx-model 121ms create_cxx_tasks completed in 128ms
Does anyone know how to fix this problems ? many thanks. That problem drives me crazy sometimes.
I have tried to change ndk & cmake version , or clear As build cache, reinstall the full As program. But useless
Источник: https://stackoverflow.com/questions/781 ... he-process
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение