Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when using android.support_compatibility-v7-mediarouter_apklib_19.0.1 #205

Open
mlromramse opened this issue Mar 20, 2014 · 5 comments

Comments

@mlromramse
Copy link

We are struggling to create a Google ChromeCast aware app but gets into unrecoverable error with the mediarouter apklib.

We believe that the cause is that mediarouter is dependent on the appcompat apklib and that they are not aware of each other at compile phase.

To prove this problem we have built a very small app, poe.

When leaving the appcompat apklib in our pom and commenting out the mediarouter apklib dependencies our small ProofOfError, poe, app compiles. With the mediarouter apklib, not so much.

Please give us a hint on what to do to manage this or request the sample app from us if you need.

By google responses it's apparent that we are not the only ones trying to do this.

Best Regards

Mikael Larsson

@mosabua
Copy link
Member

mosabua commented Mar 22, 2014

What version of the android maven plugin are you using?

@mlromramse
Copy link
Author

Hi,
We are using version 3.8.2 of android maven plugin.

@edvaldeysteinsson
Copy link

Not sure if i understood this correct but it sound like the issue i had, none of the pom files for the apk libs include a pom defining their dependencies when built. I had to make some changes to the pom in compatibility-v7-mediarouter.
I added pom.xml under the for the apklib.

I was planning on filing a issue for it but totally forgot about it after getting it to work.

@mlromramse
Copy link
Author

I've been discussing this with Giorgos on stackoverflow for a while now at it seems that he has a solution. I haven't tried it yet and would feel better if it is corrected by you guys.

http://stackoverflow.com/questions/19585156/add-chromecast-in-a-maven-project/22598330?noredirect=1#comment34603978_22598330

@gsavvid
Copy link

gsavvid commented Mar 28, 2014

Edvald is describing above the same solution as I do in the stackoverflow thread. We're working on the same project and this is how we solved it.

//Giorgos

hborders pushed a commit to hborders/maven-android-sdk-deployer that referenced this issue May 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants