Skipping existing file: gradle-wrapper.jar

Hi all,

  1. I am new to ionic framework. I createa an ionic project (blank app) through visual studio. Whenever I tried to build that project. Visual studio hangs and shows the following output.
    ------ Build configuration options: --debug
    1> No scripts found for hook “before_compile”.
    1> ANDROID_HOME=D:\Program Files\Android\android-sdk
    1> JAVA_HOME=C:\Program Files\Java\jdk1.8.0_131
    1> rm: could not remove file (code EBUSY): E:\Ionic\ionic-js-App1\ionic-js-App1\platforms\android\gradle\wrapper/gradle-wrapper.jar
    1>
    1> rm: could not remove file (code EBUSY): E:\Ionic\ionic-js-App1\platforms\android\gradle\wrapper/gradle-wrapper.jar
    1> rm: could not remove directory (code ENOTEMPTY): E:\Ionic\ionic-js-App1\platforms\android\gradle\wrapper
    1>
    1> skipping existing file: gradle-wrapper.jar

Please anyone suggest me an solution. Thanks in Advance.

  1. How to create a ionic project in visual studio code?

How exactly did you create your project? Is it Ionic v1 or Ionic?
Post your ionic info output.

In general: You use the Ionic CLI to generate projects, then just use a IDE to manipulate the created code, You also build using the CLI - some IDE offer convenience integrations, but the CLI is good enough.

I think its ionic V1. I am not sure about the ionic version. I followed the steps from the following link https://taco.visualstudio.com/en-us/docs/tutorial-ionic/

My ionic information
global packages:

@ionic/cli-utils : 1.5.0
Ionic CLI        : 3.5.0

System:

Node       : v6.11.1
OS         : Windows 8
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed
npm        : 3.10.10

Run the command in your project directory of the app, then you will get more information.

Here is the info
global packages:

@ionic/cli-utils : 1.5.0
Cordova CLI      : 7.0.1
Gulp CLI         : not installed globally
Ionic CLI        : 3.5.0

local packages:

@ionic/cli-plugin-cordova : 1.4.1
@ionic/cli-plugin-gulp    : 1.0.2
@ionic/cli-plugin-ionic1  : 2.0.1
Cordova Platforms         : android 6.2.3
Ionic Framework           : unknown

System:

Node       : v6.11.1
OS         : Windows 8.1
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed
npm        : 3.10.10