android development Miscellany

1. The line of code to achieve transparency Dialog background color:
a line of code to achieve transparency Dialog background color

2. Sometimes the sudden appearance of OOM (out of memory) card memory overflow results in death, if the machine performance is not too bad, then, that there may be an infinite loop somewhere, there may be a variable or a view. Of course, local variable or local view is very easy to check the problem, and the most difficult to check the global variables or global view.

3. The child process can not do UI operations, some interfaces callback method is likely to be in the child, if the problem UI operation failure occurs, it may be the callback method in the child process.

In the xml file 4.Android Studio xml Unknown attribute problems, the property is not suggesting, are also marked as a pale yellow
of the problem is actually solved, Baidu received a bunch of solutions, but not a useful, there is a last stackoverflow foreigners gives the answer:
It IS the Simple Very .caches the Delete File.:

1、Just close your AS.
2、Go to .AndroidStudio3.2 folder.
3、Delete the Caches file (path is: C:\Users\user.AndroidStudio3.2\system)
4、Restart your AS.

5. The system time using android sdk need Glide and maps class is running correctly, otherwise there will be problems.

Guess you like

Origin blog.csdn.net/weixin_43115440/article/details/89322352