前提・実現したいこと
Octane_SDKというものをAndroidアプリで使用したいと考えています
SDKファイルをダウンロード・解凍してでてくる
OctaneSDKJava-3.0.0.0-jar-with-dependencies.jarというjarを
libsフォルダに入れて、ビルドをすると、以下エラーが発生します。
正直なところOctaneSDKJava-3.0.0.0-jar-with-dependencies.jarがAndroidで使用できるのかも
よくわかっていないのですが、どの様に対応すればビルドが通るようになるでしょうか?
発生している問題・エラーメッセージ
Duplicate class org.apache.log4j.Appender found in modules jetified-OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar (OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar) and jetified-OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar (OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar)
Duplicate class org.apache.log4j.AppenderSkeleton found in modules jetified-OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar (OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar) and jetified-OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar (OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar)
Duplicate class org.apache.log4j.AsyncAppender found in modules jetified-OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar (OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar) and jetified-OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar (OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar)
Duplicate class org.apache.log4j.AsyncAppender$DiscardSummary found in modules jetified-OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar (OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar) and jetified-OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar (OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar)
Duplicate class org.apache.log4j.AsyncAppender$Dispatcher found in modules jetified-OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar (OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar) and jetified-OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar (OctaneSDKJava-3.0.0.0-jar-with-dependencies.jar)
環境
AndroidStudio 4
kotlin "1.3.72"
回答2件
あなたの回答
tips
プレビュー