Skip to content
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 Issues in Eclipse #14

Open
deckerj opened this issue Feb 28, 2012 · 5 comments
Open

Build Issues in Eclipse #14

deckerj opened this issue Feb 28, 2012 · 5 comments

Comments

@deckerj
Copy link

deckerj commented Feb 28, 2012

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

@kevinsawicki
Copy link
Contributor

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.

@deckerj
Copy link
Author

deckerj commented Feb 28, 2012

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

@rgladwell
Copy link

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:

https://github.com/rgladwell/m2e-android/issues/new

@deckerj
Copy link
Author

deckerj commented Mar 28, 2012

One result of the discussion on the adt-list is the following issue: http://code.google.com/p/android/issues/detail?id=27811

@frankjunqi
Copy link

I also have this problem. Could you give me some suggestions. Come on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants