How can I specify location of debug keystore for Android ant debug builds?

前端 未结 7 1200
北荒
北荒 2020-12-01 05:36

Is it possible to specify the location of a self created debug keystore when creating debug .apk\'s (-debug.apk) with ant

7条回答
  •  鱼传尺愫
    2020-12-01 05:42

    As far as I can tell, in order to do this you need to override the "-do-debug" target. I'd like to know if there's a more elegant way, though. I added this to my build.xml

    
    
        
        
            
                
    
                
                Signing final apk...
                
    
                
                
                Debug Package: ${out.final.file}
            
        
        
    
    
    

提交回复
热议问题