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

AndroidStudio4.1.3 编译问题 #30

Closed
lin0603 opened this issue Nov 8, 2021 · 6 comments
Closed

AndroidStudio4.1.3 编译问题 #30

lin0603 opened this issue Nov 8, 2021 · 6 comments

Comments

@lin0603
Copy link

lin0603 commented Nov 8, 2021

大佬好,请问我用了AndroidStudio4.1.3开启最新的专案..会出这错误 请问能如何处理呢?谢谢
image
另外我按了 Use JDK from project structure 后,会跳出这错误
This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 2020.3.1 or newer.
再拜托您帮忙小弟解答下,谢谢

@Petterpx
Copy link
Owner

Petterpx commented Nov 9, 2021

你是直接clone的FloatingX去运行吗,如果是这样的话,建议你删除 .idea下的gradle.xml文件,然后再重新sync一下。

@Petterpx
Copy link
Owner

Petterpx commented Nov 9, 2021

如果不行的话,你可以尝试删除整个 .idea文件夹,再尝试重新sync.

@Petterpx
Copy link
Owner

Petterpx commented Nov 9, 2021

sync没有的话,点击下图File->下图位置重启即可尝试:
image

@Petterpx
Copy link
Owner

Petterpx commented Nov 9, 2021

你可以直接拉最新的代码即可,我已经将多余的文件忽略掉了。但是因为我这边gradle的配置是7.x的配置,所以你那边可能仍然需要升级到最新的Android Studio Fox才可以。

@lin0603
Copy link
Author

lin0603 commented Nov 9, 2021

谢谢大佬回复.我升级到最新的Android Studio Fox并再将整个专案clone下来.照了以上的步奏做了.现在已经可以正常的执行了.真的非常谢谢您帮忙.

@Petterpx
Copy link
Owner

Petterpx commented Nov 9, 2021

没事,这个issue就暂时先关闭了,如果有其他问题,请再联系。

@Petterpx Petterpx closed this as completed Nov 9, 2021
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

2 participants