Micro-dimensional learning notes-Build, learning notes-build
Micro-dimensional is a good open-source third-party Weibo, which is worth learning.
Click to go to his github page.
My environment settings:
Android Studios 1.1.0
Gradle: 2.2.1
SDK: 22.0.0
Basic Modification
Pull down the code from github and make the following changes as prompted by README:
Gradle Construction
-Version
Latest Android SDK
Gradle
-Environment Variables
ANDROID_HOME
GRADLE_HOME, and put the bin in the path variable
Android SDK installation is updated to the latest version
Android SDK Build-tools
Google Repository
Android Support Repository
Android Support Library
-Remove Configuration
Remove the crashlytics. start (this) of com. Crashlytics. ApiKey and GlobalContext in AndroidManifest. xml to avoid affecting the crash statistics of the four dimensions.
-Compile
./Gradlew assembleDebug. The compiled apk is under build/outputs/apk. The debug. keystore signature is used by default and can coexist with the official version on Google Play.
The build is successfully modified.
Build successful ,: