Open jknowles94 opened 6 years ago
Did you manage to figure this one out?
I had to edit the xapkreader.xml in the following places platforms/android/app/src/main/res/values/xapkreader.xml
and plugins/com.flyingsoftgames.xapkreader/res/values/xapkreader.xml
The file seemed to be missing all the strings required for it to work - so after some digging i found the names and populated with what was required. Example below:
<?xml version='1.0' encoding='utf-8'?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<string name="xapk_expansion_authority">{{your expansion}}</string>
<string name="xapk_google_play_public_key">{{your public key}}</string>
<string name="xapk_text_downloading_assets"> assets…</string>
<string name="xapk_text_preparing_assets">Preparing assets…</string>
<string name="xapk_text_download_failed">Download failed.</string>
<string name="xapk_text_error">Error.</string>
<string name="xapk_text_close">Close.</string>
<integer name="xapk_main_version">0</integer>
<integer name="xapk_patch_version">0</integer>
<integer name="xapk_main_file_size">0</integer>
<integer name="xapk_patch_file_size">0</integer>
<bool name="xapk_auto_download">true</bool>
<bool name="xapk_auto_permission">false</bool>
<bool name="xapk_auto_reload">false</bool>
<string name="xapk_progress_format">percent</string>
</resources>
HI,
Im having problems building my cordova project due to the issue below:
`BUILD FAILED in 1s (node:3680) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: /Users/jakeknowles/Sites/trent-700/mobile/platforms/android/gradlew: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception.
What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.`
I have tried downgrading to Cordova 6.5
Does anyone have any insight to the problem
Thanks
Cordova 8.0, Cordova Android 6.4