w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Cannot build Android project with IDEA Intellij: Error: java: $MODULE_DIR$/target/idea-classes: does not exist

I figured it out, it was a dump file permissions issue. For some reason the target folder became read-only for Intellij (not so intellij after all lol). I suspect maven might have locked the folder and it was interrupted in the middle of some operation before it had a chance to unlock it.

So the fix is to make target readable and writable by Intellij.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.