Broken Android R generation


#1

I am using Kotlin 0.1.3304 on 122.264.

Everytime I want to access my R classees, I got the following error

17:13:21 AssertionError: couldn’t resolve class com.replicator.R.id: couldn’t resolve class com.replicator.R.id at the Event Log

The app will compile successfully but the intelisense for R is broken. So R.layout. will not show any drop down.

Gen folder shows this file

package com.replicator;

/* This stub is for using by IDE only. It is NOT the R class actually packed into APK */
public final class R {
}


#2

I've created an issue for your request http://youtrack.jetbrains.com/issue/KT-2763