I tried to start programming a Windows Phone 7 app with PhoneGap but after copying 'PhoneGapStarter.zip' to the folder described in http://phonegap.com/start#wp and clicking 'PhoneGapStarter" while trying to create a new project in Visual Studio 2010 Express for Windows Phone, instead of creating the project the following error is displayed:
C:\Users\ ...\AppData\Local\Temp\gttg1doh.nd4\Temp\PhoneGapStarter4.csproj(117,3): The imported project "C:\Program Files (x86)\MSBuiId\Microsoft\Silverlight for Phone\v4.0\Microsoft.Siverlight.WindowsPhone71.Overrides.targets" was not found. Confirm that the path in the <Import> declaration is correct and that the file exists on disk.
I checked this file and I saw that the file 'Microsoft.Siverlight.WindowsPhone.Overrides.targets' (without '71') does exist, but the requested one with '71' doesn't.
Does anyone have an idea what I could do to make PhoneGap work?
Thanks in advance
I just checked my own installation but found the mentioned file. My guess would be that you either have not the latest Windows Phone SDK 7.1 (for "Mango"), which is essential for PhoneGap because the previous version doesn't support HTML5 - or your SDK installation is corrupt. Try re-downloading the latest tools, uninstall your current installation and re-install them. That should solve your problem.
Yes , you need the Windows Phone Mango SDK along with PhoneGap templates to get it to work .
You can find some articles on how to use PhoneGap in Windows Phone from the below link
http://windowsphonerocks.com/category/developerarticles/phonegap/
Yap uninstalling and reinstalling the 7.1 update solves this issue; also dont forget to install the January patch too
www.microsoft.com/download/en/details.aspx?id=23854
Related
I have pulled an Appcelerator project from our developer group and unable to publish or run the project on a local Android device.
When trying to publish the below error screen immediately pops up.
Android SDK version 4.1.2 not found.
I have checked both in the Appcelerator platform settings and Android Studio config and have the SDK installed.The install SDK screen in Appcelerator Tried uninstalling/reinstalling Appcli and the SDK to no avail.
After a few days of searching all the appecelerator files in my project. I finally found the fix for my problem (for anyone googling this).
There's a hidden file in the root of the Appcli project called .settings
Inside of settings there's a package called com.appcelerator.titanium.android.core.prefs
There is an android/sdk_version=4.1.2 that was causing all my issues. Hope that helps someone.
Most likely, your issue seems to be with unsupported Android SDK version as per Ti SDK you are using.
So before doing anything, try to grab what this page says to know all about software compatibilities: Titanium Comptability Matrix
It says that minimum Android version as of latest Ti SDK 6.x.x is API 16.
Now, follow these steps carefully to get a fresh start on your system.
First of all, download Android latest SDK from here: Android SDK
Unzip it & put it in at some simple path like in /Users/username/android-sdk
Download Appcelerator Studio (AS) & install it. It will download all pre-requisites like Java, Python
Open Appcelerator Studio & go to Preferences->Studio->Platforms->Android. Select the path of android sdk you unzipped in step 2.
After all these steps, you can open Android SDK Manager (see screenshot where it is) & install necessary SDK, Tools, etc.
Note: I do not suggest to download SDKs via AS as I have faced path issues in beginning.
Even if these steps do not help you, then provide us the log output after running this command on terminal: appc info
If terminal says this command is not found, then you need to go through the AS installation properly.
I had the same issue. Simply deleting all " Android Play Store Distribution" configurations solved my problem.
My Android Designer isn't working in vs2015. I have installed even the latest updates but it isn't working still.
I'm getting the error message in the following picture:
Can anyone help me?
SDK Manager can be ran manually from:
"C:\Program Files (x86)\Android\android-sdk\SDK Manager.exe"
Please also check that you have installed proper SDK - you'll need one of latest - 25 and one of you need (like 17 or so)
The answer is right there. Install an Android SDK, and in Tools > Options > Xamarin > Android, tell it where you installed it.
Is it possible to install WP7 SDK on Windows 8 Release Preview? I tried using standard installation package but keep getting following error:
Installation Requirements:
KB2669191 does not apply, or is blocked by another condition on your
computer. Please see http://go.microsoft.com/fwlink/?LinkId=225649
for more details.
I installed WP7 SDK 7.1 but had some compatibily errors durring the instaa. Right now I can start VS2010 for WP7 but cannot build the solution because of following error:
The target "GetCopyToOutputDirectoryContentProjectItems" does not
exist in the project.
The following link gives the exact steps you need to perform in order to install and run WP7 sdk on windows 8 : WP7 Sdk on Windows 8
For development of XNA/WP7 on Win8:
Install Windows 8, then Visual Studio 2012, then Windows Phone 8 SDK, ensure windows updates are installed (as Nov 2012 had some great App Store updates). Then, port your XNA code across and create a new project to get the DLL references you need. The DLLs will exist in the Silverlight 4 folders but not to worry, it all works once you have WP8 SDK !! The emulator runs great too! This is the process for XNA code into VS2012 that works.
You can get the SDK from here:
https://dev.windowsphone.com/en-us/downloadsdk
NOTE: The XNA games will ONLY work on WP7 devices. You need MonoGame or similar to port to Win8 devices.
You should install WPSDK 7.1 first, before installing 7.1.1 Update. Check the Instructions at the bottom of the page.
see Installing Windows Phone SDK.
Update:
I have used the SDK's 7.1 and 7.1.1 from the above link and they are working fine in Windows 8.
Uninstall Windows Phone 7.1 RC SDK, then install 7.1 RTW SDK, and then the 7.1.1 SDK.
And every thing will be alright
this link for 7.1 RTW
and this for 7.1.1
Good Luck :)
This article finally did the trick. Hopefully posting it here will save someone from the nigh terrors ive been experiencing lol. The work around involves installing the xbox live marketplace and then installing the wp7 sdk and XNA will install normally.
http://windowsteamblog.com/windows_phone/b/wpdev/archive/2012/03/05/windows-8-and-the-windows-phone-sdk.aspx
this will get the warning error to go away. To fix the emulator problem you mus download the windows phone sdk 7.1.1 which is an update to the 7.1 sdk you were having problems installing
The error 'GetCopyToOutputDirectoryContentProjectItems' has been known to come from Silverlight, therefore I recommend you try to reinstall the Silverlight SDK on your machine.
Source: GetCopyToOutputDirectoryContentProjectItems
Please go ahead and install windows 8 RTM now, after you install RTM ,Install Visual Studio 2012 and then WIndows Phone 8 SDK.now with this SDK , YOU CAN WORK ON WP7
as well as WP8
you can install sdk update 7.1.1 if you didn't.. It solved the problem for me
Download Windows Phone SDK 7.1.1 Update
This article solve my problem:
http://blogs.msdn.com/b/astebner/archive/2012/02/29/10274694.aspx
Basically was necessary install: Games for Windows – LIVE Redistributable from http://www.xbox.com/en-US/LIVE/PC/DownloadClient, after everthing works :)
I am facing this problem with only Windows Phone solutions. My old solution for a pc game, works fine. Can anyone help me what is the issue?
Till now, I have tried to reinstall windows phone tools. Source code is downloaded from MSDN's official XNA tutorial page. I checked GAC too, and libraries for PC version are already there. But, libraries for XBox and Phone version are not there at all (like XNA.Framework.Avatar, XNA.Framework.Touch). I am unable to figure out, why this is happening, considering I used MS's default installer for phone tools. All the dlls exist in ProgramFiles/XNA/v4.0 folder, but somehow they are not registered to GAC.
Ok, reinstalled XNA 4.0 and phone tools, same issue. It is just not registering the assemblies at all. What to do?
I had this problem before.
Try installing the "Games for Windows" component
http://www.microsoft.com/en-us/download/details.aspx?id=5549
Then install XNA again.
It worked for me.
All the solutions posted here on stack overflow dont seem to suit my situation. I am using visual studio. How do I fix this error while not ruining the setup for monotouch? Monotouch docs say explicity that I should not at all start the image but monodroid will do it.
I am using mono for the android with visual studio. and soon will be using monotouch for IPhone
When you get the Invalid command-line option: Files, you should do the following (just fixed it on my machine):
Uninstall the Android SDK (if you have downloaded images, make a backup copy of the installation folder first)
Install the Android SDK again, but make sure you install it to a path that does not contain spaces. C:\Android will work fine.
After installation has finished, copy the backup copy over the newly installed version. Then you will keep your downloaded system images.
This apparently occurs because the Android SDK has a bug in the latest version when it comes to folders with spaces in them. Weird.