Android Compile-time Annotation-APT Technology

APT(Annotation Processing Tool), or Annotation Processing Tool, is a tool for processing annotations. To be exact, it is a tool for javac to scan and process annotations at compile time. The annotation processor takes Java code (or compiled bytecode) as input and generates. java files as output. Simp ...

Posted by Pintonite on Wed, 07 Aug 2019 03:17:46 -0700

Spring boot Gradle project construction

Spring boot Gradle project construction Creating Gradle Project with IDEA File - > New - > Project - > Gradle (in the left option bar) The following catalogues are generated after the establishment of the routine project: build gradle wrapper gradle-wrapper.jar gradle-wrapper.properties ...

Posted by LDusan on Tue, 30 Jul 2019 23:29:21 -0700

Gradle sync failed:'Gradle: xxxxx@jar'already disposed problem solution

Gradle sync failed: 'Gradle:xxxxx@jar' already disposed: --------------Creation trace: java.lang.Throwable: 1564477298072 at com.intellij.openapi.util.TraceableDisposable.<init>(TraceableDisposable.java:44) at com.intellij.openapi.roots.impl.libraries.LibraryImpl.<init>(LibraryImpl.ja ...

Posted by igorek on Tue, 30 Jul 2019 14:52:25 -0700

Hundred-Armed Giant and Tartarus

Preface A static code detection tool, including Ali java protocol detection and link detection, supports custom pmd and link configurations, and integrates git with incremental detection plug-ins when submitting code. Hector Chris, also known as the Hundred-Armed Giant, comes from Greek mythology and is the son of Uranus and Gaia, the God of t ...

Posted by omarh2005 on Tue, 23 Jul 2019 07:05:15 -0700

How to Develop a High Performance gradle transform

Preface For java developers, it seems that they prefer to do things during compilation. For example, in order to achieve AOP programming, they like to use bytecode generation technology, commonly used traceless burial points, time-consuming statistics and so on. So how does Android do that? The so-called bytecode stuffing technology, in fact, ...

Posted by AdamBrill on Mon, 22 Jul 2019 20:11:47 -0700

Android uses Kotlin to build Gradle

Android Studio Gradle 3.4.2 5.1.1 First of all, kotlin-dsl is nothing new. Gradle 5.0 was releasedGradle Kotlin DSL The current version is 1.0.2 Is it possible to abandon groovy and embrace kotlin now? Migration is still a bit of a hassle! Currently, when creating a project in Android Studio, Groo ...

Posted by techjosh on Thu, 18 Jul 2019 23:16:43 -0700

Referencing third-party dependency libraries for Module compiled aar in Android

| Question In a recent project, because there were too many modules, consider replacing the module library with an aar reference. However, according to the normal way aar was introduced, there were various errors: ClassNotFindException and so on | Background Development environment: Android Studio + Gradle Currently, there are several ways to d ...

Posted by Kibeth on Tue, 16 Jul 2019 10:17:38 -0700

Brief Introduction to Spring Boot Series (1) Helloword and Basic Concepts

Preface Recently, in learning Spring Boot, a series has been opened to record the pits encountered in the learning process. The proverb goes deep and shallow, but my level is still limited. I'm afraid it's hard to do it. So it's called shallow Spring Book. This is the first article in this series to build a simple Hello World See the original t ...

Posted by Sxooter on Mon, 15 Jul 2019 15:51:27 -0700

Android Project Confusion

Proguard is a very efficient and convenient obfuscation tool. After using this tool to obfuscate and pack, the volume of apk decreases significantly, and the difficulty of decompilation increases. ProGuard is a free Java class file reduction, optimization, confusion and pre-validation tool. It detects and deletes unused classes, fields, metho ...

Posted by andy666 on Fri, 12 Jul 2019 19:48:20 -0700

The Android Studio project is packaged into jar

The Android Studio project is packaged into jar   Foreword: In eclipse, we know how to export a project as a jar package. Now Android Stuido is widely developed. Here we introduce the use of AS project packaged as jar, jar and arr step by step.   1. Function: To be used by other projects, pack the project into jar   Step 2 (Android Studio): 1. ...

Posted by Moharo on Tue, 09 Jul 2019 18:38:31 -0700