Closed davidmaxwaterman closed 10 years ago
This is blocking my work, so if anyone can comment asap, that'd be appreciated. I'm currently considering downgrading to an older version.
@gramakri-intel @wang16 @huningxin @jketreno Any ideas? Max mentioned the canaries are also failing the same way for him.
@rakuco , tried the apks from https://download.01.org/crosswalk/releases/android/beta/crosswalk-1.29.4.1.zip, it works for me. And i found the version of RuntimeLib there is actually 1.29.3.0, the version of AppTemplate and RuntimeClient is not specified. Which is not correct.
@wang16 could you provide more detail? Can you make a guess why things aren't working for me? Anything at all that might help me move past this? What exactly did you do to make them work? Anything different to what I did above?
I downloaded the zip you reference and it seems to be the same as the one I downloaded (even if I didn't download from the same place) :
[Downloads]$ mkdir crosswalk-1.29.4.1_001
[Downloads]$ cd !$
cd crosswalk-1.29.4.1_001
[crosswalk-1.29.4.1_001]$ md5sum ../crosswalk-1.29.4.1*.zip
4afb6e323096f198ffa375fff9b911c0 ../crosswalk-1.29.4.1_001.zip
4afb6e323096f198ffa375fff9b911c0 ../crosswalk-1.29.4.1.zip
[crosswalk-1.29.4.1_001]$ unzip ../crosswalk-1.29.4.1_001.zip
Archive: ../crosswalk-1.29.4.1_001.zip
creating: crosswalk-1.29.4.1/
inflating: crosswalk-1.29.4.1/xwalk_app_template.tar.gz
creating: crosswalk-1.29.4.1/apks/
inflating: crosswalk-1.29.4.1/apks/XWalkCoreTest.apk
inflating: crosswalk-1.29.4.1/apks/XWalkAppTemplate.apk
inflating: crosswalk-1.29.4.1/apks/XWalkCoreShell.apk
inflating: crosswalk-1.29.4.1/apks/XWalkRuntimeLib.apk
inflating: crosswalk-1.29.4.1/apks/XWalkRuntimeShell.apk
inflating: crosswalk-1.29.4.1/apks/XWalkRuntimeClientShell.apk
[crosswalk-1.29.4.1_001]$ cd crosswalk-1.29.4.1/
[crosswalk-1.29.4.1]$ ls
apks xwalk_app_template.tar.gz
[crosswalk-1.29.4.1]$ cd apks
[apks]$ ls
XWalkAppTemplate.apk XWalkCoreTest.apk XWalkRuntimeLib.apk
XWalkCoreShell.apk XWalkRuntimeClientShell.apk XWalkRuntimeShell.apk
[apks]$ for apk in *.apk; do adb install -r $apk; done
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
1110 KB/s (43735 bytes in 0.038s)
pkg: /data/local/tmp/XWalkAppTemplate.apk
Success
1279 KB/s (18151505 bytes in 13.855s)
pkg: /data/local/tmp/XWalkCoreShell.apk
Success
1296 KB/s (886815 bytes in 0.668s)
pkg: /data/local/tmp/XWalkCoreTest.apk
Success
266 KB/s (13384 bytes in 0.049s)
pkg: /data/local/tmp/XWalkRuntimeClientShell.apk
Success
1295 KB/s (18144987 bytes in 13.680s)
pkg: /data/local/tmp/XWalkRuntimeLib.apk
Success
1298 KB/s (18122158 bytes in 13.631s)
pkg: /data/local/tmp/XWalkRuntimeShell.apk
Success
[apks]$
Then, on device, I tap XWalkCoreShell, it tells me :
"Unfortunately, XWalkCoreShell has stopped. [OK]"
I tap XWalkRuntimeClientSh, it tells me :
"download_dialog_title | download_dialog_msg [Cancel] [download_from_store]"
(that looks like a bug to me, but anyway)
Tapping XWalkRuntimeShell, it tells me :
"Unfortunately, XWalkRuntimeShell has stopped. [OK]"
Hrm, but no Template app there...I wonder why...I'll spend some time investigating, but if you can make some suggestions, that'd be (potentially) helpful.
@davidmaxwaterman , I just run adb install -r apks/XWalkRuntimeLib.apk adb install -r apks/XWalkAppTemplate.apk adb install -r apks/XWalkRuntimeClientShell.apk
Running XWalkAppTemplate and XWalkRuntimeClientShell are both working for me. The XWalkRuntimeShell and XWalkCoreShell even fails for you, that's really weird. Please make sure you are trying to running them on an x86 arch phone.
Oh, the icon for XWalkAppTemplate has a different icon to the others, so I missed it visually...it is there and when I tap on it, I get :
"CrossWalk Runtime Not Found | Please install CrossWalk Runtime Library first. [Cancel] [Install From Store]"
If I look in the settings in the 'apps' page, I see :
XWalkAppTemplate 72.00KB XWalkCoreShell 19.47MB XWalkRuntimeClientShell 48.00KB XWalkRuntimeLib 19.45MB XWalkRuntimeShell 19.44MB
I will try uninstalling them all again and see what happens.
Aha! That sounds like it is the problem...my phone is arm (HTC One X). I don't have an x86 android phone.
Can you point me at the arm packages?
Thanks!
Will you file a bug on the lack of architecture name in the zip path/filename, or shall I?
Sure, please go ahead for filing the bug.
you mean point you the arm packages?
yes, I need a zip file containing arm apks...I don't have an x86 phone, so need arm ones.
I'm not sure if there are beta/canary builds for arm. @rakuco You can try the ones from buildbot, which is for development first. http://wrt-build.sh.intel.com/archive/snapshots/dev-wrt-android-arm-build/191/
Thanks for the link. Can you point me at the version that is the same as 1.29.4.1?
Actually, there's no one is the same as 1.29.4.1, buildbot is only tracking master branch. 1.29.4.1 is on beta. Anyway, let me find you the closest image. Is that ok for you?
awesome, thanks! Can you tell me how you can get the version number? It's not in the file path or name, but you seemed to be able to tell from the apks somehow?
Apk is kind of a zip, just open the AndroidManifest.xml in that zip, although it's encrypted, the version name is still readable. You just need to find it carefully.
Ah, it's in there...ok, thanks! That latest one works, so closing this. Thanks for getting me back on track. I'll ignore the public releases from now on (they don't appear very useful), and just use the snapshots.
I've installed all the apks in apks/, and my apps, as below, but they don't run, resulting in :
and a dialog :
Here's my install session for reference :