-
Notifications
You must be signed in to change notification settings - Fork 583
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
build failed Failed to execute aapt #229
Comments
I'm getting the same trying "cordova build android". "cordova build android" working before installing cordova-plugin-file-opener2. I'm using a clean version of Cordova. Not Phonegap or Ionic. Let me know if anyone wants me to try something to my solution. I'll respond superquick :). Console output on build:.... /Users/administrator/.gradle/caches/transforms-1/files-1.1/support-compat-28.0.0-rc02.aar/c2b52ad27232a693e96653627a391b8c/res/values/values.xml:133:5-70: AAPT: error: resource android:attr/ttcIndex not found. error: failed linking references. FAILURE: Build failed with an exception.
BUILD FAILED in 2s /Users/administrator/.gradle/caches/transforms-1/files-1.1/support-compat-28.0.0-rc02.aar/c2b52ad27232a693e96653627a391b8c/res/values/values.xml:133:5-70: AAPT: error: resource android:attr/ttcIndex not found. FAILURE: Build failed with an exception. |
@JCOlofsson hi buddy, this solution works for me EXTRACT |
@cikcoh Awesome! Thank you x10! I've been struggling with this for 2 days now. I stumbled across the plugin "cordova-android-support-gradle-release" on my train ride back from work (LifeAsACommuter). Found the suggestion at Stack overflow at https://stackoverflow.com/a/49589661/5224886. I notice it was mentioned in the comment below the one you linked. (#218 (comment)). Seems like a good fix for future cases where plugin SDK targets may vary for a while. On the other hand another plugin to depend on. |
@cikcoh Thank you |
I confirme I used :
|
the new version, 2.1.0, includes a feature that allows you to optionally specify a support version at run time, e.g. |
The text was updated successfully, but these errors were encountered: