I have created a Sencha Touch app for Android. I am using Sencha Architect 2.2.1 and I packaged it for Android using Sencha CMD 3.1.1.274. I have installed all the APIs on Android SDK from level 14 to level 17. I packaged the application using Command Prompt and the following command: sencha app package build packager.json The problem is that it only gives me an APK in my output folder if the API level is set at 17. If I keep the API level 16 or 15, it shows me the following error :
Error: Target id is not valid. Use 'android.bat list targets' to get the target
ids.
""C:/Program Files/Android/sdk\tools\android" create project --target android-16
--name BeatlesLyrics --activity STActivity --path "build/apks\/" --package com.
mycompany.BeatlesLyrics"
Can not open destination file for writing
Failed to copy packager library
Failed to package application
Copy operation failed src=C:\Users\Shaishav\bin\Sencha\Cmd\3.1.1.274\stbuild\st-
res/android/\nimblekit.jar dst=build/apks\\libs\nimblekit.jar
[ERR] stbuild exited with non-zero code : 3
I have installed the API 16 and 15 too in android sdk. So why am i getting this error?