1, import an existing project folder, the R resources can not resolve errors, resulting in the program can not compile and run, right->properties->android, see the top of the taget and there is no choice to, Tick the currently selectable maximum version (i.e. the highest version of the SDK that you have installed on this machine), and click Apply to resolve the error.
2, the appearance of style.xml in the pattern is not recognized:
Error:error Retrieving parent for item:no Resource found that matches the given name ' Theme.AppCompat.Light '.
This type of error also includes other styles because:
| 8 down Voteaccepted |
AppCompatis a library project. You need to reference the library project in your Android project.
Https://developer.android.com/tools/support-library/setup.html Check the topic Adding Libraries with resources. |
Go to this address to see how to solve it.
| 8 down Voteaccepted |
AppCompatis a library project. You need to reference the library project in your Android project.
Https://developer.android.com/tools/support-library/setup.html check the Topic adding libraries with resources . |