ant 打包脚本(加混淆)

 
  

	  
  
      
      
	
      
      
      
      
      
      
      
      
      
      
      
      
      
      
  
      
      
      
      
 
      
  
      
      
  
      
      
  
      
      
      
      
  
   
      
      
      
      
      
      
      
      
      
      
  
      
      
      
  
      
      
      
      
  
      
      
      
  
      
      
      
  
    
      
  
      
      
      
	
	
    
	
	    
      
        Initializing all output directories...  
          
          
          
      
	
	    
      
        Generating R.java from the resources...  
    
          
              
              
              
              
              
              
              
              
              
              
              
              
              
              
              
              
              
          
      
  
  
      
      
        Compiling .aidl into java files...  
          
              
              
              
              
              
              
              
              
                  
              
          
      
  
      
      
        Compiling java source code...  
          
              
              
              
              
                  
                  
                  
                      
                  
              
          
      
	
	
	
	 

    
     
        Proguad ....
        
        
        

            

            

            

            

            

            

            

            

            

            
            
              
          

        

        

        

        

        

        
    
  
      
      
        Converting compiled files and external libraries into a .dex  
            file...  
          
          
              
              
              
              
              
              
  
          
      
  
  
      
   
      
        Packaging resources and assets...  
          
              
              
              
              
              
              
  
              
              
  
              
              
  
              
              
  
              
              
              
              
  
              
          
      
  
  
      
      
        Packaging unsigned apk for release...  
       
		
		
		
		 
			 
			 
			 
			 
			 
			 
			 
			 
			 
			 
			 
			 
		
		
        It will need to be signed with jarsigner before being published.  
          
      
  
  
      
      
        Packaging signed apk for release... "${jarsigner}"....."${keystore-file}"  
       
		  
              
              
              
              
              
              
              
              
              
              
              
          
	
      
	

	
  
      
      
          
        APK is released. path:${out-signed-package-ospath}  
      

 



配置文件local.properties

请填写正确的路径,并在环境变量中Path中配置好。

ANDROID_HOME=****\android-sdk-windows
ANT_HOME=****\ANT\apache-ant-1.9.6-bin\apache-ant-1.9.6
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_66


签名步骤的签名证书的转换请参考  签名证书转换

你可能感兴趣的:(ant 打包脚本(加混淆))