How to create .obb file as main apk expansion file using jobb tool?

Sanket Kachhela picture Sanket Kachhela · Sep 21, 2013 · Viewed 38.1k times · Source

I have an apk of 80Mb and so am not able to upload it on google play store. I have googled a lot and found that I have to create .obb file as the main expansion file.

Also I have found that I can create a .obb file using the jobb tool which is inside sdk > tools > jobb.bat but unfortunately it closes just after it starts.

So am I missing something?

Answer

Nikhil picture Nikhil · Sep 21, 2013

Try this

$ jobb -d /temp/assets/ -o new-obb-file.obb -k secret-key -pn com.my.app.package -pv 11

Where

 -d <directory> : Set the input directory for creating an OBB file. 
 -o <filename>  : Specify the filename for the OBB file.
 -k <key>       : Specify a password for encrypting a new OBB file 
 -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. 
 -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. 

Try this command.

check following link http://developer.android.com/tools/help/jobb.html