-
-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execution failed for task ':processArmv7ReleaseResources' #172
Comments
Looking at your build log, the error causing the build to fail is:
This is the same as #168: the cause is that the Android SDK used for compilation is mismatched with the version of the Android Support Library. And in Cordova projects, the Android compile SDK is implicitly related to the version of the Cordova Android platform in your project:
Intel XDK must be defaulting to So, v23 compile SDK + v24 support library = your error The reason v3.1.1 of this plugin works is that it pins the version of the support library to v23 which works with Android SDK v23 which is used by If you were building locally, the solution would be simple: upgrade your Cordova Android platform to the latest version:
I've no idea if you can specify the platform version using Intel XDK; I know that you can do it for Phonegap Build by specifying the So you either need to figure out how to specify the Cordova Android platform version in Intel XDK and set it to
|
Thank you for your prompt reply. I have had a look at Intel XDK which currently states "Using platform cordova-android 5.1.1" in the build log. I also checked on Cordova, and it seems that API-Level 23 is the latest as it states in the following link "Cordova's latest Android package supports up to Android API-Level 23": https://cordova.apache.org/docs/en/latest/guide/platforms/android/ I have only started using Intel XDK and these tools recently so I will need to investigate how to proceed with this issue. |
Unfortunately Cordova documentation is always somewhat out-of-date, including that page. The best place to looks for recent updates is their release notes: https://github.com/apache/cordova-android/blob/master/RELEASENOTES.md
|
I asked a question on the Intel XDK forum and received the reply copied below: https://software.intel.com/en-us/forums/intel-xdk/topic/709382
I am now going to change to Adobe PhoneGap Build. Thank you for your help and fast response, keep up the great work. |
I have now converted my application across to "Adobe PhoneGap Build" and this allowed me to use phonegap-version cli-6.4.0 as shown here: https://build.phonegap.com/current-support After being able to upgrade to cli-6.4.0 the problem was resolved. |
I have built an Android App using Intel XDK version 3759 which uses the following plugins:
For some reason, my working app suddenly failed to build, and I am sure I had not made changes to it. The error in the log file is as follows:
I have tried updating the plugins above to their latest versions, including "cordova.plugins.diagnostic" to 3.3.3 but the build still fails. I can only get the build to work if I roll back "cordova.plugins.diagnostic" to 3.1.1 , but then I lose functionality which I had previously (it fails with anything newer than 3.1.1).
The attached log file had the same failure message before I updated the plugins to the latest.
Any comments or help on this problem would be much appreciated, I have uploaded the log file below:
locaterate.build.201701220604.txt
Thank you.
The text was updated successfully, but these errors were encountered: