Today, I upgrade stable release of Android Studio 3.3 and then I realize that the common action go to declaration by Cmd + Left Click
or Cmd + B
does not work anymore. Instead, It goes to declaration in R.java
Now, I must double shift
on layout/drawable/mipmap file to go to it's declaration. But, this action does not work with resource id/color/string... So, now it is hard to find out input value from resource.
Is there anyway to make this function back? I think it really helpful.
Any suggestion is appreciate
I have faced same issue. After spending so much time on this i found proper solution for this.
1). Upgrade your project gradle like
classpath 'com.android.tools.build:gradle:3.3.0'
If this not work than try below method
2). Just delete
.gradle
.idea
build
folder from your project and reopen the project. and it will solve this issue.
If you have multiple module in your project than remove all those folder from all modules.
Hope this will work for you as it worked for me.
Its not removed. Its working fine.
You can do following things:
Android Studio
ID or STRING or COLORS
. So may be that is available in R.java but removed from directory. You can clean project and try again.Hope 2nd point is happened to you.
Thank you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With