Tôi muốn thiết lập bản dựng kiến cho dự án của mình. Tôi tìm thấy một hướng dẫn nói rằng tôi cần phải viết các lệnh sau đây để chuẩn bị cho kiến xây dựng:Cách sử dụng kiến để xây dựng với android
android update project -p
sau đó tôi nhận được kết quả
Updated local.properties
Updated file ./proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.
nên nếu tôi cố gắng
android update project -p . --subprojects
sau đó tôi nhận được:
Updated local.properties
Updated file ./proguard-project.txt
Error: The project either has no target set or the target is invalid.
Please provide a --target to the 'android update' command.
và nếu tôi cố gắng
ant release
tôi nhận được
sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var
một ai có thể vui lòng giúp tôi trong việc thiết lập các dự án với kiến. Cảm ơn
Mục tiêu phải được chỉ định là: '--target android-19'. –