Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用Composing builds的缓存问题 #3

Closed
l-w-h opened this issue Jul 22, 2020 · 4 comments
Closed

使用Composing builds的缓存问题 #3

l-w-h opened this issue Jul 22, 2020 · 4 comments

Comments

@l-w-h
Copy link

l-w-h commented Jul 22, 2020

当lib文件的API发生变化时,会发现已修改的API方法找不到,且External Libraries列表下的版本号还是之前已经缓存的版本,导致找不到新的API,只有在重启AS才能找到新的API,可以优化下吗

@BCsl
Copy link

BCsl commented Jul 23, 2020

@l-w-h 这个应该要进行一下 Sync with Gradle Files 吧?

@hi-dhl
Copy link
Owner

hi-dhl commented Jul 23, 2020

@BCsl 感谢帮忙回复

@hi-dhl
Copy link
Owner

hi-dhl commented Jul 23, 2020

@l-w-h AndroidStudio 有个按钮 ,如下图所示,点击一下就可以了

image

@hi-dhl
Copy link
Owner

hi-dhl commented Jul 23, 2020

@l-w-h 不同 AndroidStudio 版本,图标和位置可能不同,也可以按照如下图所示路径(File > Sync Project with Gradle Files.),找到这个按钮

image

@l-w-h l-w-h closed this as completed Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants