- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello. I made an app the other day using the IntelXDK, and today I went in and did some updating. Everything worked fine. I was able to build, but i forgot to change the app version in the build settings. I changed it, and removed a plugin that i didnt need, and after that, it keeps telling me the build fails (no matter what i build it for). Here is my log below:
Generating config.xml from defaults for platform "android"
Calling plugman.prepare for platform "android" Preparing android project Processing configuration changes for plugins. Iterating over installed plugins: [] Writing out cordova_plugins.js... Wrote out Android application name to "Kemper's Chemistry Tools" deleted: .../EvansST/platforms/android/res/drawable-land-hdpi/screen.png deleted: .../EvansST/platforms/android/res/drawable-land-ldpi/screen.png deleted: .../EvansST/platforms/android/res/drawable-land-mdpi/screen.png deleted: .../EvansST/platforms/android/res/drawable-land-xhdpi/screen.png deleted: .../EvansST/platforms/android/res/drawable-port-hdpi/screen.png deleted: .../EvansST/platforms/android/res/drawable-port-ldpi/screen.png deleted: .../EvansST/platforms/android/res/drawable-port-mdpi/screen.png deleted: .../EvansST/platforms/android/res/drawable-port-xhdpi/screen.png splash screens: [{"src":"images/splash/splash_xhdpi.png","density":"xhdpi","platform":null,"width":"720","height":"960"},{"src":"images/splash/splash_hdpi.png","density":"hdpi","platform":null,"width":"480","height":"640"},{"src":"images/splash/splash_mdpi.png","density":"mdpi","platform":null,"width":"320","height":"470"},{"src":"images/splash/splash_ldpi.png","density":"ldpi","platform":null,"width":"320","height":"426"}] copying image from .../EvansST/images/splash/splash_xhdpi.png to .../EvansST/platforms/android/res/drawable-xhdpi/screen.png cp: no such file or directory: .../EvansST/images/splash/splash_xhdpi.png copying image from .../EvansST/images/splash/splash_hdpi.png to .../EvansST/platforms/android/res/drawable-hdpi/screen.png cp: no such file or directory: .../EvansST/images/splash/splash_hdpi.png copying image from .../EvansST/images/splash/splash_mdpi.png to .../EvansST/platforms/android/res/drawable-mdpi/screen.png cp: no such file or directory: .../EvansST/images/splash/splash_mdpi.png copying image from .../EvansST/images/splash/splash_ldpi.png to .../EvansST/platforms/android/res/drawable-ldpi/screen.png cp: no such file or directory: .../EvansST/images/splash/splash_ldpi.png deleted: .../EvansST/platforms/android/res/drawable-hdpi/icon.png deleted: .../EvansST/platforms/android/res/drawable-ldpi/icon.png deleted: .../EvansST/platforms/android/res/drawable-mdpi/icon.png deleted: .../EvansST/platforms/android/res/drawable-xhdpi/icon.png copying image from .../EvansST/images/icons/xhdpi.png to .../EvansST/platforms/android/res/drawable-xhdpi/icon.png cp: no such file or directory: .../EvansST/images/icons/xhdpi.png copying image from .../EvansST/images/icons/hdpi.png to .../EvansST/platforms/android/res/drawable-hdpi/icon.png cp: no such file or directory: .../EvansST/images/icons/hdpi.png copying image from .../EvansST/images/icons/mdpi.png to .../EvansST/platforms/android/res/drawable-mdpi/icon.png cp: no such file or directory: .../EvansST/images/icons/mdpi.png copying image from .../EvansST/images/icons/Untitled-9.png to .../EvansST/platforms/android/res/drawable-ldpi/icon.png cp: no such file or directory: .../EvansST/images/icons/Untitled-9.png Wrote out Android package name to "com.horsleysoftware.kemperchemtools" ************* Processing the main config.xml file (after_prepare) ***************** App Directory = [.../EvansST] Will process and update the following config files: Config.xml = [.../EvansST/config.xml] Namespaces: prefix/uri ''/'http://www.w3.org/ns/widgets' prefix/uri 'intelxdk'/'http://xdk.intel.com/ns/v1' Android Manifest Namespaces: prefix/uri 'android'/'http://schemas.android.com/apk/res/android' Name of the app is [Kemper's Chemistry Tools] Updating full app name to [Kemper's Chemistry Tools] Processing preference android-minSdkVersion [10] Processing preference android-targetSdkVersion [19] Processing preference android-installLocation [auto] Processing preference Orientation [portrait] Added [{http://schemas.android.com/apk/res/android}screenOrientation] with [portrait] Processing preference permissions Updating the versionCode Updating the versionName Added [{http://schemas.android.com/apk/res/android}debuggable] with [false] Processing config file values Copying xhdpi launch icons... Copying hdpi launch icons... Copying mdpi launch icons... Copying ldpi launch icons... Copying [.../EvansST/www/images/splash/splash_xhdpi.png] to [.../EvansST/platforms/android/res/drawable-port-xhdpi/splash.png] Copying [.../EvansST/www/images/splash/splash_hdpi.png] to [.../EvansST/platforms/android/res/drawable-port-hdpi/splash.png] Copying [.../EvansST/www/images/splash/splash_mdpi.png] to [.../EvansST/platforms/android/res/drawable-port-mdpi/splash.png] Copying [.../EvansST/www/images/splash/splash_ldpi.png] to [.../EvansST/platforms/android/res/drawable-port-ldpi/splash.png] No splash screen supplied for drawable-land-mdpi. Cleaning up. Removing unused density: .../EvansST/platforms/android/res/drawable-land-mdpi No splash screen supplied for drawable-land-ldpi. Cleaning up. Removing unused density: .../EvansST/platforms/android/res/drawable-land-ldpi No splash screen supplied for drawable-land-xhdpi. Cleaning up. Removing unused density: .../EvansST/platforms/android/res/drawable-land-xhdpi No splash screen supplied for drawable-land-hdpi. Cleaning up. Removing unused density: .../EvansST/platforms/android/res/drawable-land-hdpi Saving config.xml to [.../EvansST/config.xml] ************* Completed processing the main config.xml file (after_prepare) ***************** Running command: .../EvansST/platforms/android/cordova/build --release Buildfile: .../EvansST/platforms/android/build.xml -set-mode-check: -set-release-mode: -release-obfuscation-check: [echo] proguard.config is ${proguard.config} -pre-build: -check-env: [checkenv] Android SDK Tools Revision 22.3.0 [checkenv] Installed at /Developer/android-sdk-linux -setup: [echo] Project Name: CordovaApp [gettype] Project Type: Application -build-setup: [getbuildtools] Using latest Build Tools: 19.0.0 [echo] Resolving Build Target for CordovaApp... [gettarget] Project Target: Android 4.4 [gettarget] API level: 19 [echo] ---------- [echo] Creating output directories if needed... [mkdir] Created dir: .../EvansST/platforms/android/ant-build [mkdir] Created dir: .../EvansST/platforms/android/ant-build/res [mkdir] Created dir: .../EvansST/platforms/android/ant-build/rsObj [mkdir] Created dir: .../EvansST/platforms/android/ant-build/rsLibs [mkdir] Created dir: .../EvansST/platforms/android/ant-gen [mkdir] Created dir: .../EvansST/platforms/android/ant-build/classes [mkdir] Created dir: .../EvansST/platforms/android/ant-build/dexedLibs [echo] ---------- [echo] Resolving Dependencies for CordovaApp... [dependency] Library dependencies: [dependency] [dependency] ------------------ [dependency] Ordered libraries: [dependency] [dependency] ------------------ [echo] ---------- [echo] Building Libraries with 'release'... nodeps: -set-mode-check: -set-release-mode: -release-obfuscation-check: [echo] proguard.config is ${proguard.config} -pre-build: -check-env: [checkenv] Android SDK Tools Revision 22.3.0 [checkenv] Installed at /Developer/android-sdk-linux -setup: [echo] Project Name: CordovaApp [gettype] Project Type: Android Library -build-setup: [getbuildtools] Using latest Build Tools: 19.0.0 [echo] Resolving Build Target for CordovaApp... [gettarget] Project Target: Android 4.4 [gettarget] API level: 19 [echo] ---------- [echo] Creating output directories if needed... [mkdir] Created dir: .../EvansST/platforms/android/CordovaLib/res [mkdir] Created dir: .../EvansST/platforms/android/CordovaLib/libs [mkdir] Created dir: .../EvansST/platforms/android/CordovaLib/ant-build [mkdir] Created dir: .../EvansST/platforms/android/CordovaLib/ant-build/res [mkdir] Created dir: .../EvansST/platforms/android/CordovaLib/ant-build/rsObj [mkdir] Created dir: .../EvansST/platforms/android/CordovaLib/ant-build/rsLibs [mkdir] Created dir: .../EvansST/platforms/android/CordovaLib/ant-gen [mkdir] Created dir: .../EvansST/platforms/android/CordovaLib/ant-build/classes [mkdir] Created dir: .../EvansST/platforms/android/CordovaLib/ant-build/dexedLibs [echo] ---------- [echo] Resolving Dependencies for CordovaApp... [dependency] Library dependencies: [dependency] No Libraries [dependency] [dependency] ------------------ -code-gen: [mergemanifest] Merging AndroidManifest files into one. [mergemanifest] Manifest merger disabled. Using project manifest only. [echo] Handling aidl files... [aidl] No AIDL files to compile. [echo] ---------- [echo] Handling RenderScript files... [echo] ---------- [echo] Handling Resources... [aapt] Generating resource IDs... [echo] ---------- [echo] Handling BuildConfig class... [buildconfig] Generating BuildConfig class. -pre-compile: -compile: [javac] Compiling 93 source files to .../EvansST/platforms/android/CordovaLib/ant-build/classes [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [echo] Creating library output jar file... [jar] Building jar: .../EvansST/platforms/android/CordovaLib/ant-build/classes.jar -post-compile: -obfuscate: -dex: [echo] Library project: do not convert bytecode... -crunch: [crunch] Crunching PNG Files in source dir: .../EvansST/platforms/android/CordovaLib/res [crunch] To destination dir: .../EvansST/platforms/android/CordovaLib/ant-build/res [crunch] Crunched 0 PNG files to update cache -package-resources: [echo] Library project: do not package resources... -package: [echo] Library project: do not package apk... -post-package: -release-prompt-for-password: -release-nosign: [echo] [propertyfile] Creating new property file: .../EvansST/platforms/android/CordovaLib/ant-build/build.prop [propertyfile] Updating property file: .../EvansST/platforms/android/CordovaLib/ant-build/build.prop [propertyfile] Updating property file: .../EvansST/platforms/android/CordovaLib/ant-build/build.prop [propertyfile] Updating property file: .../EvansST/platforms/android/CordovaLib/ant-build/build.prop -release-sign: -post-build: release: -code-gen: [mergemanifest] Merging AndroidManifest files into one. [mergemanifest] Manifest merger disabled. Using project manifest only. [echo] Handling aidl files... [aidl] No AIDL files to compile. [echo] ---------- [echo] Handling RenderScript files... [echo] ---------- [echo] Handling Resources... [aapt] Generating resource IDs... [aapt] .../EvansST/platforms/android/ant-build/AndroidManifest.xml:2: error: Error: Float types not allowed (at 'versionCode' with value '1.5'). BUILD FAILED /Developer/android-sdk-linux/tools/ant/build.xml:653: The following error occurred while executing this line: /Developer/android-sdk-linux/tools/ant/build.xml:698: null returned: 1 Total time: 3 seconds .../EvansST/platforms/android/cordova/node_modules/q/q.js:126 throw e; ^ Error code 1 for command: ant with args: release,-f,.../EvansST/platforms/android/build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen Command finished with error code 8: .../EvansST/platforms/android/cordova/build --release Error: .../EvansST/platforms/android/cordova/build: Command failed with exit code 8 at ChildProcess.whenDone (/Developer/cordova/4.1.2/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23) at ChildProcess.EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:743:16) at Process.ChildProcess._handle.onexit (child_process.js:810:5)
- Tags:
- HTML5
- Intel® XDK
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which XDK version are you using?
Are you building for android or android crosswalk?
If you can send me your code I can look in to that with more details.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page