Re: maven build with android API 11 failed, Cann't find symbol

2011-09-20 Thread Manfred Moser
Well you are sort of right. Let me clarify. 1. yes.. Google/Android does not publish to Maven Central (although imho they should) 2. the android4maven project, led by Robert Manning, and myself got the android jar and some others into Maven central. This is done off the Android Open Source

maven build with android API 11 failed, Cann't find symbol

2011-09-19 Thread darakok
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

Re: maven build with android API 11 failed, Cann't find symbol

2011-09-19 Thread Guillaume Polet
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:

Re: maven build with android API 11 failed, Cann't find symbol

2011-09-19 Thread darakok
This is part of my POM file where i specify the version of Android API jar file to compile with. plugin groupIdcom.jayway.maven.plugins.android.generation2/groupId artifactIdmaven-android-plugin/artifactId

Re: maven build with android API 11 failed, Cann't find symbol

2011-09-19 Thread Guillaume Polet
Find my answers in your e-mail: Le 19/09/2011 15:20, darakok a écrit : This is part of my POM file where i specify the version of Android API jar file to compile with. plugin groupIdcom.jayway.maven.plugins.android.generation2/groupId

Re: maven build with android API 11 failed, Cann't find symbol

2011-09-19 Thread darakok
I think you're right. My dependency references Android 2.2. dependency groupIdandroid/groupId artifactIdandroid/artifactId version2.2_r2/version scopeprovided/scope

Re: maven build with android API 11 failed, Cann't find symbol

2011-09-19 Thread Manfred Moser
Use my Maven Android SDK Deployed you can find on github and add a dependency as documented in the readers. The version should be 11_r1 on the dependency... Manfred darakok mrpc.cambo...@gmail.com wrote: This is part of my POM file where i specify the version of Android API jar file to

Re: maven build with android API 11 failed, Cann't find symbol

2011-09-19 Thread Guillaume Polet
OK, I guess this is the main issue then. From what I understand: * Android guys do not publish their jars to a public Maven repo * If the version used in your dependencies matches the ones used by the Android team, then 2.2= API Level 8. If you want API Level 11, you need version 3.0

Re: maven build with android API 11 failed, Cann't find symbol

2011-09-19 Thread darakok
Thanks a lot. -- View this message in context: http://maven.40175.n5.nabble.com/maven-build-with-android-API-11-failed-Cann-t-find-symbol-tp4818232p4819252.html Sent from the Maven - Users mailing list archive at Nabble.com. -