Common plug-ins for Android Studio

1. Import third-party jar packages and open source libraries Import local jar Copy the jar file to libs, right-click on the jar file and select add as a library to import. The compile of build.gradle in the module will increase. compile files('libs/butterknife-6.1.0.jar') If builder.gradle already has compile fileTree(include: ['*.jar'], dir: ' ...

Posted by Irvin Amoraal on Fri, 19 Apr 2019 14:21:32 -0700

android custom Lint

Summary Android Lint is Google's static code checking tool for Android developers. Using Lint to scan and inspect Android engineering code can alert programmers to the potential problems of modern code and correct them as soon as possible. Why Customize We encountered the following problems in the actual use of Lint: Native Lint can't mee ...

Posted by reapfyre on Thu, 18 Apr 2019 10:36:33 -0700

Android Studio multi-channel packaging

Reference material Blog: http://blog.csdn.net/mynameishuangshuai/article/details/51783303 http://stormzhang.com/devtools/2015/01/15/android-studio-tutorial6/ Video: http://www.imooc.com/learn/752 Suppose Android Manifest. xml's meta-data > CHANNEL is the channel's standard 1. Setting Dynamic Channel Variables in Android Manife ...

Posted by phpion on Wed, 17 Apr 2019 01:39:33 -0700

Writing Android Native View Based on TBS to provide a summary of React Navtive usage

Writing Android Native View Based on TBS to provide a summary of React Navtive usage Integration process of TBS 1. Download SDK and place jar packages in app/libs / directory (Project presentation) 2. Copy liblbs.so in Demo Project to main/jniLibs/armeabi/directory 3. Add NDK support in build.gradle ndk { abiFilters "arm ...

Posted by lmhart on Tue, 16 Apr 2019 21:39:33 -0700

Full Analysis of OkHttp3 Usage

1. Prepare before use Android Studio configuration gradle: compile 'com.squareup.okhttp3:okhttp:3.2.0' compile 'com.squareup.okio:okio:1.7.0' Add network privileges: <uses-permission android:name="android.permission.INTERNET"/> 2. Asynchronous GET requests private void getAsynHttp() { mOkHttpClient=new OkHttpClient(); Req ...

Posted by vitch2002 on Sun, 14 Apr 2019 23:54:32 -0700

DexDiff/DexPatch for Tinker Source Analysis

This article has been launched in my public number, Hongyang Android. For reprinting, please indicate the source: http://blog.csdn.net/lmj623565791/article/details/60874334 This article is from Zhang Hongyang's Blog In the last article, we introduced Android Hot Repair Tinker Access and Source Code Analysis It contains some backgr ...

Posted by mospeed on Sun, 14 Apr 2019 10:21:34 -0700

RecyclerView Update and Principle

Basic Use of RecyclerView Update and Principle and Separation Line Resolution To put it another way: Startup page is not simply a few seconds into the home page, app startup speed has a lot to do with app startup page. Commands can be used to detect startup speed, (hot and cold startup) how to optimize and accelerate application startup spe ...

Posted by chixsilog on Sat, 13 Apr 2019 18:09:33 -0700

virtual reality

Concept: virtual reality (VR), short for virtual technology, is the use of computer simulation to create a three-dimensional virtual world, providing users with visual and other sensory simulation, so that users feel as if they are experiencing the situation, can observe things in three-dimensional space in a timely and unlimited manner. Func ...

Posted by mmosel on Sat, 13 Apr 2019 12:15:33 -0700

Multi-channel Packaging of Alliances

Step 1: 1. According to umeng requirements, manifest files need to be <meta-data android:name="UMENG_CHANNEL" android:value="${UMENG_CHANNEL_VALUE}" /> This configuration, where value is the channel name of wandoujia, 360, etc., but we will not write the channel name here, write a placeholder, which will be replaced dynamically when ...

Posted by H-Fish on Thu, 11 Apr 2019 13:00:32 -0700

Gradle multi-channel packaging (dynamically setting App name, applying icons, replacing constants, changing package name, changing channels)

from: http://www.jianshu.com/p/533240d222d3 Recently, there is a requirement to package nine types of App s at a time, and both constants and String.xml have variables. Although variables have always existed before, they are only packaged one at a time. This allowed me to pack nine at a time. If I pack it nine times in the future, I'll be ...

Posted by jrbilodeau on Wed, 03 Apr 2019 13:09:31 -0700