Error in Phone Gap Installation on windows 7 - android

I am newbie on Phonegap, I am installing phonegap on my laptop which is having Windows 7 os installed I want to install it for android.
I have installed JRE 7 also jdk1.7.0_25 and Ant also.
I done with changes in Windows Script Host also (WSH).
Also I had set the all environment variables also.
I am following this link but when I try to create a new project it is giving me
'cscript' is not recognized as an internal or external command,
operable program or batch file.
Please help me. and if you need any screen shot or anything pleas ask me i can provide.

You might want to check out my blogpost "A guide to PhoneGap on Windows" about this.
The tools below are at least required for PhoneGap 2.9.0.
Android SDK tools
Java JDK 6 or 7
Integrated Development Environment (IDE): Eclipse and Eclipse Plugin OR Android Studio (still Beta!)
Cordova PhoneGap
The tools below are at least required for PhoneGap 3.0.0.
Android SDK tools
Java JDK 6 or 7
Integrated Development Environment (IDE): Eclipse and Eclipse Plugin OR Android Studio (still Beta!)
Apache Ant
GitHub
Node.js
Cordova PhoneGap
Hope it will work out for you.

Related

Problem occuring when trying to install Android Studio

When I'm trying to install android studio on my 32 bit Windows 10 computer, it says that an error occurred while trying to compute required packages. What should I do?
Solution:
Download the Java SE Developement Kit (Directdownload for 32Bit) and install it.
After that you can access Android Studio on it's site choosing the No .exe installer version:
Extract it and go into the bin folder and execute studio.exe (this is for 32bit).
PS: The studio64.exe is ONLY recommend for 64bit machines.
This will work! I bet you have installed the wrong Android Studio Version. So uninstall your current Android studio and follow the steps above. Cheers.

How do I install the Android SDK into Netbeans 8.0

I have netbeans 8.0 installed and I have the android SDK file downloaded. How do I exactly install the android SDK? I don't see a .exe file or anything like that? Can someone please help me, this is really frustrating.
Netbeans is also a good environment for android developement, you can refer this link for setting android sdk into netbeans :
https://forums.netbeans.org/topic51543.html
On a 14.10 Utopic Ubuntu amd64 desktop I had to place the following export in ~/.profile
export ANDROID_HOME=/home/username/adt/sdk
Netbeans 8 didn't see the environment variable in the ~/.bashrc, but after exporting it in ~/.profile, Netbeans found the SDK.
Be sure to replace the username and use your local adt install path.

Android NDT in eclipse

I am trying to build an Android development environment on my PC. But I'm encountering some problems, and desperately need help. Operating System: Windows 7 (64 bit)
Installed component:
Version: Kepler Service Release 2
I've tried to install the Android Native Development Tools but the following error message
appaer on then screen:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Native Development Tools
22.6.0.v201403010043-1049357 (com.android.ide.eclipse.ndk.feature.
group 22.6.0.v201403010043-1049357)
Missing requirement: Android Native Development Tools
22.6.0.v201403010043-1049357 (com.android.ide.eclipse.ndk.feature.group
22.6.0.v201403010043-1049357) requires 'org.eclipse.cdt.feature.group 0.0.0'
but it could not be found
please can somebody help me solve this problem? Thanks.
Similar solution for eclipse indigo worked for me:
Installing ADT on Eclipse
Try using the same method.

Does phonegap 3.0 can be use on Windows 8 to build an Android app?

Phonegap 3.0 come with a lot of changes like the new command-line interface (CLI). The (doc)
mention that the CLI support the following combinations:
iOS (Mac)
Android (Mac, Linux)
BlackBerry 10 (Mac, Linux, Windows)
Windows Phone 7 (Windows)
Windows Phone 8 (Windows)
Does that mean that I can't build anymore Phonegap app for Android on my Windows 8 pc?
Thanks a lot
Etienne
Unfortunately you are correct. As you can see in the new CLI Documentation, if you're going to build locally you can only develop Windows Phone7/8 and BlackBerry 10 from a Windows PC. My suggestion would be to build your app for one of those platforms your OS currently supports, then when it comes time to deploy to Android either use the PhoneGap Build service to create Android version, or build a virtual Linux machine through VirtualBox to create your Android version if you really want to keep it local.
I thing you can build it localy without a problem. You need to download android studio from google. Here is what you have to do:
download Android SDK from here: http://developer.android.com/sdk/index.html
download Android studio from here: http://developer.android.com/sdk/installing/studio.html
You have to install also node, JDK and if you wnat ant.
From Android studio actualy you can build signed apk very easy.
If you need more details conact me i will give you exact steps.

Titanium appcelerator studio Installation issue

I am facing problem with Installation of Titanium Studio.
I have set up all the required Environment Variable's
This is my JAVA_HOME variable C:\Program Files (x86)\Java\jdk1.7.0_25;
This is mt Path Variable C:\Development\android-sdk-windows;C:\Development\android-sdk-windows\platform-tools;C:\Development\android-sdk-windows\tools;C:\Program Files (x86)\Java\jdk1.7.0_25;C:\Program Files (x86)\WinAnt\bin;D:\Android SDK\android-sdk_r16-windows\android-sdk-windows\tools;C:\Development\phonegap-2.9.0\lib\android;
I have installed jdk1.7.0_25 and JRE 7.
Also I have given my path of Android SDK D:\adt-bundle-windows-x86_64-20130219\sdk, at Android SDK home variable.
But now when i try to connect Android sdk with Titanium Studio it is just showing me Installing Android and nothing is happening.
When i try to Run an Application it gives me an Error It Appears that you do not have android SDK installed in your system please follow the instructions at the Dashboard to configure SDK
I have followed same but not finding solution, Please help me.
Thanks in advance.
Always have a good look at titanium compatibility matrix.Jdk 1.7 is not compatible until now only 1.6 is suitable for android
http://docs.appcelerator.com/titanium/3.0/#!/guide/Titanium_Compatibility_Matrix-section-29004837_TitaniumCompatibilityMatrix-JavaDevelopmentKit
Thanks
From Documentation
The 32-bit version of the JDK is required regardless of whether Titanium is running on a 32-bit or 64-bit Windows system.
On Windows, Studio contains its own JRE, meaning you do not need to install the JDK before installing or launching Studio but will need it
to use the Titanium SDK.
Titanium Studio prompts you to install the JDK when installing the Android SDK from the Dashboard on Windows.
Try to install 32 bit java in your system.
Please refer Compatibility and Download

Categories

Resources