I am trying to buil an android project from command line. My android project has a sub project inside my main android project. When I run the ant debug command it showing error in building classes as not found the library classes from the subproject. So I think the sub project is not included correctly, we need to execute some command for that.
Please help, thanks in advance
I got the answer from Android official doc:
android update lib-project --target 3 --path ZBarScanner-master/ZBarScannerLibrary
android update project --name android_app --path . --library ZBarScanner-master/ZBarScannerLibrary
First we need to update the library project and then update the main project. Both should be created before doing the update. Then do:
ant clean
ant debug
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With