0

I just installed the newest of Android Studio, and I opened my project and started to sync and this error showed up:

NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN

What's going wrong?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Abu Thufail
  • 1
  • 1
  • 2
  • error "Gradle sync failed: C:\Users\TIK\AppData\Local\Android\Sdk\platforms\android-28\android.jar (The system cannot find the file specified)" and NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN – Abu Thufail Oct 27 '19 at 09:58

1 Answers1

0

After installed the newest of Android Studio Gradle model version=5.4.1 this contains all xml code in androidx so first try to refactor it by using

Refactor->migrate to androidx

then try to sync it.

Pratiksha Shaha
  • 133
  • 1
  • 9
  • still showed this "Gradle sync failed: C:\Users\TIK\AppData\Local\Android\Sdk\platforms\android-28\android.jar (The system cannot find the file specified)" – Abu Thufail Oct 27 '19 at 09:57
  • and this NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN – Abu Thufail Oct 27 '19 at 09:58
  • try to sync app with internet connection is there any missing file or dependancy then gridle automatically download it. – Pratiksha Shaha Oct 28 '19 at 09:47