I need to use a low end machine for android dev. I successfully created a test project using the command line:
android create project --target <target-id> --name MyFirstApp \
--path <path-to-workspace>/MyFirstApp --activity MyActivity \
--package com.example.myfirstapp
However I see that it does not create any gradle files and the structure seems different that when I create a project in Studio. How do I create a project from the command line so that it includes the build.gradle files as well? Currently I do see a build.xml file that must be ant but I haven't used ant before.
Use the -g option when creating the project. For more details, try
android create project -h
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