English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Illustration of Importing a New Project into Android Studio

1 Modify the relevant files under the project before importing

1.1 Only modify the following three places

1.2 Modify the build.gradle file

1.3 Modify gradle/wrapper/gradle-wrapper.properties1.4

Modify app/build.gradle

2 Import the modified project2.1 Select File|New|Import Project

2.2 Select the modified project

If the project has not become the AS symbol, click Cancel, and then re-import the project, it will become the AS symbol:

3 Afterword

  The import of the project, the parameters of the three files mentioned above must be modified to match the current running environment. After completing the above steps, the architecture of the project will not have any problems. If there are still errors, it should be due to different package versions or code syntax errors, etc., which can be searched on Baidu by yourself.

Summary

The above is the illustration of importing a new project in Android Studio introduced by the editor, hoping it will be helpful to everyone. If you have any questions, please leave a message, and the editor will reply to everyone in time. Also, a big thank you to everyone for supporting the Yell Tutorial website!

You May Also Like