How to solve Android Studio after Generate signed apk error : Error:(449) Error: Found byte-order-mark in the middle of a file [ByteOrderMark] - apk

I try to Generate signed apk
but error
Error:(449) Error: Found byte-order-mark in the middle of a file [ByteOrderMark]
how to solve?
I refer to link
Android Studio writing BOM's to UTF-8 file
How to fix "Byte-Order Mark found in UTF-8 File" validation warning
but I cant solve problem.
becuz I dont understand
plz your comment

Please check if you have a space between android:name= and " " and change
<uses-permission android:name= "android.permission.x" />
to
<uses-permission android:name="android.permission.x" />

Related

Microsoft Multilingual illegal characters in path on build

I am trying to install the Visual Studio 2017 extension Multiligual App ToolKit 4.0. everything installed correctly and i managed to get some translation but when ever i go to build my app i get this error
Description:
"illegal Characters in path."
File:
"Microsoft.Multilingual.ResxResources.targets"
Line: 32
this is line 32:
<MultilingualBuild
ContinueOnError="ErrorAndContinue"
AppName="$(MSBuildProjectName)"
ProjectPath="$(MSBuildProjectFullPath)"
SourceCulture="$(DefaultLanguage)"
EmbeddedResource="#(EmbeddedResource);#(Content)"
XliffResource="#(XliffResource)"
None="#(None)"
BuildServerInfo="$(TeamFoundationServerUrl)"
CachePath="$(IntermediateOutputPath)"
HasSharedItems="$(HasSharedItems)"
MSBuildAllProjects="$(MSBuildAllProjects)"
TranslationReport="$(TranslationReport)"
SuppressPseudoWarning="$(SuppressPseudoWarning)"
/>
it is within this node
<Target Name="MultilingualAppToolkit" BeforeTargets="PrepareForBuild" Condition="'$(IsCrossTargetingBuild)' != 'true' AND '$(IsWpfTempProject)' != 'true' ">
has anyone had this problem before or know where/how i can start to debug?
Thanks
i have fixed this by removing the Xamarin.LiveReload Nuget package.

A sealed resource is missing or invalid

I'm trying to deploy my game made with Unity on Mac Store, but got this error during the validation process. I don't know how to correct. Do you have any ideas please ?
Invalid Signature - The main app bundle Kissoro at path Kissoro.app
has following signing error(s):
--prepared:/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app/Contents/Frameworks/libcrypto.dylib
--validated:/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app/Contents/Frameworks/libcrypto.dylib
--prepared:/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app/Contents/Frameworks/libssl.dylib
--validated:/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app/Contents/Frameworks/libssl.dylib
--prepared:/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app/Contents/Frameworks/Mono/MonoEmbedRuntime/osx/libmono.0.dylib
--validated:/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app/Contents/Frameworks/Mono/MonoEmbedRuntime/osx/libmono.0.dylib
--prepared:/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app/Contents/Frameworks/Mono/MonoEmbedRuntime/osx/libMonoPosixHelper.dylib
--validated:/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app/Contents/Frameworks/Mono/MonoEmbedRuntime/osx/libMonoPosixHelper.dylib
/Volumes/data01/app_data/dstr/mz_8224354388357841556dir/mz_8662652241696651587dir/com.masseka.game.studio.Kissoro.pkg/Payload/Kissoro.app:
a sealed resource is missing or invalid . Refer to the Code Signing
and Application Sandboxing Guide at
http://developer.apple.com/library/mac/#documentation/Security/Conceptual/CodeSigningGuide/AboutCS/AboutCS.html
and Technical Note 2206 at
https://developer.apple.com/library/mac/technotes/tn2206/_index.html
for more information.
All you have to do is to manually codesign every file in Contents/Frameworks and Contents/Plugins directories inside .app file and to delete all .meta files inside your plugin. After U do these steps, You codesigned once more the whole .app file and create a package which You can uploaded on iTunes Connect without warning mentioned above.
More info: https://forum.unity.com/threads/signing-mac-app-on-os-x-mavericks.206762/

Open a web page inside an Windows app with Cordova?

I'm trying to use this solution to open web page inside may Cordova Windows application by changing:
<content src="index.html" />
with
<content src="http://http://192.168.8.33:8080/war/index.htm" />
but for for some reason I get this big error in compilation:
Platform : anycpu
C:\windowsProject\test1\platforms\windows\build\windows80\debug\anycpu\AppxMani
fest.xml(24,41): error APPX1404: File content does not conform to specified sch
ema. The 'StartPage' attribute is invalid - The value 'www/http://192.168.8.33:
8080/war/index.html' is invalid according to its datatype 'http://schema
s.microsoft.com/appx/2010/manifest:ST_FileName' - The Pattern constraint failed
. [C:\windowsProject\test1\platforms\windows\CordovaApp.Windows80.jsproj]
I'm using Cordova 4.3.0 and my target paltform is Windows

Embed manifest to exe failing with argument invalid

I want to add a manifest to .exe file so it stops asking users to run as administrator in Windows 7.
I followed this tutorial which seems to do exactly what I want to accomplish except I get this error when I do the same and I cannot find a solution for it:
mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file "C:\install.exe". The parameter is incorrect.
this is the command I used:
mt.exe –manifest C:\install.exe.manifest -outputresource:C:\install.exe;1
Any help would be really appreciated, thank you.
This is how I solved this problem, it was actually a syntax issue:
mt.exe –manifest "C:\install.exe.manifest" -outputresource:"C:\install.exe;#1"
There is an even better solution is to edit the .exe directly using visual studio.

VS2010 "Could not write lines to file".........."Network path not found"

does anybody know what this error in VS2010 means (i did try google but not much came up for this case on ATI stream)
Error 9 error MSB3491: Could not write lines to file "\\samples\\opencl\\bin\\debug\\x86_64\\MatrixMulDoubleVS10.exe.embed.manifest". The network path was not found. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 673
Im trying to run the ATI Stream SDK examples
modify \MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets
<!--<WriteLinesToFile
Condition="!EXISTS('$(InputManifest)')"
File="$(InputManifest)"
Lines=""
Overwrite="false"
Encoding ="Unicode"
/>-->
<WriteLinesToFile
Condition="!EXISTS('%(Manifest.OutputManifestFile)')"
File="%(Manifest.OutputManifestFile)"
Lines=""
Overwrite="false"
Encoding ="Unicode"
/>
Leaving the drive qualifier off the output and intermediate directory paths can cause this problem.
I had a same error in my downloaded sample which was from VC6++. There were errors because output directory and intermediate directory were not given properly. I corrected them and problem was solved.

Resources