Unityの課金処理をサポートしてくれるitemstoreというクラウドサービスを導入後に下記のエラーになりました。
タイトルのエラーでググったところおそらくUnityのバージョンを下げればうまくいくと思うのですが、バージョンそのままで対応する方法は何かございますでしょうか?
Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
1 exception was raised by workers:
java.lang.RuntimeException: Duplicate class com.android.vending.billing.IInAppBillingService found in modules appc-sdk-2.1.0.jar (appc-sdk-2.1.0.jar) and classes.jar (:GoogleAIDL:)
Duplicate class com.android.vending.billing.IInAppBillingService$Stub found in modules appc-sdk-2.1.0.jar (appc-sdk-2.1.0.jar) and classes.jar (:GoogleAIDL:)
Duplicate class com.android.vending.billing.IInAppBillingService$Stub$Proxy found in modules appc-sdk-2.1.0.jar (appc-sdk-2.1.0.jar) and classes.jar (:GoogleAIDL:)
追記
こちらのAndroidのチェックを外してエラーが消えましたが、ビルドすると速攻で落ちます。
「アプリ名が繰り返し停止しています。」というアラートが表示さればます。
開発者オプションなども確認し問題ありません。
全てitemstore導入後に起こっています。
あなたの回答
tips
プレビュー