googlesamples/android-testing-templates

Play Services dependency in app module causes "module-flavor1-androidTest-only" grade sync fail

jskierbi opened this issue · 1 comments

Issue:
After adding Play Services to app module, gradle sync fails with message:

(...)/AndroidTestingBlueprint/module-flavor1-androidTest-only/build/intermediates/manifests/full/debug/AndroidManifest.xml
Error:(40, 28) No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version').

Use case:
main app module uses Google Play Services dependency:

  • Compile dependency in build.grade (app module)
  • meta-data in AndroidManifest.xml with play services version (app module)

After adding dependency, grade sync fails.

You can find separated changes committed here: jskierbi@6bbd1ac

Is it possible to fix this?

Duplicate: #6