Tôi đang sử dụng ant-release
để tạo một bản dựng 1 bước cho ứng dụng Android của mình.Không tìm thấy thuộc tính key.store và key.alias trong build.properties
build.properties của tôi trông như thế này:
application.package=xxxxx
key.store=sonr
key.alias=sonr labs
key.store.password=xxxx
key.alias.password=xxxx
Khi tôi chạy ant giải phóng mọi thứ đều tốt trừ ký ứng dụng. Tôi gặp lỗi:
-release-prompt-for-password:
-release-nosign:
[echo] No key.store and key.alias properties found in build.properties.
[echo] Please sign /Users/syalam/Documents/git/joeborn-sonr/sonr/bin/SONR-release-unsigned.apk manually
[echo] and run zipalign from the Android SDK tools.
[propertyfile] Updating property file: /Users/syalam/Documents/git/joeborn-sonr/sonr/bin/build.prop
[propertyfile] Updating property file: /Users/syalam/Documents/git/joeborn-sonr/sonr/bin/build.prop
[propertyfile] Updating property file: /Users/syalam/Documents/git/joeborn-sonr/sonr/bin/build.prop
[propertyfile] Updating property file: /Users/syalam/Documents/git/joeborn-sonr/sonr/bin/build.prop
Làm cách nào để giải quyết vấn đề này?
PS. Tôi đã làm theo hướng dẫn này để nhận quy trình xây dựng của tôi xuống http://www.androidengineer.com/2010/06/using-ant-to-automate-building-android.html
Bạn đang sử dụng máy Mac. Bạn đã sử dụng 'ant-release' và keystore đó thành công chưa? Bạn đã di chuyển bất kỳ tệp nào xung quanh ... có thể là sự cố về quyền không? – TryTryAgain
Có, tôi đang sử dụng máy Mac.Đây là lần đầu tiên tôi thử phát hành ant. Tôi có thể xuất tốt bằng GUI Eclipse. –