Google Playサービスビジョンを使用するライブラリを追加しようとしています。私の図書館は、プレイサービスビジョンのlibをアプリに追加する限り、ネイティブのアンドロイドプロジェクトでうまくいきます。私は、次のビルドエラーを持っているビルドヒントでGoogle Playサービスビジョンでライブラリを使用する
:私はコードネーム一つのプロジェクトにヒントを構築し、次を追加した
/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'.
その問題がGoogleに関連していないサービスのLIBを再生する:I私はトーストバーを使用する単純なライブラリを使用しようとすると同じ問題があります。おそらくアンドロイドスタジオがコードネーム1で使用できないリソースを生成しましたか?
私は、次のビルドヒントとGoogle Playのサービスのバージョンを変更しようとすると:
Googleがサービスlibにはもう見つからないプレイ:
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
私は、Googleがサービスを果たし変更するにはどうすればよいですバージョンとライブラリを正しく追加するにはどうしたらいいですか?
私はこれを探しています... –