-1

I just created a new Android project and just tried adding some text fields to my activity main and I am already getting errors. None of the other suggested solutions have helped. Here is the error and my current gradle.

Error screenshot:
Error screenshot

current gradle:
current gradle

Zoe
  • 27,060
  • 21
  • 118
  • 148
  • Possible duplicate of https://stackoverflow.com/questions/44449275/failed-to-load-appcompat-actionbar-with-unknown-error-in-android-studio – Martin Zeitler Aug 26 '18 at 21:23
  • Be careful when posting external links, many people will not follow them blindly. Consider adding the error message directly. – BobMorane Aug 26 '18 at 21:55

1 Answers1

-1

There are some bugs at latest update of support libraries so solution downgrade the library until the problem is fixed, dependencies code should be like below

implementation 'com.android.support:appcompat-v7:28.0.0-alpha1'
implementation 'com.android.support:support-media-compat:28.0.0-alpha1'
implementation 'com.android.support:support-v4:28.0.0-alpha1'
5ec20ab0
  • 742
  • 6
  • 15