99% of the probability is the problem of Android SDK
C: \ XX \ appdata \ local \ Google \ androidstudio2020.3 \ log
analyze the log of the studio and find it
com.android.tools.idea.gradle.project.sync.idea.issues.SdkPlatformNotFoundException: Module: 'libzxing' platform 'android-28' not found.
Just download another android-28 SDK
Read More:
- [Solved] Android gradle Error: gradle project sync failed. Please fix your project and try again
- Sync with Gradle for project ‘XXXX‘ failed: Connection timed out: connect
- AS3.5 Error gradle project sync failed.Basic functionality(e.g.editing,debugging) will not work
- android studio Error Gradle project sync failed. Please fix your project and try again
- gradle sync failed CreateProcess error=267 directory is invalid
- Android Studio sync build.gradle appears: Failed to resolve: com.android.support:appcompat problem
- Android studio “sync project with gradle files” button disappears
- Error: Gradle project sync failed. Please fix your project and try again.
- AndroidStudio sync failed solution
- ESP8266 Chip sync error esp_sync_blocking.
- InternalError: GPU sync failed
- Solve the problem of prompt “failed to sync branch” when using Git
- failed to find Build Tools revision 23.0.2 Install Build Tools 23.0.2 and sync project
- Arduino Xiaobai beginner error: warning: espcomm_sync failed error: espcomm_open failed error: espcomm_upload_mem fa
- Could not sync socket: %1
- Warning: ESPCOMM_SYNC Failed Error: ESPCOMM_open Failed Error: ESPCOMM_UPLo
- Error condition on socket for Sync: connection reused
- Sync Error: some files/attrs were not transferred (see previous errors) (code 23) at main
- Solve gradle project refresh failed
- Solution: unity package failed. Commandinvocationfailure: gradle build failed