buckbone icon indicating copy to clipboard operation
buckbone copied to clipboard

Generated R class is not accessible from Kotlin code

Open andrzejtokarski opened this issue 9 years ago • 3 comments

Maybe the R.class can be build as an android_library() and then included as a dependency of java-deps.

I tried it but the resulting $(classpath :java-deps) turns out empty.

andrzejtokarski avatar Oct 19 '15 13:10 andrzejtokarski

Same issue, is there a solution or workaround for this?

desamtralized avatar Nov 01 '15 01:11 desamtralized

Nothing. Stuck with Gradle for now.

andrzejtokarski avatar Nov 02 '15 08:11 andrzejtokarski

@andrzejtokarski this repo has a workaround for it, very hacky (as also mentioned by the author) but I tried and it generated the R.java for me. I'm stuck in another issue right now.

desamtralized avatar Nov 02 '15 18:11 desamtralized