What should I do if I get activation error on Xbox UWP app and there is nothing useful in the error message? - c++

I got xbox system update push recently on dev mode. My program winrtcpp program stops working, while other c++/cx program does still run on the xbox. In the meantime, I did not change my code or relevant dependencies. And the program is running correctly on PC.
Is there a general strategy for solving this kind of windows app activation problem.
Error message:
"unable to activate Windows.Store.app...The process started, but the activation request failed with error 'The app didn't start.'"

https://learn.microsoft.com/en-us/windows/uwp/xbox-apps/frequently-asked-questions
Why aren't my games and apps working?
If your games and apps aren't working, or if you don't have access to the store or to Live services, you are probably running in Developer Mode. To figure out which mode you're currently in, press the Home button on your controller. If this takes you to Dev Home instead of the retail Home experience, you're in Developer Mode. If you want to play games, you can open Dev Home and switch back to Retail Mode by using the Leave developer mode button.

Related

expo dev client application doesn't open

I'm trying to use expo-dev-client to add react-native-sms-retriever library to my project because expo doesn't have a library that supports reading sms messages. In expo documentation, it's suggested that I should use expo-dev-client to add custom native code. You can see the documentation here: https://docs.expo.dev/workflow/customizing/#developing-apps-with-custom-native-code
I followed all of the steps in starting guide for expo-dev-client. https://docs.expo.dev/clients/getting-started/
But when I start my app using "expo start --dev-client" and run on android, a white screen is shown for a second and then I'm redirected to expo go application page.
in console, the following 2 lines are written:
› Opening on Android...
› Opening com.droppgroup.masterclean://expo-development-client/?url=http%3A%2F%2F127.0.0.1%3A8081 on LDN_L21
I tried this on real device and 2 other emulators but I got the same result. I reinstalled expo go application and it still doesn't work.
Any suggestions on what I can do to make this work?
The issue may be a problem with Expo config plugins, which configure native code for an Expo project, by configuring Info.plist for example. I am currently experiencing a similar issue, though after scanning the QR code, I am directed to a black screen in my Expo Dev Client which crashes and takes me back to the home page. The Dev Client worked perfected until I ran expo add react-native-bluetooth-classic, since I am trying to access iOS bluetooth APIs. I am currently working on this issue, but I just wanted to point you in the direction of config plugins since the examples Expo gives for customizing your runtime have config plugins registred in the "plugins" property of app.json.
It may be necessary to create your own plugin, though I am unsure.
Please let me know if you come up with any fixes, and so will I.

Run chrome in device mode without activating debugger

I'm using VS Code to develop an Ionic 2 app and using it's chrome debugging extension to step through the code within VS Code. Being an Ionic app, I primarily want to run it in device mode to simulate mobile device, but when I open the Dev Tools window Chrome's internal debugger automatically connects and breaks the connection with VS Code. It's really annoying that those two functions are connected with each other. Regardless, is there a way to work around this?
According to this VS forum post, https://developercommunity.visualstudio.com/content/problem/2828/vs-2017-rc1-cant-disable-chrome-debugging-support.html, "It looks like they added an option in Debugging > General called Enable Javascript debugging for ASP.NET (Chrome and IE) to disable this. I think this report can be closed."
Disclamer: I copied that quote from the forum post and have no intention of plagirism.

developer tools does not loads resources

When I run my ionic project to my mobile it was working good, and when I open developer tools it's fine.
I could able to view all console statement in my developer tool window, now when I run it again app runs well in the browser and in my mobile , I am not able to see any console statement.
What I get is
device ready has not fired after 5 seconds.
cordova.js:1223
Failed to load resource
file:///android_asset/www/build/index.js.map
could someone help me to view my console statements
This should be fixed in cordova-android 6.1.0. It has not been added to the npm-registry yet, so you can use it by placing this to your config.xml:
<engine name="android" spec="https://github.com/apache/cordova-android.git#6.1.0"/>

Chartboost sample app not showing Ads

I am trying to integrate a tool Chartboost into our game.
We are using following tools for development.
Xcode 5.0.2.
Latest ChartBoost Library.
Deployment target being iOS 6.1.
Base SDK being iOS 7.0.
Game Engine Cocos2d-x ( C++ ).
In order to use ChartBoost I followed these steps.
Created an account at Chartboost.
Added an app
Platform: iOS
Nick Name: Added
-Test Mode: Enabled
and Its showing the App Id and App signature.
Added a Campaign.
-Its On.
-CampaignStart and End are blank, so it will be effective as soon as possible.
-Filter By Bundle verion is Min 1.0 and Max blank .(already tried by keeping both blank.)
-Selected the App I added ,as the app where this campaign will run.
-Campaign Logic: Added test device with UUID.
-Rest of the options are untouched.
For test purpose I downloaded and used the sample iOS project provided at ChartBoost site. I replaced the App Id and App signature with my App's ID and Signature.On running the app, it does not display any ads. It logs messages like :
-failure to load interstitial at location Default
-failure to load interstitial at location Pause screen
-failure to load more apps
-failure to load interstitial at location After level 1
I am not able to conclude what wrong I have done! Please help on this issue.
PS:
1. I have already received a mail from ChartBoost mentioning I have successfully integrated the SDK, and in front of added app , the SDK and Frame icons are lit(green), which essentially shows , I have integrated the SDK correctly.
2.Our game is still under development and as we are using the Cocos2d-x which is c++ Game engine ,so we will be using some wrapper to call the ChartBoost library. Once we get the idea how it works on native platform.
In Chartboost sometimes it happens that you have set in the Chartboost dashboard that your game is in "Landscape" mode for example.
While your game is actually running in portrait mode.
In such cases you will get these errors.
Make both these same. Either change in the Chartboost dashboard for your app or change in the game's project file :)

SL Out of browser app - SecurityException

My SL5 out-of-browser application works on one computer, but not on another computer.
On both computers the application is built in, and started from, VS2012 running as Administrator.
The SecurityException occurs here:
Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)
A possibly related issue: On the computer that throws the exception, the app runs in the default browser, while on the other computer the app runs out-of-browser.
Any insights will be appreciated...
The related issue is spot on: you can't access local folders with a standard Silverlight in browser app, but you can with an OOB one.
So you have either to restrict your functionality to Out-of-Browser mode or enable elevated priviledges in browser (which is quite painful, see various questions on SO: search results).