pitate7777777 / maven-android-plugin

Automatically exported from code.google.com/p/maven-android-plugin
0 stars 0 forks source link

R.java for aar libraries doesn't generate in some cases #446

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. multimodule project
2. apk module depends on apklib module
3. apklib module depends on aar module
4. some code from apklib module refers to R file of aar module

What is the expected output?
build successful

What do you see instead?
build fails with:
"R does not exist"

What version of maven-android-plugin are you using?
3.8.2, 3.8.3-SNAPSHOT

What are the complete output lines of "mvn -version" on your machine?
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 
18:22:22+0300)
Maven home: /opt/apache-maven-3.1.1
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-i386/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.11.0-15-generic", arch: "i386", family: "unix"

Please provide any additional information below.

Original issue reported on code.google.com by olegalex...@gmail.com on 18 Feb 2014 at 9:45

GoogleCodeExporter commented 9 years ago
sample application to reproduce issue

Original comment by olegalex...@gmail.com on 18 Feb 2014 at 9:51

Attachments:

GoogleCodeExporter commented 9 years ago
made a pull request:
https://github.com/jayway/maven-android-plugin/pull/287

Original comment by olegalex...@gmail.com on 18 Feb 2014 at 10:05

GoogleCodeExporter commented 9 years ago

Original comment by william....@xandar.com.au on 27 Feb 2014 at 10:25

GoogleCodeExporter commented 9 years ago
Fixed in 3.9.0

Original comment by william....@xandar.com.au on 27 Feb 2014 at 10:25