- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If I add App Security API plugin in build settings in 2323 version of XDK, the crosswalk app in android while opening, it alerts "Unfortunately, App has stopped".
I thought, there may be problems in my code, but I tried creating a empty app just with this plugin, still I am getting the same error.
Could somebody please help me.
Regards,
Sam Deepak.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you installing the correct apk from the crosswalk build on your device?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I am installing x86 apk to my intel ASUS phone. It installed , but while opening, it prompts, "the app has stopped unexpectedly".
But if I remove App security API.build it and install it, I dont get any problems. I tried with an empty app with just this plugin, it is giving this problem. I am confused.
Regards,
Sam Deepak.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just built an very simple crosswalk build and installed the ARM version on my samsung s4. It installed/launched with no issues with the Security API included.
Try installing the ARM version from the attached zip. If you are still having issues, attach the zip you get from the build system to your post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Sam -- I tried the examples you provided and the x86 fails on my Asus x86 device, but the ARM works on my Samsung S3. Can you attach a copy of the <project-name>.xdk file from the root of the project directory AND the intelxdk.config.crosswalk.xml files from the project you used to build this example? I want to see which version of the App Security API plugin is being included.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm sorry, I meant for you to add the security plugin and build it and install it to confirm that this simple app results in a failure. Then send me the two files above. I don't see the security plugin being used in the files you sent me, the app is including the device, splashscreen and inAppBrowser plugins...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nothing odd in those files. I tried to reproduce this with a simple project of my own and I cannot create a build that fails. Can you ZIP the entire project directory for a project that causes this and attach it to a post on this thread. There must be something else going on in the project that is causing this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please include the AppSecurity.xdk file? This is an important file...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I build that app, exactly as you have given it to me, no changes to anything, and install and run it on an x86 and an ARM device it works, there is no crash. I've attached the builds that I installed. Please let me know if these crash on your devices.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Paul,
I am getting the same error even after I installed the version of the apk files given from you. I really dont now why is ths.
Regards,
Sam Deepak.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sounds to me like it is a device issue. Do you have another android device to test it on?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi John,
I will have access to some other android device in another 2 hours, so I will update you in 2 hours. But my concern is, previously it was working before switching to 2323 build of XDK.
Regards,
Sam Deepak.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is very strange...
Make sure you have removed any existing installs of the application before you install the copies I gave you, to be sure the new version actually got installed. I have seen situations where installing over the top of an existing app fails, but not in an obvious way. So UNINSTALL the existing test apps on your device and then install the x86 version I sent to you.
The version of the XDK does not change how the build works, since the build server is in the cloud and is not tied to the version of the XDK.
Could you please also try installing the EA version of the XDK and perform the same test with a project built from that version. In that case the build will be affected because the plugins are provided by the XDK rather than retrieved by the build system, otherwise the builds are the same. See these posts for details:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Paul,
I am downloading XDK EA now, once I tried creating an empty app with App Security API in XDK EA, I will update you back right then.
Regards,
Sam Deepak.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi John,
I tried it in some other device also, the same crash occurs there also. Could you please advice.
Regards,
Sam Deepak.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page