Not much information here, but I guess that when you say "11" you mean
that this is the target level.
From what it looks like, it seems that android API jars for that
version are not available.
See also this:
http://stackoverflow.com/questions/5253029/why-arent-the-android-sdk-jars-in-any-maven-repository
Regarding the message you are mentionning, it just says that the method
getActionView cannot be found on the class MenuItem (but the message is
quite clear and comes from the java compiler), meaning that Maven is not
using the new version you expect. As to why this is the case, without
the pom and settings or more information, it is impossible to help you more.
Regards,
Guillaume
Le 19/09/2011 10:35, darakok a écrit :
I use maven to build my android project. It was working fine until I make use
of method exclusively available to API 11 and above. In the pom file, I do
change the android build version to "11". So presume I have set the right
android jar for maven build to succeed. But it turns out to be completely
the opposite. Because exactly the one method that I just added failed during
the build. Maven complains "Cannot find symbol: MenuItem.getActionView"
So do you have any idea what is the problem?
Thanks
dara kok
--
View this message in context:
http://maven.40175.n5.nabble.com/maven-build-with-android-API-11-failed-Cann-t-find-symbol-tp4818232p4818232.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]