안드로이드 앱 출시과정
1. APK 추출
APK 추출하기 : Build -> Generate Signed Bundle / APK...
중간에 만난 문제들 :
(1) 첫번째 문제 :
Could not find junit:junit:.
Required by:
project :app
해결방법 :
gradle 파일에서 dependencies 내에서 아래것 주석처리
// testImplementation 'junit:junit:'
(2) 두번째 문제
Lint found fatal errors while assembling a release target.
android {
...
lintOptions {
checkReleaseBuilds false
abortOnError false
}
}
2가지 문제 해결후 APK 추출 완료
apk 위치 : 앱폴더 -> app -> release -> XXX.apk
2. 앱 출시를 위한 새로운 구글 계정
3. Google play console 계정 만들기. -> (25달라 소요)
https://play.google.com/console
4. 앱 출시
Google play Console 사이트 -> 대시보드 -> 앱에 관한 정보 제공 및 스토어 등록정보 설정
다른건 다 알아서 할만한데 개인정보처리방침이 제일 귀찮습니다.
구글에 'google play console privacy policy generator' 라고 치면 쉽게 여러가지가 나온다.
저는 여기서 생성했습니다.
https://app-privacy-policy-generator.firebaseapp.com/
Testing 과정에서 만난 오류
1. Requested permissions do not match core functionality of the app
You declared Default SMS handler (and any other core functionality usage while default handler), Default Assistant handler (and any other core functionality usage while default handler) as the core functionality of your app. However, after review, we found that your app does not match the declared use case(s). Learn more about permitted uses and exceptions.
Please either:
• Make changes to your app so that it meets the requirements of the declared core functionality or,
• Select a use case that matches your app’s functionality
인터넷 찾아보니 아래 permission 쓰는게 앱에 주요한 기능과 관련있어야 한다는것 같았습니다.
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
<uses-permission android:name="android.permission.SEND_SMS"/>
제 앱은 그냥 예제용으로 한번 쓰는거여서 과감히 주석처리
2. 패키지 이름 com.example.xxxx 에서 example을 포함안 이름은 가지면 안됨....
~~~ 다 처리 이후 제 업로드 ~~~ 출시 되는 기간이 일주일은 된다니 앱개발을 더하면서 기다려야할듯 싶네요...