P
P
Pavel Balakin2012-12-27 22:38:06
Android
Pavel Balakin, 2012-12-27 22:38:06

Can't compile?

Made a game in HTML5. Compiled phonegap. It is not possible to compile to apk along with a license code for placement on Google Play.
ant debug gives error:
BUILD FAILED
c:\Program Files\Android\android-sdk\tools\ant\build.xml:571: Failed to resolve library path: c:\Program Files\Android\android-sdk\extras\ google\play_licensing\library
project.properties file:
target=android-15
proguard.config= proguard.cfg
android.library=true
android.library.reference.1=c:\\Program Files\\Android\\android-sdk\ \extras\\google\\play_licensing\\library - There is a library
on this path.
- There are no Russian characters.
-Doing this path: android update project --target 3 --path c:/Absolute/Path/Of/Project --library ../actionbar(relativePathOfLibrary) - does not help.
Nobody faced?
UPD : Tried Program Files in quotes - doesn't help.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
SabMakc, 2012-12-28
@SabMakc

Have you tried moving the SDK to a folder without spaces in the path?

D
Dr_XaoS, 2012-12-28
@Dr_XaoS

Take sysinternals procmon and see what it looks for in the file system.

N
nochkin, 2012-12-28
@nochkin

This gap is to blame. It is necessary to transfer to the root as advised above.
I had this problem on Windows and solved it by moving it out of Program Files.
If you can't take it out for some reason, then you can write "progra ~ 1" instead of "Program Files" (without quotes, of course).

P
Pavel Balakin, 2012-12-28
@Daizor

With the paths, the problem was solved: for some reason, absolute paths were not accepted by the compiler, moved to the folder with sdk, registered relative paths - it became normal. I found out that you can generally take the source of this library and copy it into the project.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question