用Ant 来编译打包您的Anroid应用程序。

阅读更多

通过

activityCreator.py --out myproject your.package.name.ActivityName

命令可以生成一个project ,生成project下面有个bulid.xml 文件,那个东西就可以帮你打包生成了。

 

来看下ant是怎么做的。

 



    
    
    
    
    
    

    
    
    
    
    
    

    

    
    
    
    
    
        
    

    
    
        
    

    
    
    
        
    

    
    

    
    
    
    
        
    

    
    
    
        
    

    
    
        
    

    
    
        
    

    
    
        
    
    
        
    
    
        
    
    
        
    
    
        
    

    

    

    
    
        Creating output directories if needed...
        
        
    

    
    
        Generating R.java / Manifest.java from the resources...
        
            
            
            
            
            
            
            
            
            
            
        
    

    
    
        Compiling aidl files into Java classes...
        
            
            
            
                
            
        
    

    
    
        
            
                
            
         
    

    
    
        Converting compiled files and external libraries into ${outdir}/${dex-file}...
        
            
            
            
            
        
    

    
    
        Packaging resources and assets...
        
            
            
            
            
            
            
            
            
            
            
            
            
        
    

    
    
        Packaging resources...
        
            
            
            
            
            
            
            
            
            
            
            
        
    

    
    
    
        
        
        
    

    
    
        Packaging ${out-debug-package}, and signing it with a debug key...
        
            
            
            
            
            
            
            
            
            
        
    

    
    
        Packaging ${out-unsigned-package} for release...
        
            
            
            
            
            
            
            
            
            
            
        
        It will need to be signed with jarsigner before being published.
    

    
    
        Installing ${out-debug-package} onto default emulator...
        
            
            
        
    

    
        Installing ${out-debug-package} onto default emulator...
        
            
            
            
        
    

    
    
        Uninstalling ${application-package} from the default emulator...
        
            
            
        
    


 搞定,慢慢研究上面的ant target吧

你可能感兴趣的:(Ant,Android,OS,Windows,Eclipse)