Adding Support Libraries to Android project

后端 未结 9 1573
孤街浪徒
孤街浪徒 2020-12-31 00:43

Why am I having such a hard time getting into the swing of Android development? I\'ve been developing in various languages over the years and, for some reason, just can\'t s

9条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-31 01:14

    If some of your resource xml files cannot find their respective AppCompat references, make sure you also add the support libraries to your project properties. You do this by:

    1.) right clicking on your project in the project

    2.) Select properties. (Bottom of the menu)

    3.) click Android on the left hand side menu of the new pop up window

    4.) In the libraries section, click the "add button"

    5.) Select the respective libraries. (If none show up, check to see if they are already displayed in the "libraries" window of the pop up menu. If there is a red x by the desired library, try and resolve that issue first.)

    6.) Once there is a green checkmark next to the desired libraries, make sure the "Is Library" option in the libraries section IS NOT selected.

    7.) Click apply.

    8.) Close the pop up menu.

    If this doesn't work, let me know and I can help you out. I spent three hours on the problem so I know pretty much all the possible things that can go wrong with the set up.

提交回复
热议问题