cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel Nennker <ignisvul...@gmail.com>
Subject An error occured during creation of android sub-project. The system cannot find the path specified.
Date Sat, 12 Oct 2013 14:54:17 GMT
Hi,

while trying to circumvent an issue with a missing cordova.js in 3.1 I ran
into this new issue.

I created a new project using:
C:\Users\ignisvulpis\git\delme>phonegap create app test.app App
[phonegap] created project at C:\Users\ignisvulpis\git\delme\app

C:\Users\ignisvulpis\git\delme>cd app

C:\Users\ignisvulpis\git\delme\app>phonegap local build android
[phonegap] adding the Android platform...
   [error] An error occured during creation of android sub-project. The
system cannot find the path specified.

 Maybe this is related to my new machines' environment?
C:\Users\ignisvulpis\git\delme>echo %ANDROID_HOME%
C:\Android\android-sdk

C:\Users\ignisvulpis\git\delme>dir %ANDROID_HOME%
 Volume in drive C is OS
 Volume Serial Number is 4EE0-09DA

 Directory of C:\Android\android-sdk

12.10.2013  10:26    <DIR>          .
12.10.2013  10:26    <DIR>          ..
12.10.2013  10:59    <DIR>          add-ons
12.10.2013  09:49           357.814 AVD Manager.exe
09.06.2013  07:33    <DIR>          build-tools
12.10.2013  10:28    <DIR>          docs
13.07.2012  15:24    <DIR>          extras
13.08.2013  13:57    <DIR>          platform-tools
12.10.2013  10:41    <DIR>          platforms
13.08.2013  14:01    <DIR>          samples
12.10.2013  09:50           357.814 SDK Manager.exe
24.06.2012  22:53             1.170 SDK Readme.txt
13.08.2013  14:01    <DIR>          sources
13.08.2013  14:04    <DIR>          system-images
12.10.2013  11:00    <DIR>          temp
12.10.2013  09:50    <DIR>          tools
13.07.2012  15:06            70.987 uninstall.exe
               4 File(s)        787.785 bytes
              13 Dir(s)  310.493.122.560 bytes free

C:\Users\ignisvulpis\git\delme>

So it seems that the ANDROID_HOME is correct.
To test whether the command "android" is found:
C:\Users\ignisvulpis\git\delme>android update project -p . -t 4
Error: C:\Users\ignisvulpis\git\delme is not a valid project
(AndroidManifest.xml not found).

Looks good.
The PATH contains %ANDROID_HOME%\tools. That is:
C:\Android\android-sdk\tools

Would be nice if phonegap would output which path is not found...

Any ideas?

Thanks
Axel

C:\Users\ignisvulpis\git\delme>phonegap -v
3.1.0-0.15.0

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message