2014年3月13日 星期四

How to change Windows Server 2012 product key

To change the Product Key in Windows Server 2012 do the following.

1. Press the windows key + R to bring up the run box.
2. Type "slui.exe 0x3" in the run box and click ok
3. Type in the new product key in the Windows Activation window and click "Activate".

2014年3月10日 星期一

Android - There is no android project named

You are trying to run your Library Project, if the project is not library

Right Click on the Project >> Properties >> Android >> In the right Panel Scroll down >> Uncheck isLibrary

android - "appcompat_v7" project is created automaticaly after

It's a support library which presumably your project refers to. You will need to build it as a library project in your workspace. This process is described here Support Library Setup under Adding libraries with resources.

You will find the project you need to copy in your SDK in the folder:

\yourSDKlocation\tools\android-sdk-windows4.4\extras\android\support\v7\appcompat

(It's no use just copying a jar, you must build it as a library project.)

2014年3月9日 星期日

iOS-解决"A valid provisioning profile for this executable was not found"

彈出了"A valid provisioning profile for this executable was not found",即可執行 provisioning profile 沒有被找到。

解決方式是:

1、先檢查你的 provisioning profile 是否導入成功

 Organizer ——> Devices ——> 選中運行的真機 ——> provisioning profiles 查看

(我一般會這樣做:先刪除該機的所有的provisioning profiles,然後再選中該機,右鍵 Add device to provisioning portal 

2、檢查 Project Target 中的 Code Signing Identity 是否設置一樣

cannot find SDK (Could not find WindowsSDKDir variable from the registry)

你可嘗試rebuild一次.