You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
Running ionic build android --prod on OSX, reports failure:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugResources'.
>
com.android.ide.common.internal.LoggedErrorException: Failed to run command:
/Android/SDK/build-tools/25.0.2/aapt package -f --no-crunch -I /Android/SDK/platforms/android-22/android.jar -M /Users/someone/gitlab/ci/runner/builds/defa2b2c/0/someproj/platforms/android/build/intermediates/manifests/full/debug/AndroidManifest.xml -S /Users/someone/gitlab/ci/runner/builds/defa2b2c/0/someproj/platforms/android/build/intermediates/res/debug -A /Users/someone/gitlab/ci/runner/builds/defa2b2c/0/someproj/platforms/android/build/intermediates/assets/debug -m -J /Users/someone/gitlab/ci/runner/builds/defa2b2c/0/someproj/platforms/android/build/generated/source/r/debug -F /Users/someone/gitlab/ci/runner/builds/defa2b2c/0/someproj/platforms/android/build/intermediates/res/resources-debug.ap_ --debug-mode --custom-package edu.self.anapp -0 apk --output-text-symbols /Users/someone/gitlab/ci/runner/builds/defa2b2c/0/someproj/platforms/android/build/intermediates/symbols/debug
Error Code:
1
Output:
Failed to generate resource table for split ''
/Users/someone/gitlab/ci/runner/builds/defa2b2c/0/someproj/platforms/android/build/intermediates/res/debug/values-v23/values.xml:6: error: Error: No resource found that matches the given name (at 'cardBackgroundColor' with value '?android:attr/colorBackgroundFloating').
Related code:
There are 3 identical lines in 3 intermediate files, including the aforementioned values.xml:
Thanks for the issue! This issue appears to be associated with an old version of the Ionic CLI. Please update to the latest CLI version, which supports all versions of the Ionic Framework. If the issue is relevant and if it persists after updating to the latest CLI version, please create a new issue.
From @eidng8 on January 17, 2017 2:55
Ionic version: (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Running
ionic build android --prod
on OSX, reports failure:Related code:
There are 3 identical lines in 3 intermediate files, including the aforementioned
values.xml
:Other information:
I can't find anywhere else in the whole code base about the
colorBackgroundFloating
.However, the build goes fine on another Windows 7 box.
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):Mac box:
Win7 box:
Copied from original issue: ionic-team/ionic-framework#10062
The text was updated successfully, but these errors were encountered: