Getting error when trying to run app on android device using ionic run android.
"could not create the java virtual machine".
Solution :
Create gradle.properties file in this location C:\Users\username\.gradle
and add a line org.gradle.jvmargs=-Xmx1024m -XX:MaxPermSize=256m in the file.
Now try again.It should work.
Thursday, July 7, 2016
Monday, May 23, 2016
Visual Studio 2015 Cordova Project Debug issue
Unable to dubug the cordova project in Visual studio 2015.
To resolve follow below steps
To resolve follow below steps
- Close all VS instances
- cd %appdata%\Local\Microsoft\Phone Tools” (C:\Users\{UserName}\appdata\Local\Microsoft\Phone Tools )
- rename CoreCon folder
- Launch VS again.
Friday, May 9, 2014
How to "Project My Screen" in Windows Phone 8.1 to a Windows PC
Below is the link to troubleshoot the Project My screen in windows Phone 8.1
http://www.eightforums.com/tutorials/45102-windows-phone-8-1-project-my-screen-pc.html
If you have not already, you will need to download and install the Project My Screen App(ProjectMyScreenApp.msi) from the Microsoft Download Center below on your Windows 7, Windows 8, or Windows 8.1 PC.
2. On your PC, run the Project My Screen App. It will run in full screen mode by default, but you can press the F or Alt+Enter keys to toggle between full screen and windowed mode.
3. Connect your Windows Phone 8.1 to the PC using a USB cable. For example, your phone's included USB charging cable.
NOTE: If this is the first time you connected your phone to the PC, then Windows will automatically install drivers for the phone.
4. When prompted for permission on your phone, tap on yes. (see screenshot below)
5. Your phone's screen should now be projecting on the PC in the Project My Screen App. (see screenshot below)

Tip
Note
6. When finished, you can just unplug your phone, and close the Project my Screen app (ALT+F4 or ESC + close (X)) if you like.
http://www.eightforums.com/tutorials/45102-windows-phone-8-1-project-my-screen-pc.html
If you have not already, you will need to download and install the Project My Screen App(ProjectMyScreenApp.msi) from the Microsoft Download Center below on your Windows 7, Windows 8, or Windows 8.1 PC.
2. On your PC, run the Project My Screen App. It will run in full screen mode by default, but you can press the F or Alt+Enter keys to toggle between full screen and windowed mode.
3. Connect your Windows Phone 8.1 to the PC using a USB cable. For example, your phone's included USB charging cable.
NOTE: If this is the first time you connected your phone to the PC, then Windows will automatically install drivers for the phone.
4. When prompted for permission on your phone, tap on yes. (see screenshot below)
5. Your phone's screen should now be projecting on the PC in the Project My Screen App. (see screenshot below)
If you like, you may also wish to turn on or off showing the touch dot, and change the color of the touch dot.
How to Turn On or Off Project My Screen Touch Dot in Windows Phone 8.1
How to Turn On or Off Project My Screen Touch Dot in Windows Phone 8.1
If phone screen is not projecting on PC:
If you don’t get a prompt on your phone (step 4), and the Project My Screen App remains blank (step 5), then you may have old phone drivers still installed on the PC that need to be uninstalled first.

If you don’t get a prompt on your phone (step 4), and the Project My Screen App remains blank (step 5), then you may have old phone drivers still installed on the PC that need to be uninstalled first.
- Open the WIN+X menu, and click/tap on Device Manager.
- Right click on each device (one at a time) for your phone like below, and click/tap onUninstall.
- In the Confirm Device Uninstall dialog, check the Delete the driver software for this device box if available, and click/tap on OK.
- When finished uninstalling all devices and drivers for your phone, unplug your phone, and repeat step 3 above.
6. When finished, you can just unplug your phone, and close the Project my Screen app (ALT+F4 or ESC + close (X)) if you like.
Wednesday, October 23, 2013
Titanium Invalid --ios-version value '5.0'
This can happen if you have either installed two different versions of Xcode in different locations in the past or chosen to install Xcode in a location that is different from the standard location.
First check the path where its pointing by below command
xcode-select -print-path
if this command gives any error like the below one then you need to set the path.
xcode-select: Error: Selected Xcode path (Xcode.app/Contents/Developer) is not a valid directory. Run xcode-select -switch to set the path to the Xcode folder.
To set the xcode path for titanium.
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/
Now Restart the Titanium
First check the path where its pointing by below command
xcode-select -print-path
if this command gives any error like the below one then you need to set the path.
xcode-select: Error: Selected Xcode path (Xcode.app/Contents/Developer) is not a valid directory. Run xcode-select -switch
To set the xcode path for titanium.
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/
Now Restart the Titanium
Tuesday, October 30, 2012
Subscribe to:
Posts (Atom)