2015-11-19 60 views
1

后添加映射的Android API,我有这个错误在编译:科尼 - 蚂蚁生成错误

UNEXPECTED TOP-LEVEL EXCEPTION: 
[exec-shell]  [dx] java.io.FileNotFoundException: C:\Users\rodrigo.dagnese\KonySampleApps\temp\Map\build\luaandroid\dist\Map\LibProjects\google-play-services_lib\bin\classes.jar (O sistema não pode encontrar o caminho especificado) 
[exec-shell]  [dx] at java.util.zip.ZipFile.open(Native Method) 
[exec-shell]  [dx] at java.util.zip.ZipFile.<init>(ZipFile.java:219) 
[exec-shell]  [dx] at java.util.zip.ZipFile.<init>(ZipFile.java:149) 
[exec-shell]  [dx] at java.util.zip.ZipFile.<init>(ZipFile.java:163) 
[exec-shell]  [dx] at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:244) 
[exec-shell]  [dx] at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166) 
[exec-shell]  [dx] at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144) 
[exec-shell]  [dx] at com.android.dx.command.dexer.Main.processOne(Main.java:672) 
[exec-shell]  [dx] at com.android.dx.command.dexer.Main.processAllFiles(Main.java:574) 
[exec-shell]  [dx] at com.android.dx.command.dexer.Main.runMonoDex(Main.java:311) 
[exec-shell]  [dx] at com.android.dx.command.dexer.Main.run(Main.java:277) 
[exec-shell]  [dx] at com.android.dx.command.dexer.Main.main(Main.java:245) 
[exec-shell]  [dx] at com.android.dx.command.Main.main(Main.java:106) 
[exec-shell]  [dx] 1 error; aborting 
[exec-shell] 
[exec-shell] BUILD FAILED 
[exec-shell] C:\Users\rodrigo.dagnese\AppData\Local\Android\sdk\tools\ant\build.xml:888: The following error occurred while executing this line: 
[exec-shell] C:\Users\rodrigo.dagnese\AppData\Local\Android\sdk\tools\ant\build.xml:890: The following error occurred while executing this line: 
[exec-shell] C:\Users\rodrigo.dagnese\AppData\Local\Android\sdk\tools\ant\build.xml:902: The following error occurred while executing this line: 
[exec-shell] C:\Users\rodrigo.dagnese\AppData\Local\Android\sdk\tools\ant\build.xml:283: null returned: 1 
[exec-shell] 
[exec-shell] Total time: 16 seconds 
[11-19-2015 03:22:49]Ant build error=exec-shell returned: 1 
[11-19-2015 03:22:49]Build Generation failed for platform Android. 

有人知道意味着classes.jar和我怎么能解决这个问题?

+0

你已经'清洁和建立'的应用程序? – danguilherme

回答

1

检查您的环境变量。您需要安装在根中的Java JDK(7.79为我工作)。

Path: 
[..] 
C:\Android\platform-tools; 
C:\Android\tools; 
C:\Kony\Ant\bin; 
C:\Kony\ImageMagick; 
C:\Android\platform-tools; 
C:\Android\tools; 
C:\Java\bin; 
C:\Java\jre; 

JAVA_HOME: 
C:\Java 

JRE_HOME: 
C:\Java\jre