Status Update
Comments
uc...@google.com <uc...@google.com> #2
not reproduced , can you share sample project which will help us to triage this issue
rh...@gmail.com <rh...@gmail.com> #4
Having the same exact issue here :/, pretty annoying especially working with the preview layout in a nestedscrollview. Any time I close it and scroll through the layout the error appears immediately
el...@gmail.com <el...@gmail.com> #5
I'm having the same issue.
my setup:
android {
compileSdkVersion 25
buildToolsVersion '25.0.2'
defaultConfig {
minSdkVersion 9
targetSdkVersion 22
vectorDrawables.useSupportLibrary = true
....
}
}
dependencies {
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:design:25.1.0'
....
}
API version in editor: 25.
my setup:
android {
compileSdkVersion 25
buildToolsVersion '25.0.2'
defaultConfig {
minSdkVersion 9
targetSdkVersion 22
vectorDrawables.useSupportLibrary = true
....
}
}
dependencies {
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:design:25.1.0'
....
}
API version in editor: 25.
el...@gmail.com <el...@gmail.com> #6
update:
Using "API version in editor": 19 (in design editor the little green android head, for the newbies) removes the issue, although I see some minor differences in the design output when doing this, shouldn't be much of an issue as you probably only need to see at high level when developing, you can switch to 25 though from time to time just to have a quick check.
Good luck and I hope it gets fixed (or at least we figure out what we're doing wrong)
Using "API version in editor": 19 (in design editor the little green android head, for the newbies) removes the issue, although I see some minor differences in the design output when doing this, shouldn't be much of an issue as you probably only need to see at high level when developing, you can switch to 25 though from time to time just to have a quick check.
Good luck and I hope it gets fixed (or at least we figure out what we're doing wrong)
rj...@gmail.com <rj...@gmail.com> #7
+1 i also had to switch to 16 in editor to view without errors.
It happens in a custom view I created.
It happens in a custom view I created.
yi...@gmail.com <yi...@gmail.com> #8
Had the same problem too.
The error message:
Rendering Problems
Couldn't resolve resource @id/visible (4 similar errors not shown)
Tip: Try to refresh the layout.
build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.1"
defaultConfig {
applicationId "com.example.android.app "
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:design:25.1.0'
compile 'com.android.support:support-v4:25.1.0'
compile 'com.android.support:cardview-v7:25.1.0'
compile 'com.android.support:customtabs:25.1.0'
testCompile 'junit:junit:4.12'
}
API version in editor: 25
Android Studio version: 2.2.3
Operating system: Windows 10 Home (64-bit)
The error message:
Rendering Problems
Couldn't resolve resource @id/visible (4 similar errors not shown)
Tip: Try to refresh the layout.
build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.1"
defaultConfig {
applicationId "
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:design:25.1.0'
compile 'com.android.support:support-v4:25.1.0'
compile 'com.android.support:cardview-v7:25.1.0'
compile 'com.android.support:customtabs:25.1.0'
testCompile 'junit:junit:4.12'
}
API version in editor: 25
Android Studio version: 2.2.3
Operating system: Windows 10 Home (64-bit)
bj...@northerncontrols.se <bj...@northerncontrols.se> #9
Yo, got the same issue!
What's the solution, or work-around?
What's the solution, or work-around?
gr...@pocketmatter.com <gr...@pocketmatter.com> #10
I just updated to Android Studio 2.3 Beta 3 and still have the same issue with Render problem. Layout fidelity warning. "Couldn't resolve resource @id/visible". Using widget TextInputLayout. and support:design:25.1.0 etc.
da...@gmail.com <da...@gmail.com> #11
Same problem here, with Android Studio 2.3 beta 3, buildToolsVersion '25.0.2', support library 25.1.1.
ar...@google.com <ar...@google.com> #12
We have passed this defect on to the development team and will update this issue with more information as it becomes available.
rs...@gmail.com <rs...@gmail.com> #13
Here also same issue
Rendering Problems Couldn't resolve resource @id/visible (4 similar errors not shown) Tip: Try to refresh the layout.
Rendering Problems Couldn't resolve resource @id/visible (4 similar errors not shown) Tip: Try to refresh the layout.
wy...@gmail.com <wy...@gmail.com> #14
Same issue here using Android Studio 2.2.3 with API 25. Very annoying, pops back up each time I make any minor change in layout :(
[Deleted User] <[Deleted User]> #15
Same issue here using Android Studio 2.2.3 with API 25.
This is not the solution but I have added these lines to dimens.xml:
<Item name = "visible" type = "id" />
<Item name = "masked" type = "id" />
And allowed me to work it normally.
This is not the solution but I have added these lines to dimens.xml:
<Item name = "visible" type = "id" />
<Item name = "masked" type = "id" />
And allowed me to work it normally.
al...@gmail.com <al...@gmail.com> #16
same issue here
je...@googlemail.com <je...@googlemail.com> #17
Still exists with 2.3 RC
mm...@gmail.com <mm...@gmail.com> #18
Still exists with 2.3 (today release)
[Deleted User] <[Deleted User]> #19
Still exists with 2.3 (today release)
Same here.
Same here.
ja...@linuxjet.com <ja...@linuxjet.com> #20
Still exists with 2.3 (today release)
Same here.
Same here.
tf...@gmail.com <tf...@gmail.com> #21
I've found that is somewhat related to the version of gradle option compile 'com.android.support:design:25.x.x'
The render error shows when using the version 25.2.0
the error disappear when using the version 25.0.1
The render error shows when using the version 25.2.0
the error disappear when using the version 25.0.1
ma...@gmail.com <ma...@gmail.com> #22
I had the same problem ""Couldn't resolve resource @id/visible" using TextInputLayout :(
Only worked when I change to support library revision 24.1.1
Only worked when I change to support library revision 24.1.1
he...@gmail.com <he...@gmail.com> #23
ni...@gmail.com <ni...@gmail.com> #24
Had the same issue here.
For the time being, you can just set the +@id/visible to some field or the tview and the message will disappear from all the activities.
Worked for me !!
For the time being, you can just set the +@id/visible to some field or the tview and the message will disappear from all the activities.
Worked for me !!
ey...@gmail.com <ey...@gmail.com> #25
Still happening under Android Studio 2.4 Preview 7 and Support Library 25.3.1
ey...@gmail.com <ey...@gmail.com> #26
It also happens with @id/masked.
da...@gmail.com <da...@gmail.com> #27
Here also same issue
Rendering Problems Couldn't resolve resource @id/visible Tip: Try to refresh the layout.
Rendering Problems Couldn't resolve resource @id/visible Tip: Try to refresh the layout.
jk...@gmail.com <jk...@gmail.com> #28
Same issue here ..
Android Studio version: 2.3.2, API level 17.
Android Studio version: 2.3.2, API level 17.
ja...@linuxjet.com <ja...@linuxjet.com> #29
same here. can't remember when it first started, but it has been happening for a while now.
CR...@mohanindia.co.in <CR...@mohanindia.co.in> #30
Same here. Rendering issue for android API 25. Please suggest something to work on!!
sk...@gmail.com <sk...@gmail.com> #31
Getting the same issue on 2.3.3, compiled at API 25, support library 25.3.1.
di...@gmail.com <di...@gmail.com> #32
Same here on API 26!
dy...@gmail.com <dy...@gmail.com> #33
Same on API 25
ge...@gmail.com <ge...@gmail.com> #34
Same here on API 26!
ca...@gmail.com <ca...@gmail.com> #35
I don't know why. Maybe I saw somewhere but it worked for me.I created ids.xml to in values folder and added that:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item name="visible" type="id"/>
<item name="masked" type="id"/>
</resources>
my build.grandle in app's folder includes that
compile 'com.android.support:appcompat-v7:26.0.0-alpha1'
compile 'com.android.support:recyclerview-v7:26.0.0-alpha1'
compile 'com.android.support:cardview-v7:26.0.0-alpha1'
compile 'com.android.support:design:26.0.0-alpha1'
And
compileSdkVersion 26
buildToolsVersion "26.0.0"
minSdkVersion 16
targetSdkVersion 26
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item name="visible" type="id"/>
<item name="masked" type="id"/>
</resources>
my build.grandle in app's folder includes that
compile 'com.android.support:appcompat-v7:26.0.0-alpha1'
compile 'com.android.support:recyclerview-v7:26.0.0-alpha1'
compile 'com.android.support:cardview-v7:26.0.0-alpha1'
compile 'com.android.support:design:26.0.0-alpha1'
And
compileSdkVersion 26
buildToolsVersion "26.0.0"
minSdkVersion 16
targetSdkVersion 26
no...@gmail.com <no...@gmail.com> #36
Same here
kk...@google.com <kk...@google.com>
pm...@gmail.com <pm...@gmail.com> #37
You should set 1. android:id="@+id/visible" to android.support.design.widget.TextInputLayout and 2. android:id="@+id/masked" to child of TextInputLayout.
This will help..!
This will help..!
ni...@google.com <ni...@google.com>
ey...@gmail.com <ey...@gmail.com> #38
Was this ever fixed? I can't see the bug marked duplicate because I don't have access rights to it.
au...@gmail.com <au...@gmail.com> #39
Not resolved "Couldn't resolve resource @id/visible"
android version: 2.3.1
gradle:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.1'
classpath 'com.google.gms:google-services:3.0.0'
}
}
allprojects {
repositories {
jcenter()
maven { url 'https://maven.fabric.io/public ' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
app:
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "27.0.3"
defaultConfig {
applicationId "com.example.android.assignfirebasechat"
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.google.firebase:firebase-core:9.8.0'
compile 'com.android.support:design:25.3.1'
compile 'com.firebaseui:firebase-ui:1.1.1'
testCompile 'junit:junit:4.12'
}
apply plugin: 'com.google.gms.google-services'
android version: 2.3.1
gradle:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.1'
classpath 'com.google.gms:google-services:3.0.0'
}
}
allprojects {
repositories {
jcenter()
maven { url '
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
app:
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "27.0.3"
defaultConfig {
applicationId "com.example.android.assignfirebasechat"
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.google.firebase:firebase-core:9.8.0'
compile 'com.android.support:design:25.3.1'
compile 'com.firebaseui:firebase-ui:1.1.1'
testCompile 'junit:junit:4.12'
}
apply plugin: 'com.google.gms.google-services'
di...@google.com <di...@google.com> #40
This was fixed in 3.0. Upgrading to 3.2 will resolve the issue.
ch...@coinbase.com <ch...@coinbase.com> #41
Using the latest stable Android Studio (3.2.1), this is still not fixed.
Description
Build #AI-145.3537739, built on December 2, 2016
JRE: 1.8.0_76-release-b03 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
OS: Windows 10 Home 64-bit
Tried these steps below, but the problem is still persist:
1) Rebuild Project
2) Clean and Rebuild Project
3) Clear Cache and Restart Android Studio