2014-01-23 1 views
0

calabash-Android에서 apk 파일에 서명하기 위해 누락 된 부분을 파악하려고합니다. 어떤 도움을 주셔서 감사합니다. 아래 콘솔 로그. 현재 맥 OS X 10.9Calabash-Android를 사용하여 Android apk 파일을 종료하는 데 문제가 있음

Last login: Thu Jan 23 09:25:44 on console 
xxxxx2m3:~ xxxxx2$ echo $ANDROID_HOME 
/Users/xxxxx2/android/android-sdk/sdk 
xxxxx2m3:Calabash_Automation xxxxx2$ calabash-android resign android-app.apk 
/Users/xxxxx2/.rvm/gems/[email protected]/gems/calabash-android-0.4.18/lib/calabash-android/helpers.rb:102:in `sign_apk': private method `sign_apk' called for nil:NilClass (NoMethodError) 
    from /Users/xxxxx2/.rvm/gems/[email protected]/gems/calabash-android-0.4.18/lib/calabash-android/helpers.rb:82:in `block in resign_apk' 
    from /Users/xxxxx2/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tmpdir.rb:88:in `mktmpdir' 
    from /Users/xxxxx2/.rvm/gems/[email protected]/gems/calabash-android-0.4.18/lib/calabash-android/helpers.rb:76:in `resign_apk' 
    from /Users/xxxxx2/.rvm/gems/[email protected]/gems/calabash-android-0.4.18/bin/calabash-android:107:in `<top (required)>' 
    from /Users/xxxxx2/.rvm/rubies/ruby-2.1.0/bin/calabash-android:23:in `load' 
    from /Users/xxxxx2/.rvm/rubies/ruby-2.1.0/bin/calabash-android:23:in `<main>' 
    from /Users/xxxxx2/.rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `eval' 
    from /Users/xxxxx2/.rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `<main>' 
xxxxx2m3:Calabash_Automation xxxxx2$ android 
xxxxx2m3:Calabash_Automation xxxxx2$ calabash-android build android-app.apk 
No keystores found. 
Please create one or run calabash-android setup to configure calabash-android to use an existing keystore. 
xxxxx2m3:Calabash_Automation xxxxx2$ calabash-android setup 
Please enter keystore information to use a custom keystore instead of the default 
Please enter keystore location 

Please enter the password for the keystore 

Please enter the alias 

Saved your settings to .calabash_settings. You can edit the settings manually or run this setup script again 
xxxxx2m3:Calabash_Automation xxxxx2$ 

어떤 도움을 실행하는 감상 할 수있다. 이것은 당황 스럽습니다.

{ "keystore_location":

답변

0

나는 내용 호리병박-설정이라는 파일이 "...", "keystore_password": "...", "keystore_alias" "..." } 내가

관련 문제