Open deckerj opened 12 years ago
The Android Eclipse tooling does not seem to support extending themes from referenced libraries so it marks them as missing which causes the error markers in the theme.xml
file.
The pom.xml
issues also involve problems with the Maven Eclipse tooling not supporting certain configurations.
http://wiki.eclipse.org/M2E_plugin_execution_not_covered
These errors are annoying but can be ignored.
Thanks for the hints. I have sent the theme-extending-issue to the moderators of http://groups.google.com/group/adt-dev
See http://groups.google.com/group/adt-dev/browse_thread/thread/536b1d682d9bb0d6
This might be an issue with m2e-android, you can raise a ticket here and I'll try and find time to look at it:
One result of the discussion on the adt-list is the following issue: http://code.google.com/p/android/issues/detail?id=27811
I also have this problem. Could you give me some suggestions. Come on.
I have actually downloaded the code and successfully built it on the command line using maven 3.0.4.
Though, I get errors when I import the eclipse projects, which I left unmodified.
Lifecycle issues (pom.xml)
Description Resource Path Location Type Plugin execution not covered by lifecycle configuration: com.madgag:android-maven-plugin:3.1.1.99.0.6:generate-sources (execution: default-generate-sources, phase: generate-sources) pom.xml /com.github.mobile.gauges line 136 Maven Project Build Lifecycle Mapping Problem Plugin execution not covered by lifecycle configuration: com.madgag:android-maven-plugin:3.1.1.99.0.6:manifest-update (execution: manifestUpdate, phase: process-resources) pom.xml /com.github.mobile.gauges line 27 Maven Project Build Lifecycle Mapping Problem Plugin execution not covered by lifecycle configuration: com.madgag:android-maven-plugin:3.1.1.99.0.6:proguard (execution: default-proguard, phase: process-classes) pom.xml /com.github.mobile.gauges line 136 Maven Project Build Lifecycle Mapping Problem
I also get "compile" errors in the theme.xml:
Description Resource Path Location Type error: Error retrieving parent for item: No resource found that matches the given name '@style/Theme.Sherlock'. theme.xml /com.github.mobile.gauges/res/values line 20 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'Widget.Sherlock.ActionBar.Solid'. theme.xml /com.github.mobile.gauges/res/values line 27 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'actionBarStyle'. theme.xml /com.github.mobile.gauges/res/values line 23 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'background'. theme.xml /com.github.mobile.gauges/res/values line 28 Android AAPT Problem
Configuration Maven 3.0.4
Eclipse Version: 3.7.2
Android Configurator for M2E 0.4.1.201202121809 me.gladwell.eclipse.m2e.android.feature.feature.group Google Code pulled from http://rgladwell.github.com/m2e-android/updates/master
m2e - Extensions Development Support (Optional) 1.1.0.20120130-2016 org.eclipse.m2e.sdk.feature.feature.group Eclipse.org - m2e m2e - Maven Integration for Eclipse 1.1.0.20120130-2016 org.eclipse.m2e.feature.feature.group Eclipse.org - m2e m2e - Maven Integration for Eclipse Update Site 1.1.0.20120130-2016 org.eclipse.m2e.site.feature.group Eclipse.org m2e - slf4j over logback logging (Optional) 1.1.0.20120130-2016 org.eclipse.m2e.logback.feature.feature.group Eclipse.org - m2e