aab 파일은 apk와 달리 바로 기기에 깔리지 않는다.
Releases · google/bundletool
Bundletool is a command-line tool to manipulate Android App Bundles - google/bundletool
github.com
여기서 bundletool를 설치한다.
터미널로 해당 bundletool이 설치된 곳으로 이동한 후
java -jar "bundletool-all-[설치한 bundletool 버전 작성].jar" build-apks -—bundle="[aab 파일이 있는 경로/aab파일 이름.aab]" -—output="universal.apks" -—mode=universal
이렇게 하면 커맨드를 실행한 터미널 경로에 universal.apks가 생성된다.
apks를 zip으로 확장자 이름을 변경해준다.
해당 압축파일을 압축해제 하면 apk가 나온다.
'APP > React Native' 카테고리의 다른 글
[React Native] release 버전으로 앱을 설치하고 싶을때.. (0) | 2024.02.28 |
---|---|
[React Native] webview 사용시 파일 다운로드 - ios (0) | 2024.01.04 |
[React Naitve] react-native-qrcode-scanner 사용시 주의사항 (0) | 2024.01.02 |
[React Native, android] react-native-send-intent 라이브러리 설치 주의사항 (0) | 2023.12.29 |
[React Native, android] proguard 설정시 webview 안보이는 문제 해결 (1) | 2023.12.29 |
댓글