UnityでAndroidアプリを開発しているのですが、Nendによる広告を使用してビルドしようとすると以下の2つのエラーが出てしまいます。
1つ目
UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors.
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x001b9] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:162
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:83
UnityEditor.HostView:OnGUI()
2つ目
CommandInvokationFailure: Failed to re-package resources.
/Users/user/Library/Android/sdk/build-tools/25.0.0/aapt package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "/Users/user/Library/Android/sdk/platforms/android-26/android.jar" -F bin/resources.ap_ --extra-packages net.nend.unity.plugin:net.nend.android -S "/Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nend-unity-plugin/res" -S "/Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res"
stderr[
/Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/values/values.xml:26: error: Error retrieving parent for item: No resource found that matches the given name 'CardView.Light'.
/Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/values/values.xml:27: error: Error: No resource found that matches the given name: attr 'cardCornerRadius'.
/Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/values/values.xml:28: error: Error: No resource found that matches the given name: attr 'cardElevation'.
/Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/values/values.xml:29: error: Error: No resource found that matches the given name: attr 'cardUseCompatPadding'.
]
stdout[
Configurations:
(default)
v14
v21
port
land
land-v14
xhdpi-v4
xxhdpi-v4
xxxhdpi-v4
sw360dp-v13
sw600dp-v13
Files:
drawable/nend_ad_full_board_action_button.xml
Src: () /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable/nend_ad_full_board_action_button.xml
Src: (v21) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-v21/nend_ad_full_board_action_button.xml
drawable/nend_ad_full_board_close.png
Src: (xhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xhdpi-v4/nend_ad_full_board_close.png
Src: (xxhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xxhdpi-v4/nend_ad_full_board_close.png
Src: (xxxhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xxxhdpi-v4/nend_ad_full_board_close.png
drawable/nend_ad_full_board_info.png
Src: (xhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xhdpi-v4/nend_ad_full_board_info.png
Src: (xxhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xxhdpi-v4/nend_ad_full_board_info.png
Src: (xxxhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xxxhdpi-v4/nend_ad_full_board_info.png
drawable/nend_ad_video_close.png
Src: (xhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xhdpi-v4/nend_ad_video_close.png
Src: (xxhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xxhdpi-v4/nend_ad_video_close.png
Src: (xxxhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xxxhdpi-v4/nend_ad_video_close.png
drawable/nend_ad_video_cta.png
Src: (xhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xhdpi-v4/nend_ad_video_cta.png
Src: (xxhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xxhdpi-v4/nend_ad_video_cta.png
Src: (xxxhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xxxhdpi-v4/nend_ad_video_cta.png
drawable/nend_ad_video_mask.xml
Src: () /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable/nend_ad_video_mask.xml
drawable/nend_ad_video_mute_off.png
Src: (xhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xhdpi-v4/nend_ad_video_mute_off.png
Src: (xxhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xxhdpi-v4/nend_ad_video_mute_off.png
Src: (xxxhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xxxhdpi-v4/nend_ad_video_mute_off.png
drawable/nend_ad_video_mute_on.png
Src: (xhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xhdpi-v4/nend_ad_video_mute_on.png
Src: (xxhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xxhdpi-v4/nend_ad_video_mute_on.png
Src: (xxxhdpi-v4) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable-xxxhdpi-v4/nend_ad_video_mute_on.png
drawable/nend_ad_video_toggle_volume.xml
Src: () /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/drawable/nend_ad_video_toggle_volume.xml
layout/activity_nend_ad_full_board.xml
Src: (port) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/layout-port/activity_nend_ad_full_board.xml
Src: (land) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/layout-land/activity_nend_ad_full_board.xml
values/values-land-v14.xml
Src: (land-v14) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/values-land-v14/values-land-v14.xml
values/values-land.xml
Src: (land) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/values-land/values-land.xml
values/values-sw360dp-v13.xml
Src: (sw360dp-v13) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/values-sw360dp-v13/values-sw360dp-v13.xml
values/values-sw600dp-v13.xml
Src: (sw600dp-v13) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/values-sw600dp-v13/values-sw600dp-v13.xml
values/values-v14.xml
Src: (v14) /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/values-v14/values-v14.xml
values/values.xml
Src: () /Users/user/Unity_projects/NendAdsTest/Temp/StagingArea/android-libraries/nendSDK-4.0.1/res/values/values.xml
AndroidManifest.xml
Src: () AndroidManifest.xml
Resource Dirs:
文字数制限のため省略させていただきます
私はプログラミング及びゲーム開発は初心者ですので、自分で調べても、何をすれば良いのかよくわかりません。
どなたか原因、解決方法に心当たりのある方、ご教授お願いいたします。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。