Status Update
Comments
uc...@google.com <uc...@google.com> #2
Hello,
Thank you for reaching out to us.
This report does not contain any description. The
so...@google.com <so...@google.com> #3
Could you please try the following:
1. Disable "Single Variant Sync" in "Settings | Experimental | Only sync the active variant"
2. File | Sync Project with Gradle Files
3. File | Invalidate Caches
and let us know if it helps?
1. Disable "Single Variant Sync" in "Settings | Experimental | Only sync the active variant"
2. File | Sync Project with Gradle Files
3. File | Invalidate Caches
and let us know if it helps?
de...@gmail.com <de...@gmail.com> #4
Tried the above steps. Still facing the same issues.
ne...@soundcloud.com <ne...@soundcloud.com> #5
Seeing this in AGP 3.4.0 with AS 3.4.0. Gradle 5.4.
Description
AI-182.5107.16.33.5264788, JRE 1.8.0_152-release-1248-b01x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.14.3 unknown, screens 1440x900
Android Gradle Plugin: 3.3.1
Gradle: 4.10.1
Steps to reproduce :
1. Create a new project with default config from android studio. Use groovy for gradle files and java as project language
2. Add buildSrc folder. Create a java class 'AppConfigParam' and add some static values. (Say minSdk, targetSdk, compileSdk)
3. Use these values inside the gradle file in place of hardcoded minSdk, targeSdk and compileSdk values.
4. Sync gradle
Notice how gradle syncs successfully and cross-verify the params used in the 'AppConfigParam' is same as values in AndroidManifest file. But still in the gradle file, import statement is shown in red, autocompletion doesn't work and 'find declaration' also doesn't work.
Note :
1. In previous AndroidStudio the same setup worked for years.
2. The issue is also there in AS 3.4 and AS 3.5
3. Also attached the empty project for reference.