User Tools

Site Tools


android:freeline

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
android:freeline [2016/12/07 13:01] percyandroid:freeline [2016/12/07 13:08] percy
Line 9: Line 9:
 ===== How to Integrate ===== ===== How to Integrate =====
  
-1. Add to the build.gradle in the root director of your project+1. Add to the build.gradle in the root directory of your project
 <code JAVA> <code JAVA>
  buildscript {  buildscript {
Line 50: Line 50:
   python freeline.py   python freeline.py
   python freeline.py -d //with debug information logs   python freeline.py -d //with debug information logs
-  + 
 +==== Force Clean Build ==== 
 Also try the force clean build if it doesn't work Also try the force clean build if it doesn't work
   python freeline.py -f//If you need the force clean build.   python freeline.py -f//If you need the force clean build.
Line 61: Line 62:
       * alias freeline='python freeline.py'       * alias freeline='python freeline.py'
   - If you don't want to commit the changes, you can use the patch command to do it   - If you don't want to commit the changes, you can use the patch command to do it
-       * git diff > freeline.patch  //create the patch +       Create the patch: git diff > freeline.patch   
-       * patch -p1 < freeline.patch //apply the patch +       Apply the patch: patch -p1 < freeline.patch  
-       * patch -p1 -R <freeline.patch // revert the patch+       Revert the patch: patch -p1 -R <freeline.patch
        * Or use git stash and git stash pop to reset or apply the patch temporary        * Or use git stash and git stash pop to reset or apply the patch temporary
  
/var/www/dokuwiki/wiki/data/pages/android/freeline.txt · Last modified: 2016/12/07 13:15 by percy