J'essaie d'ajouter une bibliothèque qui utilise google play service vision. Ma bibliothèque fonctionne bien sur un projet android natif aussi longtemps que j'ajoute la vision de service de jeu lib à l'application. J'ai ajouté ce qui suit construire des notes dans un Codename Un projet:Utilisation de la bibliothèque avec Google play service vision
Avec ce soupçon de construction j'ai l'erreur de compilation suivante:
/tmp/build731648870085799025xxx/MyApplication/build/intermediates/res/merged/debug/values/values.xml:64: AAPT: Error retrieving parent for item: No resource found that matches the given name 'ThemeOverlay.AppCompat.Dark.ActionBar'.
/tmp/build731648870085799025xxx/MyApplication/build/intermediates/exploded-aar/materialbarcodescanner-release/res/values/values.xml:9:5-12:13: AAPT: No resource found that matches the given name: attr 'windowActionBar'.
/tmp/build731648870085799025xxx/MyApplication/build/intermediates/exploded-aar/materialbarcodescanner-release/res/values/values.xml:9:5-12:13: AAPT: No resource found that matches the given name: attr 'windowNoTitle'.
/tmp/build731648870085799025xxx/MyApplication/build/intermediates/res/merged/debug/values/values.xml:69: AAPT: Error retrieving parent for item: No resource found that matches the given name 'ThemeOverlay.AppCompat.Light'.
Cette question n'est pas lié au service Google Play lib: I J'ai le même problème quand j'essaie d'utiliser une bibliothèque simple qui utilise juste un toastbar. Peut-être studio android généré des ressources qui ne peuvent pas être utilisées dans un nom de code?
Lorsque je tente de changer la version du service de jeu de google avec l'indication de construction suivante:
Le service Google Play lib ne se trouve plus:
Could not find com.google.android.gms:play-services-vision:10.0.
Searched in the following locations:
https://jcenter.bintray.com/com/google/android/gms/play-services-vision/10.0/play-services-vision-10.0.pom
https://jcenter.bintray.com/com/google/android/gms/play-services-vision/10.0/play-services-vision-10.0.jar
file:/tmp/build3506878302752944909xxx/MyApplication/libs/play-services-vision-10.0.jar
file:/tmp/build3506878302752944909xxx/MyApplication/libs/play-services-vision.jar
file:/home/ec2-user/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-vision/10.0/play-services-vision-10.0.pom
file:/home/ec2-user/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-vision/10.0/play-services-vision-10.0.jar
file:/home/ec2-user/android-sdk/extras/google/m2repository/com/google/android/gms/play-services-vision/10.0/play-services-vision-10.0.pom
file:/home/ec2-user/android-sdk/extras/google/m2repository/com/google/android/gms/play-services-vision/10.0/play-services-vision-10.0.jar
Required by:
:MyApplication:unspecified
Comment puis-je changer le service Google Play version et comment puis-je ajouter mes bibliothèques correctement?
Je regarde dans ce ... –