Corona Cards Installation failed

If the entire operating system froze, then you’re running into a bug with the operating system.  That’s only happened to me twice within the past 6 months, but yeah, sometimes it happens when you run the app in debug mode.

I believe you can force your device to reboot by holding down the Power Button and Volume Down buttons for several seconds.

Yeah I tried that shut down and doesn’t want to work. I have to wait about 10 minutes and then it shuts down, but of a pain, I will look at that native debug and hope I can see what’s going wrong or it’s going to be slow and painful lol. I will also strip everything out that might not work although there’s nothing fancy. No widgets or plugins, perhaps its my build settings, I’ll investigate tomorrow as it’s late and a long day. Thanks

Regarding widgets, we don’t have full support for it on WP8 yet, but you can make it work if you copy in our iOS7 skin images into your assets directory.  Have a look at my instructions here…

   http://forums.coronalabs.com/topic/49277-widgets-in-corona-cards/?p=254947

And I’ve never heard of a WP8 device hanging repeatedly before (as in the entire OS).  It makes me wonder if there is something wrong with the hardware.  Hopefully you were just unlucky.

Yeah hopefully :slight_smile: I was wondering where build settings comes in. Would there be a windows section? How would you define icons? This kinds of things that are platform dependent.

Oh and it’s a lumia 925 so quite new

Since you’re developing via Visual Studio, you don’t use a “build.settings” file.  That file is only applicable to Corona Simulator builds.  So, the configuration that you normally put into a “build.settings” file you would have to do yourself as documented by Microsoft.

For example, a lot of the WP8 app settings can be found by double clicking your project’s “WMAppManifest.xml” file.  You would set your app name, version, and supported resolutions/capabilities/requirements here.

You app icon/tile images are under your project’s “Assets\Tiles” directory, which is the standard WP8 location for them (this is a Microsoft thing too).  This means you should not include “Icon*.png” files found in Corona sample projects, because those are only applicable to Corona Simulator builds as well.  In Visual Studio, you have to set app icons/tiles Microsoft’s way.

You would also set your app page’s orientation and status bar setting via the “MainPage.xaml” in XML.  Just double click on the “MainPage.xaml” file and you can see those settings in the XML panel.

The “config.lua” is still applicable.  You only need to exclude the “build.settings” and app icon files that are normally in a Corona Simulator build.  I hope this helps getting you started.

It all works! YAY! I thought I had better stick Windows Enterprise + Visual Studio Ultimate on to help me test out before crashing my phone everytime.

Everyone,

The newest WP8 CoronaCards build that got pushed out (build #2387) resolves the installation issue that some of you may have seen with “Visual Studio Express 2013”.  And we’ve updated our documentation to make it clear that you need “Update 2” of that version of Visual Studio, since that’s the version Microsoft added WP8 support to (it used to not be included and only available in the 2012 version).  I apologize for the confusion.  That was a fairly new update of Visual Studio that we didn’t have much time to test with compared to the other 2 versions that we support.

The advantage of the 2013 Update 2 version is that it includes more WP8 emulators.  Specifically both Windows Phone 8.0 and 8.1 versions and their new 1080p device emulator.  If you had the Pro version of Visual Studio 2013, then you already had support for this.

http://forums.coronalabs.com/topic/49185-cant-install-corona-cards-into-visual-studio/

No, it’s because Visual Express 2013 doesn’t support 3rd party extensions.

OK.

But in that case the installation docs are incorrect:

System Requirements

Minimum Desktop Operating System Supported for Development:

  • Windows 8.1 (Pro version needed for Windows Phone emulator support)

Visual Studio Versions Supported:

  • Visual Studio Express 2012 for Windows Phone 8
  • Visual Studio Express 2013 for Windows
  • Visual Studio Professional 2013 (…or better)

Windows Phone Operating Systems Supported:

  • 8.0
  • 8.1

OK. Got it working with VS Express 2012

Cool, are you able to deploy for WP8.1 or 8.0 only?

From what I can see, 8.0 only.

Unfortunately it looks like you can’t use Visual Studio 2012 for building apps targeting Windows Phone 8.1.

Windows Phone 8.1 SDK support was included only in Visual Studio 2013 starting from Update 2.

Bummer.  :frowning:

I think you are reading it wrong. Windows 8.0 apps should run fine on a Windows 8.1 device because of backward compatibility. And about installing into VS 2013 - read my topic, Joshua explained why it is so.

Lerg is correct.  Windows Phone 8.0 apps run on 8.1 devices.

When you build for Windows Phone 8.0 in Visual Studio, then it’ll create a *.xap file.

When you build for Windows Phone 8.1 in Visual Studio, then it’ll create an *.appx file.

They’re totally different app binaries.  The *.appx file is what Windows 8 Metro and tablets support.  Microsoft recently added *.appx support to Windows Phone this year, which is now Microsoft’s equivalent to a universal binary.  In the past, you had to build your apps completely different for Windows phones and tablets.  Corona Labs is supporting *.xap files first because Windows Phone 8.0 is still the dominant version.

Also, I’ll dig into why Visual Studio Express 2013 for Windows isn’t working later.

That’s a fairly new version of Visual Studio that has received very little testing on our end.  There is probably a specific setting that we’re missing in our vsix file to allow it to work.

Our vsix file definitely works with the other 2 Visual Studio versions mentioned in our requirements list.

I guess you are right about the backwards compatibility, BUT it was the first thing I was trying to do - to deploy a 8.0 solution from Visual Express 2012 to the WP8.1 device. There was no option to choose for 8.1 device nor 8.1 emulator. That’s why I had to install Visual Studio 2013 trial.

I’ll look into that.

In the meantime, you should be able to deploy your xap file via Microsoft’s “Application Deployment” desktop application.

I had no troubles deploying the hello world app on my 8.1 device - I just connected it with USB and hit “Deploy”.

Hmm, so maybe I installed a different version. I actually installed Visual Express 2013 first and then Windows Phone SDK 8.0 for 8.0 support. And so with that SDK 8.0 I got Visual Express 2012 installed automatically as well - this version I tried and it couldn’t deploy to 8.1. But maybe I should have updated it first, I don’t know. I already removed it to install Visual Studio 2013 trial. Will check it out again.