After "Go" Androidstudio to the latest version (3.1.2)

Source: Internet
Author: User

A temporary spot that needs attention.

1.androidstudio3 Unable to import Moudle?

For example: I wrote a simple project that needed to import a third-party moudle that I imported:

Since the as upgrade, there is no highlight color changes (black), so this time did not complete the custom import, when I add dependencies can not find this moudle,
Found Setting.gradle also did not see.

Workaround: Manually write in Setting.gradle

2. Build at this time, find or error

The Configuration ' compile ' is obsolete and have been replaced with ' implementation ' and ' API '. It is removed at the end of 2018. For more information see:http://d.android.com/r/tools/update-dependency-configurations.html
Said Gradle in the compile is obsolete, to modify into implementation or API
Workaround: Change the point of the arrow below to the point indicated by the arrow above and solve the problem.

3. The third problem I encountered with integration Slidingmenu could be a special case:


have been reporting this error, the compilation has failed ...
Workaround: Find the Build.gradle in the app to join the arrows at the V4

Problem solving.

4. For those who are familiar with ecplise or used to looking at memory, they must be questioned. Look directly at the picture


The answer is below:

After "Go" Androidstudio to the latest version (3.1.2)

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.