Fixed
Status Update
Comments
uc...@google.com <uc...@google.com> #2
Can you please share a sample project setup to reproduce this issue.
uc...@google.com <uc...@google.com> #3
3.5 Canary 15 is not out, do you mean 3.5 canary 13 ?
ni...@gmail.com <ni...@gmail.com> #4
Yes, sorry about that. Just a typo.
On Thu, 25 Apr 2019, 22:57 , <buganizer-system@google.com> wrote:
On Thu, 25 Apr 2019, 22:57 , <buganizer-system@google.com> wrote:
ni...@gmail.com <ni...@gmail.com> #5
ni...@gmail.com <ni...@gmail.com> #6
Open the project and observe that "com.android.myapplication.BuildConfig.APPLICATION_ID;" in Test class is not resolved.
Edit projects build.gradle and comment out " buildDir = "${System.properties['user.home']}${File.separator}.build${File.separator}${rootProject.name}${File.separator}${project.name }""
Rebuild project and observe that "com.android.myapplication.BuildConfig.APPLICATION_ID;" is now resolving correctly
Edit projects build.gradle and comment out " buildDir = "${System.properties['user.home']}${File.separator}.build${File.separator}${rootProject.name}${File.separator}${
Rebuild project and observe that "com.android.myapplication.BuildConfig.APPLICATION_ID;" is now resolving correctly
ni...@gmail.com <ni...@gmail.com> #7
I am on Windows 10 by the way
uc...@google.com <uc...@google.com>
xa...@google.com <xa...@google.com>
sm...@google.com <sm...@google.com> #8
This appears to be due to IDEA not detecting source folders under excluded folders if this excluded folder it a content root. I'm not sure if this is intended or not, I'll follow up next week to try and find out. I have a fix that allows IDEA to detect these but will make sure that changing this behaviour won't break anything else.
ni...@gmail.com <ni...@gmail.com> #9
Thanks, just to clarify, this was not an issue before 12 (I think)
On Sat, 27 Apr 2019, 03:35 , <buganizer-system@google.com> wrote:
On Sat, 27 Apr 2019, 03:35 , <buganizer-system@google.com> wrote:
sm...@google.com <sm...@google.com> #10
Thanks for the report. This should be fixed in recent betas.
If you see this issue in future releases please feel free to re-open the bug and I'll take another look.
If you see this issue in future releases please feel free to re-open the bug and I'll take another look.
Description
I have tried Invalidate Caches and Restart and also deleted my build dir.
BuildConfig at import com.app.BuildConfig is highlighted red. Actual BuildConfig.java is in the build dir. I can build and run apk if i ignore it.
I don't know if it make an difference but I use custom build dir
allprojects {
buildDir = "${System.properties['user.home']}${File.separator}.build${File.separator}${rootProject.name}${File.separator}${
}