krishna
krishna

Reputation: 4089

Error: An error occured during creation of android sub-project

I was try to use the tutorial to create android app. But after using the command

cordova -d create Hellos com.example.hello "Hellos"

to create project.After that i executed the command

cordova platform add android

to add android platform.but i got error

[Error: An error occured during creation of android sub-project. The system cann
ot find the path specified.]

i tried soln in

An error occurred during creation of android sub-project because a path is not found

Error creating android subproject when using phonegap run android command

but after using those solns also i couldn't get rid of error. Please help me.

Thanks in advance.

Upvotes: 2

Views: 3308

Answers (1)

fynx
fynx

Reputation: 75

At first make sure that the android-tools and platform-tools are in your path environment, then delete the .cordova from your home directory and repeat again.

Upvotes: 1

Related Questions