1. Are you ready for the Galaxy S20? Here is everything we know so far!

Getting started with Android Studio

Discussion in 'Android Development' started by WinchestStoke, Apr 5, 2019.

  1. WinchestStoke

    WinchestStoke Newbie
    Thread Starter

    Hi, I am trying to use Android Studio (3.1.3) for the first time and I’m hitting a problem very early on.

    On starting the project I am using pretty much vanilla settings, but when I try to put a Button I get the following errors:

    “Failed to load AppCompat ActionBar with unknown error.”

    And…

    “This view is not constrained….”

    Any help on getting me started would be really appreciated. Thanks.
     


  2. Deleted User

    Deleted User Guest

    Don't use ConstraintLayout. It's too complicated for beginners.
    Use LinearLayout.
     
    GameTheory likes this.
  3. wseng92

    wseng92 Android Enthusiast

    For “This view is not constrained….” error:

    Make sure you click the "Infer Constraints" button once you done adjusting the layout.

    [​IMG]
     
    #3 wseng92, Apr 19, 2019
    Last edited: Apr 19, 2019
Loading...

Share This Page

Loading...