gradle-android-eclipse icon indicating copy to clipboard operation
gradle-android-eclipse copied to clipboard

Build error "Resource '/myproject/bin/default' does not exist."

Open schildbach opened this issue 6 years ago • 3 comments

After running gradle cleanEclipse eclipse and correcting the source folders manually (see #14), I get this remaining build error:

The project was not built due to "Resource '/myproject/bin/default' does not exist."

The corresponding entry in .classpath looks like this:

<classpathentry kind="output" path="bin/default"/>

Why isn't this directory created automatically? Even weirder: If I manually create this directory, within a second it is removed again. Presumably by Eclipse, since Gradle isn't running.

I'm using Eclipse 2019-03 and Andmore 0.5.1.

schildbach avatar Apr 26 '19 15:04 schildbach

It seems as if the issue is caused by the various <classpathentry output="bin" kind="src" … /> should not have the output="bin". That interferes with <classpathentry kind="output" path="bin/default"/>.

schildbach avatar Apr 26 '19 15:04 schildbach

I've had the same issue, and it's annoying. I haven't had any time to deal with this, with other priorities being higher. Feel free to issue a pull-request.

greensopinion avatar Apr 26 '19 20:04 greensopinion

I'm working on this, see https://github.com/greensopinion/gradle-android-eclipse/wiki/2020-experiment

greensopinion avatar Feb 19 '20 16:02 greensopinion