java - gradlew missing in generated android project -


okay i'm trying android developing via command line / alternative ide.

i have following path variables set up:

  • jdk1.8.0_40/bin/
  • android-sdk-linux/tools/
  • android-studio/bin/
  • android-sdk-linux/platform-tools/

i run command make project:

android create project --target 2 --name myfirstapp --path ./myfirstapp --activity myactivity --package com.example.myfirstapp 

the tutorial tells me cd myfirstapp , run.

gradlew assemblerelease 

there no gradlew in 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 days need doing this:

use gradle build project in debug mode, invoke assembledebug build task using gradle wrapper script (gradlew assemblerelease).

this called gradle wrapper, have generate first. in main build.gradle file, put:

task wrapper(type: wrapper) {     gradleversion = '2.0' } 

then run:

gradle wrapper 

this has run once , gradlew file. can remove wrapper task build.gradle file.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -