mmin18 / Dex65536

Solve the issue with dalvik compiler limitation on 65536 methods (Unable to execute dex: method ID not in [0, 0xffff]: 65536)
MIT License
351 stars 121 forks source link

How to sign in release environment ? #7

Open hanlytowne opened 10 years ago

hanlytowne commented 10 years ago

I found something about sign in release ENV,but how ? below is the description in your demo(custom_rules.xml):

release: Builds the application. The generated apk file must be
    <echo>              signed before it is published.</echo>
    <echo>              The 'nodeps' target can be used to only build the</echo>
    <echo>              current project and ignore the libraries using:</echo>
    <echo>              'ant nodeps release'</echo>

PLS help me: How to use this command signature.(I already have a signature file)

hanlytowne commented 10 years ago

add a ant.properties file, the content is: key.store=xxx.keystore
key.alias=xxx key.store.password=pwd key.alias.password=pwd

run : ant clean release

that's all i did