Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expansion File found, validated - but XAPKReader.get() always yeilds APKExpansionFile not found. #16

Open
andremalkine opened this issue Dec 11, 2014 · 3 comments

Comments

@andremalkine
Copy link

Everything set up as directed, .obb is already in place, no matter what all calls to XAPKReader.get( ... ) result in the following error:

APKExpansionFile not found.
 java.lang.NullPointerException
  at org.apache.cordova.CallbackContext.sendPluginResult(CallbackContext.java:60)
  at org.apache.cordova.xapkreader.XAPKReader$2.run(XAPKReader.java:94)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
  at java.lang.Thread.run(Thread.java:841)

@andremalkine andremalkine changed the title Everything set up as directed, .obb is already in place, no matter what all calls to XAPKReader.get( ... ) result in the following error: Expansion File found, validated - but XAPKReader.get() always yeilds APKExpansionFile not found. Dec 11, 2014
@moust
Copy link
Owner

moust commented Dec 15, 2014

Does your obb file's name matches the main version and patch version defined during the installation of the plugin?
If needed you can change it in the platforms/android/res/values/xapkreader.xml file.

@JohnWeidner
Copy link

Please mention the xapkreader.xml in the documentation.

@JohnWeidner
Copy link

I'm updating the xapkreader.xml file with the new value. But then when I do a build the old values get appended to that file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants