728x90

구글 플레이에 App bundle 등록 시 디버그 모드 오류

 

구글 플레이에 출시하기 위해 App bundle를 업로드 하자 다음과 같은 오류가 뜨는 경우가 있습니다.

디버그 모드로 서명한 APK 또는 Android App Bundle을 업로드했습니다. 출시 모드로 APK 또는 Android App Bundle에 서명해야 합니다.

그중 디버그 모드로 만들었을 시 간단하게 해결하는 방법을 알아보겠습니다.

 

Project에서 보면 android 폴더가 있을 것입니다.

경로를 보자면 android/app/build.gradle를 열어보시고 아래로 내리시면 buildTypes가 있습니다.

 

buildTypes {
    release {
        // TODO: Add your own signing config for the release build.
        // Signing with the debug keys for now, so `flutter run --release` works.
        signingConfig signingConfigs.debug
    }
}

 

 

이때 signingConfig signingConfigs.debug에서 debug만 release로 변경해주시면 됩니다.

 

즉,

 

buildTypes {
    release {
        // TODO: Add your own signing config for the release build.
        // Signing with the debug keys for now, so `flutter run --release` works.
        signingConfig signingConfigs.release
    }
}

 

이렇게 말이죠.

 

 

728x90

+ Recent posts