Cannot resolve symbol AppCompatActivity - Support v7 libraries aren't recognized?

后端 未结 25 1520
情深已故
情深已故 2020-12-07 18:39

I\'m trying to figure out why the heck my Android studio isn\'t recognizing the AppCompat v7 library correctly. The import statement below shows up as gray and says there\'s

相关标签:
25条回答
  • 2020-12-07 19:14

    For me, the below code worked well:

    import android.os.Bundle;
    
    import androidx.appcompat.app.AppCompatActivity;
    

    With the (xml file):

    androidx.constraintlayout.widget.ConstraintLayout xmlns:android="...."
    
    0 讨论(0)
提交回复
热议问题