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 (http://developer.android.com/sdk/android-3.0.html) * There are some cool dudes who create jars with Class skeletons and empty method stubs to reproduce all the class names and method signatures so that you can compile your project. Unfortunately, the latests jars have not been created and/or published yet. * There is another guy (who just replied you) who has created a project just for the purpose of deploying the jars from the Android SDK to your local Maven repository: https://github.com/mosabua/maven-android-sdk-deployer. Read this for how to use this tool: https://github.com/mosabua/maven-android-sdk-deployer/blob/master/README.markdown

Cheers,
Guillaume
Le 19/09/2011 16:23, darakok a écrit :
I think you're right. My dependency references Android 2.2.

<dependency>
                                <groupId>android</groupId>
                                <artifactId>android</artifactId>
                                <version>2.2_r2</version>
                                <scope>provided</scope>
                        </dependency>

Thanks for your help.

darakok

--
View this message in context: 
http://maven.40175.n5.nabble.com/maven-build-with-android-API-11-failed-Cann-t-find-symbol-tp4818232p4819154.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]

Reply via email to