PDA

View Full Version : Unable To Create Android Build Of Getting Started Example In Windows 7



sachin sachdeva
4 May 2012, 5:57 AM
Hi
I 'v tried to use SDK tool provided by Sencha to create Iphone and android build .

I followed exactly the same steps as mentioned in GETTING STARTED video by which i am able to create the GETTING STARTED Example IOS build but when i tried to create ANDROID build it displays following error in my windows 7 console.



-compile:
[javac] Compiling 3 source files to D:\tomcat\webapps\GS\build\native\bin\classes
[javac] D:\tomcat\webapps\GS\build\native\src\com\mycompany\myAppID\STActivity.java:10: cannot access com.sencha.nimblekit.NimbleKit
[javac] bad class file: D:\tomcat\webapps\GS\build\native\libs\nimblekit.jar(com/sencha/nimblekit/NimbleKit.class)
[javac] class file has wrong version 50.0, should be 49.0
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] private static NimbleKit nimblekit = null;
[javac] ^
[javac] 1 error
""D:/Android/sdk17/tools/android" create project --target android-7 --name MyApplication --activity STActivity --path "D:\tomcat\webapps\GS\build\native/" --package com.mycompany.myAppID"
Could not run ant with error: 1
Failed to package application
[ERROR]
BUILD FAILED
D:\Android\sdk17\tools\ant\build.xml:651: The following error occurred while executing this line:
D:\Android\sdk17\tools\ant\build.xml:672: Compile failed; see the compiler error output for details.

















I really don't know y this error is there because i have no idea about nimble kit.

Please help me ASAP.

Regards
Sachin Sachdeva.