Gradle sync failed: Sync failed: reason unknown

99%的可能性是android sdk的问题
C:\XX\AppData\Local\Google\AndroidStudio2020.3\log
分析studio的log日志发现

com.android.tools.idea.gradle.project.sync.idea.issues.SdkPlatformNotFoundException: Module: 'libzxing' platform 'android-28' not found.

再下载一个android-28sdk就好了

上一篇:【TensorFlow】InternalError: Failed copying input tensor


下一篇:How to Fix Login Failed to SQL Server - Error 18456/18452/4064/4062