Windows Phone Software Development Kit (SDK) 7.1 Release Candidate (RC) – “Windows Phone 7 SDK – Visual Studio setup cannot run in compatibility mode. For more information see the ‘Installing’ section in the Visual Studio Readme at “http://go.microsoft.com/fwlink/?LinkId=143397″.”

When you launch the SDK installation from the ‘vm_web2.exe’ file show the following error:

Windows Phone 7 SDK – Visual Studio setup cannot run in compatibility mode. For more information see the ‘Installing’ section in the Visual Studio Readme at http://go.microsoft.com/fwlink/?LinkId=143397.

Solution:

Right-click vw_web2.exe then click Properties
On the Compatibility tab uncheck “Run this program in compatibility mode for”, press Apply then click OK.

Note: if the chebox is disabled press the button “Show settings for all users” in the bottom of the Properties dialog then uncheck “Run this program in compatibility mode for”, press Apply then click OK.

Did my solution solve your problem?

Eclipse – “Invalid file name: must contain only [a-z0-9_.]”

When you rename an image file on the res folder show following error message:

Invalid file name: must contain only [a-z0-9_.]

ie, file name must start with a lowercase letter, then it may contain lowercase/uppercase letters or numbers or underscores or dots.

Select file name on the Package Explorer then
click the right mouse button -> Refactor -> Rename
or

press Alt+Shift+R
and insert valid file name.

Did my solution solve your problem?

Eclipse – “Syntax error on token “…”, invalid VariableDeclaratorId”

When you import an image into your res folder show following error message of type Java Problem:

Syntax error on token “{filename}”, invalid VariableDeclaratorId

because file name is invalid: must contain only [a-z0-9_.]
ie, file name must start with a lowercase letter, then it may contain lowercase/uppercase letters or numbers or underscores or dots.

Select file name on the Package Explorer then
click the right mouse button -> Refactor -> Rename
or

press Alt+Shift+R
and insert valid file name.

Did my solution solve your problem?

mendelson AS2 solution – “@MessageHTTPUploader.performUpload: [SocketException]: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)”

@MessageHTTPUploader.performUpload: [SocketException]: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)

You must insert correct keystore password into
File -> Preferences -> Security -> Keystore password (https send)
then restart the program.

Did my solution solve your problem?

HOW TO Automatically Approve Comments in WordPress Blog

Dashboard -> Settings -> Discussion -> Uncheck the boxed labeled “An administrator must always approve the comment” and “Comment author must have a previously approved comment” in the section “Before a comment appears”

Did my HOW TO help you?

Eclipse – “ERROR/AndroidRuntime(…): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{…}: java.lang.ClassNotFoundException:…”

Verify that in your Manifest file there is activity tag like this

<activity android:name=“.classname”>

and that classname is the name of class that

extends Activity

Did my solution solve your problem?

Eclipse – “invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe”

After Android SDK update, when you try to launch the Emulator from Eclipse show this error message:
[… – Emulator] invalid command-line parameter: FilesAndroidandroid-sdktools/emulator-arm.exe.
[… – Emulator] Hint: use ‘@foo’ to launch a virtual device named ‘foo’.
[… – Emulator] please use -help for more information

Solution:

In Eclipse go to menu Window -> Preferences -> Android
Change SDK Location
from
C:\Program Files\Android\android-sdk
to
C:\PROGRA~1\Android\android-sdk
then click Apply and OK.

Like ahmed said in his comment:
“You have do change the path to the Android SDK to have it without spaces at all.” 😉

Alternative Solution: by Brandon Peters (@cisox):
Create a symlink between the android-sdk folder in C:\Program Files (x86) and C:\AndroidSDK:

Start Command Prompt Window (Start -> Run -> cmd) and execute the following command:

mklink /D C:AndroidSDK “C:\Program Files (x86)\Android\android-sdk”

Did my solution solve your problem?