OkHttp usage details
Today I learned OkHttp and made a summary here. I hope it can help people in need. Well, don't talk more nonsense and get to the point.
1, OkHttp introduction
OkHttp is an excellent network request framework. When it comes to network request framework, many people may think of volley. Volley is a network request framework provided by Goo ...
Posted by sitorush on Fri, 03 Dec 2021 03:34:11 -0800
Detailed introduction of building Android pre and post tasks with Gradle
Detailed introduction of building Android pre and post tasks with Gradle
preface
"Building Android pre and post tasks" refers to some operations before and after Android packages. For example, the version number is automatically modified before packaging, and reinforced after successful packaging.
The last article briefly introduced ...
Posted by reeksy on Tue, 30 Nov 2021 19:42:32 -0800
Android - the end of Gradle tutorial
preface
So far, the Gradle foundation and Kotlin foundation have been explained. Therefore, in this article, we will explain in detail the construction optimization of Gradle and how to migrate from Groovy to KTS!
Don't say much, just start!
1. Gradle build optimization
Optimization is all about configuration. Just go through it quickly! Fo ...
Posted by sebmaurer on Mon, 22 Nov 2021 14:30:20 -0800
android studio relies on offline configuration
android studio relies on offline configuration
gradle settings
1. Switch the directory structure to project mode and open the gradle/wrapper/gradle-wrapper.properties file under the project directory
2. Set the gradle local dependency package location
The original configuration distributionUrl of the project is the remote gradle address. Th ...
Posted by coder_ on Sat, 20 Nov 2021 15:06:53 -0800
Android Gradle - Groovy dynamic features and metaprogramming
preface
In the last article, I mainly explained Detailed explanation of Groovy classes, methods and closures, In this article, we will explain Groovy's dynamic features and metaprogramming in detail.
1. Groovy dynamic features
Speaking of dynamic characteristics, in the first article Understand Gradle and automated build In, it is just a bri ...
Posted by cloudzilla on Fri, 22 Oct 2021 03:37:22 -0700
Super simple integration of HMS Scan Kit code scanning SDK, easy code scanning purchase
preface
. Now we are used to scanning code, scanning code for payment, scanning code for social account, scanning code for commo ...
Posted by RTS on Tue, 23 Jun 2020 19:04:09 -0700
Android Studio 3.0 Channel Packaging Problems
Recently upgraded to Android Studio 3.0, there was a sudden error when packaging the test. The error is as follows:
Error:Cannot choose between the following configurations of project :UMUpdate:
- debugApiElements
- debugRuntimeElements
- releaseApiElements
- releaseRuntimeElements
All of them match the consumer attributes ...
Posted by unxposed on Fri, 05 Jun 2020 10:15:43 -0700
Android | super simple integration HMS ML Kit for maximum face smile capture
preface
if you have some knowledge of the face detection function of HMS ML Kit, I believe you have manually called the interface provided by us to write your own APP. At present, there are feedback from small partners in the process of calling the interface. It is not clear how to use the interface mlmaxsizefacetransportor in the ...
Posted by whizzykid on Mon, 25 May 2020 09:20:06 -0700
Continuous integration - UniApp
A basic APP build script. Please ignore this article. The author is not talented and can only try to sum up experience repeatedly.FROM fake front end Engineer
background
The official development tool HBX (abbreviated as HbuilderX) of UniApp needs to manually export the project file and then operate the Android project.
Recall the scena ...
Posted by DeadEvil on Sun, 17 May 2020 21:30:44 -0700
LeakCanary: a tool for real-time monitoring Android memory leaks
I believe that many developers will not be unfamiliar with android memory leakage. In terms of optimizing performance, memory leakage, especially in large projects, is often difficult to locate due to the collaborative development of multiple people.
Here is an open source tool, LeakCanary, from square company, which can help you to monitor me ...
Posted by simon622 on Tue, 05 May 2020 16:17:57 -0700