구글 플레이에100Mb 이상의 파일 업로드

구글 플레이 100Mb 이상의 앱을 올릴 때 용량 제한으로 업로드 제한이 걸립니다.
구글 플레이에 업로드 제한을 아래와 같은 조건으로 우회 할 수 있습니다.
  • 구글 플레이에 100Mb apk 파일을 업로드
  • 추가 main 2Gb 이하의 obb 파일 생성
  • 추가 patch 2Gb 이하의 obb 파일 생성 -------------------------------------------------------------------------
  • 총 4.10Gb 파일 업로드

이제부터 자세히 용량을 올리는 방법을 알아봅니다.

obb 파일을 생성합니다.
  • obb 파일은 크게 2가지 타입으로 생성 할 수 있습니다.
    • main
      • 변화가 거의 없는 확장 파일은 main 영역에 추가합니다.
    • patch
      • 변화가 많은 파일은 patch 영역에 추가합니다.
  • 생성 네이밍 룰은
    • [main|patch].[expansion-version].[package-name].obb
    • 예를 들어 com.coolsharp.example 이라는 앱이 버전코드 1이라면
      • main.1.com.coolsharp.example.obb
jobb 파일 생성
  • obb 파일은 누구나 접근이 가능하므로 암호화를 지원하는 jobb 파일로 생성함
  • jobb 는 구글 안드로이드 라이브러리에 포함되어 있음
jobb [-d <directory>][-o <filename>][-pn <package>][-pv <version>] \
     [-k <key>][-ov][-dump <filename>][-v][-about]
$ jobb -d /temp/assets/ -o my-app-assets.obb -k secret-key -pn com.my.app.package -pv 11
OptionDescription
-d <directory>Set the input directory for creating an OBB file, or the output directory when extracting (-dump) an existing file. When creating an OBB file, the contents of the specified directory and all its sub-directories are included in the OBB file system.
-o <filename>Specify the filename for the OBB file. This parameter is required when creating an OBB and extracting (dumping) its contents.
-pn <package>Specify the package name for the application that mounts the OBB file, which corresponds to the package value specified in your application's manifest. This parameter is required when creating an OBB file.
-pv <version>Set the minimum version for the application that can mount the OBB file, which corresponds to the android:versionCode value in your application's manifest. This parameter is required when creating an OBB file.
-k <key>Specify a password for encrypting a new OBB file or decrypting an existing, encypted OBB file.
-ovCreate OBB file that is an overlay of an existing OBB file structure. This option allows the new package contents to be mounted into the same location as a previous package and is intended for creating patch versions of previously generated OBB files. Files within an overlay OBB file replace files that have the same path.
-dump <filename>
Extract the contents of the specified OBB file. When using this option, you must also specify the output directory for the contents using the -d <directory> parameter.
Note: When dumping an existing OBB file, you can omit the -d <directory> parameter to get a listing of the directories inside the file, without extracting the contents.
-vSet verbose output for the tool.
-aboutDisplay version and help information for the jobb tool.
출처 : http://developer.android.com/tools/help/jobb.html


테스트 절차

For < 4.1
adb push main.1.mypackage.obb /sdcard/Android/obb/mypackage/
For >= 4.2
adb push main.1.mypackage.obb /mnt/shell/emulated/obb/mypackage/

댓글

이 블로그의 인기 게시물

ViewPager offscreenPageLimit 메모리 상태

eskimo esim 사용기 - 일본 / 오사카(23/08/06 ~ 23/08/08)

ASP에서 C# 언어로 만든 DLL 호출