Bug 35488 - Android library bindings project not detecting AAR changes
Summary: Android library bindings project not detecting AAR changes
Status: CONFIRMED
Alias: None
Product: Android
Classification: Xamarin
Component: General (show other bugs)
Version: 5.1
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: dean.ellis
URL:
Depends on:
Blocks:
 
Reported: 2015-11-03 03:43 UTC by Prashant Cholachagudda
Modified: 2017-07-06 08:08 UTC (History)
4 users (show)

See Also:
Tags: ac
Is this bug a regression?: ---
Last known good build:


Attachments
Logs (16.45 KB, application/zip)
2015-11-03 03:43 UTC, Prashant Cholachagudda
Details

Description Prashant Cholachagudda 2015-11-03 03:43:07 UTC
Created attachment 13627 [details]
Logs

On of the customers is working on porting an existing Android Java app (and libraries) to Xamarin.Android. They setup bindings projects around their Android Library AAR files and the app is working correctly with these. The problem arises when they want to make a change to the Java code and regenerate the bindings.

Desired process:

1. Make change to our Java project (e.g. add new public variable to a class)
2. Build the updated AAR which is referenced as LibraryProjectZip by our Xamarin bindings project
3. Build the bindings project in Xamarin Studio (only build - not rebuild)
4. View the generated bindings via assembly browser and notice our change is not there

Workaround:
In step #3, do a clean+build instead of just build, then notice the update propagates.

Other notes:
When we try to just 'build' then notice this in the build output:

Target GenerateBindings:
Skipping target "GenerateBindings" because its outputs are up-to-date.
Comment 1 wyattjoe40 2017-01-24 21:24:35 UTC
I'm also seeing this issue.

Note You need to log in before you can comment on or make changes to this bug.