Android Studio development RecyclerView Problems and Solutions (2), studiorecyclerview

Source: Internet
Author: User

Android Studio development RecyclerView Problems and Solutions (2), studiorecyclerview

When developing RecyclerView, You need to import other people's examples. I imported them from github. Download The github compressed package and decompress it to check whether the file you want to import is priject or Module. (most of the app folders are projects)

After the import, the program may not run quickly. You need to change the configuration file to be supported by your own AndroidStudio version (you can open a successful project, find the file, and copy it, paste it to the place where the imported project system is to be changed .)

If an error occurs:

It must be the following two errors:

Correct: Right-click the project and select "Open Module Settings". Based on the prompts, determine which one has been added with an error. Remove the incorrect one and add the correct one.

If the following error is reported:

Change the selected part to your project.

The Marked changes need to be changed, and then the project is cleaned up. So far, no errors have occurred after these changes. It is purely my own summary and accumulation. If there are any errors, I hope you can point them out, I also hope to help you.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.