Software Archive
Read-only legacy content
17061 Discussions

Debug fails in XDK

Gennady_S_
Beginner
811 Views

I have a problem to start debugging in XDK on debug tab. When I press "Debug App on Device" button I see message "App Preview Crosswalk 0.27 not installed" and if I press button "Install it now" I see error "Error encountered while installing App Preview Crosswalk 0.27 on your device. Suggestion : Retry.:700 HTTP(S) request service". I'm using Asus Transformer Pad with Android 4.4.2 connected via usb to windows 7 laptop. I have tried to connect as both MTP and PTP, and drivers both from ASUS and ClockWork with no effect. At the same time I can debug my app in chrome dev tools via chrome://inspect, but it's very inconvenient because I have to build and install my app every time I make changes.

0 Kudos
3 Replies
Gennady_S_
Beginner
811 Views

One more addition - I have installed App Preview Crosswalk 0.27 as linked to this blog post

https://forums.html5dev-software.intel.com/viewtopic.php?f=34&t=8338&start=10#p33195

Problem still persists.

0 Kudos
PaulF_IntelCorp
Employee
811 Views

I was able to duplicate this problem. Unfortunately, there are two 0.27 versions of APX out there, due to a change in the way the Debug tab works... Thus, that link you have is for an older version of the XDK and won't work with the current version. Here's the link you need to get it working with the new XDK:

-- https://s3.amazonaws.com/xdk-apx-cdt/apx-mrt/apx-xwalk10.apk
-- https://s3.amazonaws.com/xdk-apx-cdt/apx-mrt/apx-xwalk7.apk

The Amazon S3 is extremely slow and I suspect the XDK is not waiting long enough to get the download started. I'm filing a bug report to get this fixed. In the meantime, that file should be the one that works for you (I'm still waiting for the download to finish in order to confirm, but I'm pretty confident that version of the app will work once it's installed on your device).

EDIT: after some more investigation, it appears that this is happening when behind a proxy server (or possibly due to a firewall). If you try this at home it will probably work perfectly. So there's some delayed response from the S3 server that is raising havoc. My download finally completed, I installed manually and confirmed that this version works.

You can determine which versions are on your device using the adb command (this will only work on a Mac or Linux box or if you've got msys or similar installed on your Windows box):

$ adb shell 'pm list packages -f' | sed -e 's/.*=//' | sort | grep intel

You should see something like:

com.intel.app_analyzer
com.intel.app_analyzer.v10
com.intel.app_analyzer.v11
com.intel.app_analyzer.v7
com.intel.html5tools.apppreview

The com.intel.*.v## one's are the important ones...

0 Kudos
Gennady_S_
Beginner
811 Views

Paul, thank you.

I got it working installing manually using this link in your post.

https://s3.amazonaws.com/xdk-apx-cdt/apx-mrt/apx-xwalk10.apk

 

0 Kudos
Reply