Software Archive
Read-only legacy content
17061 Discussions

Build problems...

Eduardo_E_
Beginner
289 Views

I'm trying to build my project with the following configuration... but something goes wrong
i would appreciate any help. Thx.

  • Building a Cordova 6.2.0 application.
  • Using platform cordova-android 5.1.1.
  • The application name is "Distribuidores_APP"
  • The package name is "xdk.example.com"
  • Preference android-signed set to true. Application will be signed.
  • Using Crosswalk Embedded 19
  • Plugin "cordova-plugin-device" (1.1.2) installed.
  • Plugin "cordova-plugin-dialogs" (1.2.1) installed.
  • Plugin "cordova-plugin-splashscreen" (3.2.2) installed.
  • Plugin "cordova-plugin-statusbar" (2.1.3) installed.
  • Plugin "cordova-plugin-whitelist" (1.2.2) installed.
  • Plugin "cordova-plugin-crosswalk-webview" (1.8.0) installed.
  • App name updated to [Distribuidores_APP]
  • Updated "minSdkVersion" with "14"
  • Updated "targetSdkVersion" with "19"
  • Updated "installLocation" to "auto"
  • Updated "versionCode" to "1"
  • Updated "versionName" to "0.0.1"
  • Added "debuggable" to "false"
  • Error: A build error occurred. Check the build log.

  Here is the log log

 

0 Kudos
1 Solution
PaulF_IntelCorp
Employee
289 Views

Looking at the build log, at the very end:

Successfully started process 'command '.../android-sdk/build-tools/25.0.0/aapt''
Unknown source file : .../cordova_project/platforms/android/build/intermediates/assets/armv7/release/www/Img: error: Directory is case-insensitive equivalent to: .../cordova_project/platforms/android/build/intermediates/assets/armv7/release/www/img

:processArmv7ReleaseResources FAILED
:processArmv7ReleaseResources (Thread[main,5,main]) completed. Took 0.042 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processArmv7ReleaseResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '.../android-sdk/build-tools/25.0.0/aapt'' finished with non-zero exit value 1

It looks like you might have a folder named "Img" rather than "img" in your project, or you are using a plugin that is causing the problem (but I don't see any unusual plugins in the build log).

BTW -- the build system will be retired at the end of June (see the release notes: https://software.intel.com/en-us/xdk/docs/release-notes-information-intel-xdk). We recommend that you upgrade to 3922 and start using PhoneGap Build > https://software.intel.com/en-us/xdk/docs/build-xdk-app-with-phonegap-cordova-cli <

View solution in original post

0 Kudos
2 Replies
PaulF_IntelCorp
Employee
290 Views

Looking at the build log, at the very end:

Successfully started process 'command '.../android-sdk/build-tools/25.0.0/aapt''
Unknown source file : .../cordova_project/platforms/android/build/intermediates/assets/armv7/release/www/Img: error: Directory is case-insensitive equivalent to: .../cordova_project/platforms/android/build/intermediates/assets/armv7/release/www/img

:processArmv7ReleaseResources FAILED
:processArmv7ReleaseResources (Thread[main,5,main]) completed. Took 0.042 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processArmv7ReleaseResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '.../android-sdk/build-tools/25.0.0/aapt'' finished with non-zero exit value 1

It looks like you might have a folder named "Img" rather than "img" in your project, or you are using a plugin that is causing the problem (but I don't see any unusual plugins in the build log).

BTW -- the build system will be retired at the end of June (see the release notes: https://software.intel.com/en-us/xdk/docs/release-notes-information-intel-xdk). We recommend that you upgrade to 3922 and start using PhoneGap Build > https://software.intel.com/en-us/xdk/docs/build-xdk-app-with-phonegap-cordova-cli <

0 Kudos
Eduardo_E_
Beginner
289 Views

woops...it was the name 

Thanks a lot Paul!

:D

0 Kudos
Reply