1:1 문의 플러그인 설치 후 안드로이드 빌드가 되질 않습니다.

문의 응대 : 평일 오전 10시 ~ 오후 6시
문의를 남기실 경우 다음 항목을 작성해 주세요.
정보가 부족하거나 응대시간 외 문의하는 경우 확인 및 답변이 지연될 수 있습니다.

  • 뒤끝 SDK 버전 : 5.6.0
  • 프로젝트명 : Yut nori
  • 스테이터스 코드 :
  • 에러 코드 :
  • 에러 메시지 :
  1. 1:1문의 플러그인 설치 후 빌드 에러가 나네요.

\Assets\Plugins\Android 경로에는 androidx.core.core-1.0.0.aar가 존재하구요.
개발 문서를 보면 Assets/TheBackend/Plugins/Support/Android/에 추가되는 것 같던데 해당 경로에서는 androidx.core.core-1.0.0.aar를 찾아볼 수가 없네요.

  1. 현재 빌드 옵션은 이렇습니다.
    image

  2. 그리고 다음과 같이 빌드 에러가 뜹니다.
    Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
    WARNING: [Processor] Library ‘C:\Users\yoon\Desktop\SongNori\Temp\gradleOut\unityLibrary\libs\androidx.core.core-1.0.0.aar’ contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway.
    Example of androidX reference: ‘androidx/versionedparcelable/VersionedParcel’
    Example of support library reference: ‘android/support/v4/graphics/drawable/IconCompatParcelizer’

Task :unityLibrary:GooglePlayGamesManifest.androidlib:preBuild UP-TO-DATE
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preBuild UP-TO-DATE
Task :launcher:preBuild UP-TO-DATE
Task :unityLibrary:preBuild UP-TO-DATE
Task :unityLibrary:preReleaseBuild UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:preReleaseBuild UP-TO-DATE
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preReleaseBuild UP-TO-DATE
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseAidl NO-SOURCE
Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseAidl NO-SOURCE
Task :unityLibrary:compileReleaseAidl NO-SOURCE
Task :launcher:extractProguardFiles
Task :launcher:preReleaseBuild
Task :launcher:compileReleaseAidl NO-SOURCE
Task :launcher:compileReleaseRenderscript NO-SOURCE
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseRenderscript NO-SOURCE
Task :unityLibrary:generateReleaseResValues
Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseRenderscript NO-SOURCE
Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
Task :unityLibrary:generateReleaseResources
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResValues
Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseResValues
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResources
Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseResources
Task :launcher:generateReleaseBuildConfig
Task :unityLibrary:GooglePlayGamesManifest.androidlib:packageReleaseResources
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseResources
Task :launcher:generateReleaseResValues
Task :launcher:generateReleaseResources
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:extractDeepLinksRelease
Task :unityLibrary:GooglePlayGamesManifest.androidlib:extractDeepLinksRelease
Task :launcher:createReleaseCompatibleScreenManifests
Task :launcher:extractDeepLinksRelease
Task :launcher:javaPreCompileRelease
Task :unityLibrary:packageReleaseResources
Task :unityLibrary:extractDeepLinksRelease
Task :launcher:prepareLintJar
Task :unityLibrary:GooglePlayGamesManifest.androidlib:processReleaseManifest
Task :unityLibrary:processReleaseManifest
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseBuildConfig
Task :unityLibrary:generateReleaseBuildConfig
Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseBuildConfig
Task :unityLibrary:javaPreCompileRelease
Task :unityLibrary:prepareLintJarForPublish
Task :unityLibrary:GooglePlayGamesManifest.androidlib:javaPreCompileRelease
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseManifest
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:javaPreCompileRelease
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:prepareLintJarForPublish
Task :unityLibrary:GooglePlayGamesManifest.androidlib:prepareLintJarForPublish
Task :unityLibrary:mergeReleaseShaders
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseShaders
Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseShaders
Task :unityLibrary:compileReleaseShaders NO-SOURCE
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseShaders NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseShaders NO-SOURCE
Task :unityLibrary:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:packageReleaseAssets
Task :unityLibrary:GooglePlayGamesManifest.androidlib:parseReleaseLocalResources
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseAssets
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:parseReleaseLocalResources
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibResRelease NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:bundleLibResRelease NO-SOURCE
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseRFile
Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseRFile
Task :launcher:processReleaseManifest
Task :launcher:mergeReleaseShaders
Task :launcher:compileReleaseShaders NO-SOURCE
Task :launcher:generateReleaseAssets UP-TO-DATE
Task :launcher:checkReleaseDuplicateClasses FAILED
Task :unityLibrary:packageReleaseAssets
Task :unityLibrary:parseReleaseLocalResources
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseJavaWithJavac
Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseJavaWithJavac
Task :launcher:mergeReleaseResources
45 actionable tasks: 45 executed

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

\Assets\Plugins\Android 경로에 있던 androidx.core.core-1.0.0.aar를 제거했더니 빌드는 됐습니다.
다만, BackEnd.Support.Android.Question.OpenQuestionView를 호출하면 다음고 같은 에러 메시지가 나타납니다.

