Error in the flash builder 4.5 when changing visible value in app-xml file - flash-builder

I am using flash builder 4.5 to create an app. when I changer the initial window - visible value in app- xml, I am not able to run the app. I get the following error
"Process terminated unexpectedly.
invalid application descriptor: Illegal value "true
false" for application/initialWindow/visible.
Launch command details: "C:\Program Files\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\bin\adl.exe" -runtime "C:\Program Files\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\runtimes\air\win" "C:\Documents and Settings\preevara\Adobe Flash Builder 4.5\Test\bin-debug\Test-app.xml" "C:\Documents and Settings\preevara\Adobe Flash Builder 4.5\Test\bin-debug" "
why is this error thrown

Just one year later but I've got the same issue and the solution is : check your xx-app.xml, this message appear when you have more than one tag.
I've found this in my app.xml :
<autoOrients>false</autoOrients>
<fullScreen>false</fullScreen>
<visible>false</visible>
</initialWindow>

Related

Failure writing debug information: Unable to load DLL 'Microsoft.DiaSymReader.Native.amd64.dll'

I installed a VS2017, tried to develop a first app in VS2017.
File > New Project > Visual Basic > Windows Desktop > Windows Forms App (.NET Framework)
simply tried to run an app with only one label on form, but build error comes up, I clicked on "Yes" then dialogue box appears (image).
Error Code- BC37225
Error Message- Failure writing debug information: Unable to load DLL <br>'Microsoft.DiaSymReader.Native.amd64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Then searched SO, read and tried solutions, but not worked.
What I tried from SO is-
Error while building C# Console Application: Error CS0041 Cannot find a module
(1) installed Microsoft.NETCore.Platforms (nuget package)
(2) installed Microsoft.DiaSymReader.Native.amd64.dll (nuget package)
(3) Unable to load DLL 'Microsoft.DiaSymReader.Native.amd64.dll
in this, solution is available (accepted answer), but I don't know from where to delete these lines of code.
<PropertyGroup>
<Deterministic> true </Deterministic>
</PropertyGroup>
what could be the solution?
When the build errors dialog comes up it asks if you want to run a previous build because the current build will not compile (won't make a new .exe file) Since this is the first run of your program there was no previous build, no .exe. What you need to resolve are the build errors.

Out of process server in VOIP

I found voip example on github for UWP. Now I'm trying to create my voip app, and I want to use VoipHost project in my app. I added existing project, edited package manifest file. When I want to deploy the app to the device I get error:
Severity Code
Description Project
File Line
Suppression State Error
DEP6701 : Bootstrapping failed with unexpected error: 'The ID value is not specified. Parameter name: id'.
VoipHost
And one warning:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(1930,5): warning APPX1708: The executable 'VoipHost.exe' is specified as the implementation for the .winmd file. Only in-process servers are supported for generating registration information in the app manifest. You must specify the out-of-process server registration information in the app manifest.
Any advices?
Many thanks.
I had a similar issue deploying a headless application with Windows IoT running in a Raspberry pi 3. I solved the problem giving an "Assembly Identity" in the project properties.
You can do that following the next steps: Rigth Click to project --> Properties --> Manifest Tool --> General.
Fill the field "Assembly Identity" with any number. After that compiles, run and works like a charm.

Load Image From File and set into UnityEngine.UI.Image Unity

I try to load image from file and set into UnityEngine.UI.Image. the image is BirdDiedScreenShot.PNG. also define namespace
using System.IO;
But the problem is when i define path of image, Like
byte[] bytes = File.ReadAllBytes (Application.persistentDataPath + "/BirdDiedScreenShot.png");
in Above Code ReadAllBytes() method of File Class is not Work. It Give me Error like
System.IO.File' does not contain a definition forReadAllBytes'
What's the problem i don't Solve. how can i Fix This.? Please Give Me Suggestion to Solve this.. thanks...
This has to do with having "Web Player" selected as target platform.
When you click "File -> BuildSettings" in the Unity editor you see a little Unity icon next to the target platform. Switch to "PC, Mac & Linux Standalone" for example.
If you don't have the "PC, Mac & Linux Standalone" module loaded, check this thread: http://forum.unity3d.com/threads/5-3-released.372567/page-2#post-2414948
By the way, the actual name of the Windows module is called "Windows Build Support".
In the new Download Assistant you can choose which modules to install. (Can be found on Unitys download page http://unity3d.com/get-unity/download?ref=personal)
greetings

depthAndStencil throws Error 103 in application XML

in trying to implement the answer to stage.stage3Ds is empty when debuging on Kindle Fire HD 8.9". I tried adding both renderMode and detailAndStencil to the application xml file but get this error when trying to debug to device.
Error occurred while packaging the application:
D:\Flash\Mobile Test\bin-debug\Main-app.xml(10): error 103: application.initialWindow.depthAndStencil is an unexpected element/attribute
The initialWindow portion of application xml file is below
<initialWindow>
<content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
<renderMode>direct</renderMode>
<depthAndStencil>true</depthAndStencil>
</initialWindow>
It looks like depthAndStencil option is only available with AIR 3.2 onwards.
Looking through the template file that is used to generate the app descriptor file:
[AIR SDK ROOT]\templates\air\descriptor-template.xml
The entry for depthAndStencil first appears in the template file that comes with the AIR 3.2 SDK.
Edit:
Confirmed. See release notes for 3.2 SDK: http://helpx.adobe.com/flash-player/release-note/release-notes-developer-flash-player.html

arm-none-symbianelf-ld throwing "No Such File or Directory" error looking for file [...].GCCE.UREL.objects.via when building project

Im using Carbide C++ 2.3.0 to build a Flash Stub project with S60)5th_Edition_SDK-v1.0 Phone Release (GCCE) set as build configuration. I have installed Perl and JRE and the CSL toolchain (GCCE), and Ive manually updated the Windows PATH variable to point to GCCE/bin.
When I create my project according to - this article and click build I get only the following error message -
#\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\*[name]\*group\*[NAME]*\GCCE\*[name]*_0xECB9C23A.GCCE.UREL.objects.via: No such file: No such file or directory
The console output is -
arm-none-symbianelf-ld: #\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\name\group\NAME\GCCE\name_0xECB9C23A.GCCE.UREL.objects.via: No such file: No such file or directory
make[1]: *** [\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\gcce\urel\name_0xECB9C23A.exe] Error 1
make: *** [TARGETCUEMEMMOB] Error 2
My errors log panel shows that Perlv5.6.1 was not detected (i installed strawberry perl 5.10.1) should this matter?
I have checked that the EPOCROOT is set correctly and navigated in windows explorer to the file that cannot be found and I can see it there.
I cannot find any help with this on the nokia forums.
Yes, it matters.
The recommended perl implementation is ActivePerl 5.6.1, available from activestate.com