Okay I'm trying to do some android developing via command line / with an alternative IDE.
I have the following path variables set up:
- jdk1.8.0_40/bin/
- android-sdk-linux/tools/
- android-studio/bin/
- android-sdk-linux/platform-tools/
I run this command to make a project:
android create project --target 2 --name MyFirstApp --path ./MyFirstApp --activity MyActivity --package com.example.myfirstapp
The tutorial tells me to cd into MyFirstApp and run.
gradlew assembleRelease
There is no gradlew in this directory!
$ cd MyFirstApp/
$ ls
AndroidManifest.xml build.xml proguard-project.txt src
ant.properties libs project.properties
bin local.properties res
I've been trying for days but I need help doing this:
Use Gradle to build your project in debug mode, invoke the assembleDebug build task using the Gradle wrapper script (gradlew assembleRelease).
gradlew.sh
andgradlew.bat
are alway the same, you could copy from another project. – Stylographbuild.gradle
file? Project build seems to be setup usingant
. Have a look at thebuild.xml
. – Respondent