안녕하세요 개발자님.

다음과 같은 방법으로 빌드 및 플러그인 정상작동이 되는지 확인해주시면 감사하겠습니다.

  1. Assets > External Depengency Manager > Android Resolver > Force Resolve 확인

  2. 커스텀 gradle이 있다면 해당 gradle의 gradle.properties에 다음 코드 추가

android.useAndroidX=true
android.enableJetifier=true

안타깝게도 다 시도 해본 것들 입니다 ㅠㅠ
다른 해결법은 없을까요…

  1. 빌드 되고 난 뒤 BackEnd.Support.Android.Question.OpenQuestionView를 호출했을 때의 에러 메세지입니다.

Android Error : Please Check TheBackend/Plugins/Android/Backend.question.aar & Plugins/Android/androix.core.core.aar Plugins
Exception : UnityEngine.AndroidJavaException: java.lang.ClassNotFoundException: io.thebackend.webview.BackendWebView
at UnityEngine.AndroidJNISafe.CheckException () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.AndroidJNISafe.FindClass (System.String name) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.AndroidJavaClass._AndroidJavaClass (System.String className) [0x00000] in <00000000000000000000000000000000>:0
at BackEnd.Support.Android.Question.get_BackendWebViewPluginClass () [0x00000] in <00000000000000000000000000000000>:0
at BackEnd.Support.Android.Question.get_PluginInstance () [0x00000] in <00000000000000000000000000000000>:0
at BackEnd.Support.Android.Question.IsSdkVersionPossible () [0x00000] in <00000000000000000000000000000000>:0
at BackEnd.Support.Android.Question.OpenQuestionView (System.String questionAuthorize, System.String myInDate, System.Int32 left, System.Int32 top, System.Int32 right, System.Int32 bottom) [0x00000] in <00000000000000000000000000000000>:0
at GameOptionPopup.OnOpenOneByOneQuestionView () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.Events.UnityAction.Invoke () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.Events.UnityEvent.Invoke () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1].Invoke (T1 handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1] functor) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.EventSystems.StandaloneInputModule.ProcessTouchPress (UnityEngine.EventSystems.PointerEventData pointerEvent, System.Boolean pressed, System.Boolean released) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.EventSystems.StandaloneInputModule.ProcessTouchEvents () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.EventSystems.StandaloneInputModule.Process () [0x00000] in <00000000000000000000000000000000>:0

BackEnd.Support.Android.Question:OpenQuestionView(String, String, Int32, Int32, Int32, Int32)
GameOptionPopup:OnOpenOneByOneQuestionView()
UnityEngine.EventSystems.StandaloneInputModule:Process()

  1. 혹시 Assets\TheBackend\Plugins\Support\Android 안에 있는 파일들을 못 찾는 것일까요?

이하 방법들도 시도해주시면 감사하겠습니다.

  1. progaurd-user.txt 변경
    아래 내용을 추가해주세요
-keep class io.thebackend.unity.** {
    *;
}
-keep class io.thebackend.webview.** {
    *;
}

추가 후 테스트 실패 시 1번이 진행된 상태에서 2번 진행

  1. androidx.core.core-1.0.0.aar 추가 후 gradle.properties false로 수정
android.useAndroidX=true
android.enableJetifier=false

1번으로 해결했습니다! 감사합니다!

그런데, 1:1문의 창이 뜨고나서 첨부파일 없는 문의는 정상적으로 등록이 되나,
첨부파일을 넣으면 문의가 실패했다는 메세지가 나타납니다! 모바일 파일 접근 허용까지 한 상태입니다!

지금은 파일을 첨부해도 아무런 반응이 없네요… ㅎㅎ
몇번을 시도하면 첨부가 되긴 하지만 문의등록을 누르면 이 역시도 등록실패했다는 메세지가 나옵니다.

첨부파일없는 문의는 정상적으로 등록이 되고 있는 상황입니다!

첨부파일 부착 후만 등록에 실패하는 것일까요?

해당 부분은 프로가드 및 AndroidManifest와 관련하여 좀 더 확인이 필요할 것 같습니다.

확인해보도록 하겠습니다.

Q. 첨부파일 부착 후만 등록에 실패하는 것일까요?
A. 넵 맞습니다! 첨부파일없이는 아래와 같이 문의가 잘 등록됩니다!

답변 기다리겠습니다^^

안녕하세요 개발자님,
수정 완료되어 파일 첨부 후 문의 등록이 가능합니다.
확인하여 이용해 주시면 감사하겠습니다. :D

해결해주셔서 감사합니다!
테스트 해보니 첨부파일있는 문의가 잘 등록되네요!

다만, +첨부파일추가를 눌러 파일을 선택할 때 두어번 시도해야지 첨부가 되네요 ㅎㅎ
이 문제도 개선 가능하실련지요 ㅎㅎ

말씀해주신 내용의 경우 안드로이드 저장소 권한 정책이 변경되어 발생한 것으로 추정됩니다.
개발부서에서 해당 현상 확인하였으며 추후 픽스 될 예정입니다.
감사합니다.

여러모로 답변 감사드립니다^^