Trying to use the plugin with a simple Android project consisting of a library and app using it: TestAspectJGradleAndroidLib. Building the project for the first time succeeds. However, the next build fails with the following messages:
Unable to delete directory 'D:\Work_local\from-git\TestAspectJGradleAndroidLib\mylibrary\build'
Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory.
- D:\Work_local\from-git\TestAspectJGradleAndroidLib\mylibrary\build\intermediates\compile_only_not_namespaced_r_class_jar\debug\R.jar
- D:\Work_local\from-git\TestAspectJGradleAndroidLib\mylibrary\build\intermediates\compile_only_not_namespaced_r_class_jar\debug
- D:\Work_local\from-git\TestAspectJGradleAndroidLib\mylibrary\build\intermediates\compile_only_not_namespaced_r_class_jar
- D:\Work_local\from-git\TestAspectJGradleAndroidLib\mylibrary\build\intermediates
Studying running processes shows two java instances (parent and child) rinning with the following command lines:
Trying to use the plugin with a simple Android project consisting of a library and app using it: TestAspectJGradleAndroidLib. Building the project for the first time succeeds. However, the next build fails with the following messages:
Studying running processes shows two java instances (parent and child) rinning with the following command lines:
Killing these processes or restarting Android Studio fixes the problem.