I have been running a blank app template app on Watch OS 2.0 and put debug break points in the interfaceController and it appears that it is not working ?
You have to select the correct scheme. Otherwise you are debugging the container app.
After installing the Multi-Device Hybrid Apps (Preview) for Visual Studio CTP2 Extension in Visual Studio 2013 on Windows 7 x64, I am unable to launch a new Multi-Device Hybrid App in Ripple.
Details:
When Installing the Extension I chose not to install Chrome as it was already installed
Opening the solution displays an error message We've detected issues with your system's environment configuration along with Google Chrome - The software is missing from your system. You may have to configure it after installation. A link to the instructions is provided.
On the instruction page the link for chrome is simply to the chrome install page
Chrome is already installed in C:\Users\username\AppData\Local\Google\Chrome\Application\chrome.exe
Attempting to launch the application with the Ripple - Nexus (Galaxy) setting causes the error Chrome must be installed in order to launch the app in Ripple
I am able to launch the app on both the Android emulator and an Android device
What changes do I need to make to my configuration for the project to launch Chrome?
You are seeing this issue because it is currently hard-coded to look for Chrome in
%PROGRAMFILES%\Google\Chrome\Application\chrome.exe
but you have it installed in your Users folder.
To workaround this, please re-install Chrome to your %Program Files% folder.
If i check the capability "Shared Used Certificates" in the Windows Phone 8.1 application manifest i get the following error:
Error : DEP0001 : Unexpected Error: Package could not be registered.
(Exception from HRESULT: 0x80073CF6)
Manifest
<Capability Name="sharedUserCertificates" />
I am trying to deploy to a Nokia Lumia Icon with Windows Phone 8.1 developer preview.
Any idea what i am doing wrong or what prereq is not met?
I was able to deploy my app to the emulator, but not to a real device. I got the same error. I asked my contacts at the Phone Team and they said this is a bug and will be fixed with the post RTM updates. It should definitely be possible to sideload apps using the 'sharedUserCertificates' to real devices for normal app developers.
Getting such an app deployed through the Store may be restricted, though. This scenario is primarily meant for enterprise apps, deployed within enterprises.
I wrote a blog post about this.
If I set my phone to install apps to the phone it works just fine. If I switch it back then I get the error.
It has something to do with SD cards!! Not the SD cards per-se , but the mech The only thing different was I installed a new SD card this weekend to my Lumia 1520 with Developer Unlock. I am running VS 2013 Update 4 and have a StandAlone Phone application using a Windows 8.1 shared app class. It was working before and now its not. same error as MAGNUS
With save apps to SD CARD setting in storage sense set
If you use verbose build output it eventually says:
2>Follow the phone setting 2>Phone setting says apps to be installed
to SD card 2>layout root folder:
D:\WPSystem\SharedData\PhoneTools\AppxLayouts
With save apps to PHONE card setting in storage sense
If you use verbose build output it eventually says:
2>Follow the phone setting 2>Phone setting says apps to be installed
to internal storage 2>layout root folder:
C:\Data\SharedData\PhoneTools\AppxLayouts
search your Detailed or "verbose" build output for the term "Phone setting says"
That will get you close. Good luck.
I can confirm that VS 2013 Update 4 causes the error:
Error : DEP0001 : Unexpected Error: Package could not be registered.
(Exception from HRESULT: 0x80073CF6)
My application was deploying to the phone fine before the update, and started failing immediately after the update. Modifying settings:
Settings/Storage Sense/Store New apps on my: phone
Solved the problem. Thanks Matt for the tip, saved me alot of time.
Try to uninstall current application in your phone, and run agian.
For me its solved
This problem can be related to re-use of the same app template on Windows Phone (does not affect Windows desktop apps). In the Windows Phone section of the solution explorer, find your app manifest file (Package.appxmanifest), and review the following line near the top of the file (#'s in this example are representative, not actual):
<mp:PhoneIdentity PhoneProductId="12345678-1234-1234-1234-123456789ABC" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
If you have re-used the same app template, then the PhoneProductId number must be different from one iteration to the next. I suggest simply iterating the last digit in the string (e.g., change 1 to 2, or 2 to 3, etc....). Once you make certain all your Windows Phone apps have individualized values in this field, you should be able to deploy them all independently.
It could also be a missing image in the Package.appxmanifest. Check the visual assets tab in this file (VisualElements in XML) to see if there is some logo missing.
I changed package name in Package.appxmanifest file. So I had to Uninstall app and Re Installation helped me.
I have now followed all the Blackberry documention found here and here. Yet some how I keep getting the following error:
[BUILD] Populating application source
[BUILD] Parsing config.xml
[BUILD] Generating output files
[WARN] Failed to find debug token. If you have an existing debug token, please copy it to %HOME%/.cordova/blackberry10debugtoken.bar. To generate a new debug token, execute the 'run' command.
[WARN] Failed to find debug token. If you have an existing debug token, please copy it to %HOME%/.cordova/blackberry10debugtoken.bar. To generate a new debug token, execute the 'run' command.
I have created the bar using this link here (which wasn't even specified in the links above) Please can anyone explain this or point to a tutorial the gets one up and running to a hello world app for blackberry WebWorks as the Blackberry links really don't help
I've not been able to find useful instructions either, however I have the native SDK installed alongside the Momentics IDE and it has a wizard that created all the necessary for me:
Create a new BB10 project
Right click on the project root node in the Project Explorer
Open BlackBerry Tools and then Configure Targets
A wizard will start allowing you to create the CSK and BAR files, and also deploy them to your devices if there is no CSK in C:\USERS[User]\AppData\Local\Research In Motion
If the CSK already exists in the path above you'll be able to create and install Debug Tokens with your existing CSK.
After you've created the token I had to copy it to C:\Users[User].cordova and rename it to blackberry10debugtoken.bar to get the build in the WebWorks UI to work.
However, though I've now got an installed DebugToken on my simulator, and the Webworks UI happily builds the project, the Build and Install action fails with an error message as follows:
fs.js:418
binding.open(pathModule._makeLong(path),
^
TypeError: path must be a string
at Object.fs.open (fs.js:418:11)
at Object.fs.readFile (fs.js:206:6)
at _self.findConnectedSimulator (D:\WebWorks\HelloWorld\platforms\blackberry10\cordova\lib\target-utils.js:190:12)
at Object.async.series.ip (D:\WebWorks\HelloWorld\platforms\blackberry10\cordova\lib\run-utils.js:48:17)
at D:\WebWorks\HelloWorld\platforms\blackberry10\cordova\node_modules\async\lib\async.js:561:25
at iterate (D:\WebWorks\HelloWorld\platforms\blackberry10\cordova\node_modules\async\lib\async.js:131:13)
at Object.async.eachSeries (D:\WebWorks\HelloWorld\platforms\blackberry10\cordova\node_modules\async\lib\async.js:147:9)
at Object.async.series (D:\WebWorks\HelloWorld\platforms\blackberry10\cordova\node_modules\async\lib\async.js:560:19)
at Object.getTargetName (D:\WebWorks\HelloWorld\platforms\blackberry10\cordova\lib\run-utils.js:45:15)
at fn (D:\WebWorks\HelloWorld\platforms\blackberry10\cordova\node_modules\async\lib\async.js:579:34)
I'd be grateful for anyone who is able to further my discovery and make the WebWorks UI work without having to install Momentics & the native SDK, or to get the deployment to the simulator working...
I have WebStorm successfully launching my app when I hit debug. It runs the app in chrome and Chrome tells me that that tab is in debug mode.
But it will not break on any breakpoint. I am using Ext JS and in the root app.js I have a breakpoint on the launch: function (which is being called) and that does not drop me into the debugger.
Does the WebStorm debugger not work with Ext JS?
I have the same situation as yours, except that I'm building my app using Backbone.js and RequireJs and the app is running on localhost. My app can run in debug mode in Chrome but the breakpoints cannot be hit.
I solve the problem by mapping the Remote URL and my local directory. You can define this in your JavaScript debug configuration profile in the Run->Edit Configurations.
You can refer to this wonderful tutorial: Debugging your JavaScript app using WebStorm.
Happy debugging!