Cannot create Android project in VS2015 on Windows 7 - android

When I create a new Android project on Visual Studio 2015 on Windows 7 (by Xamarin), I run into this error:
Object reference not set to an instance of an object.
Options->Xamarin->Android Settings are OK: JDK, Android SDK and NDK locations are correctly checked.

I think u haven't Java drive in your computer. U have to download jdk and install or if u r have jdk (Java) enter in google how to set jdk to windows

Its the Xamarin error don't look after that you complete your code and use debug for the code it will run.

AFAIK Android need jdk 1.7, not 1.8
http://developer.android.com/sdk/index.html#Requirements

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.

Cannot Create Android Project using Android Studio

I am using Android Studio downloaded from the Android website.
I downloaded android-studio-bundle-162.4069837-windows from https://developer.android.com/studio/index.html
When I go to Open->New Project I do not see the option to create a New Android project.
Thanks
You have installed the Android Studio, but you didn't installed the Android SDK & other tools. First install the Android SDK & enter its path in SDK Location, then you will be able to make a new project. Hope this will help.
Make sure you have Java JDK. After installation of JDK set environment variable.
you can get JDK here. http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Here you know how to set an environment variable. https://javatutorial.net/set-java-home-windows-10
If you don't know how to download SDK and set path. Then you simply download the complete package (Android studio with SDK). It will give you both Studio and SDK so it won't ask you like this dialog.
You can get complete bundle here https://dl.google.com/dl/android/studio/install/2.3.3.0/android-studio-bundle-162.4069837-windows.exe

i can't set JDK 1.8 in AndroidStudio

I have downloaded and installed jdk 1.8, but when i try to set path to jdk 1.8 in ProjectStructure -> JDK Location, AndroidStudio ignored it, so after set path
click OK and reopen window "ProjectStructure" i see jdk 1.7 again
I deleted folder with java 1.7, and AndroidStudio open me dialog for specifing jdk-path, whehe i set it. Thank everybody for answering!
This seems to be a bug either in Android Studio 2.1.x or IntelliJ. Here is a workaround after you installed the new JDK and set it as JAVA_HOME env variable:
Close Android Studio
Go to %HOME%/.AndroidStudio2.1/config/options (or which version you are using)
rename/delete jdk.table.xml
start Android Studio again -> the JDK set in JAVA_HOME should be set as default jdk
Reference: https://code.google.com/p/android/issues/detail?id=213239
See also: Android Studio JDK location changes back to 1.7 every time it is updated to 1.8 path
Uninstall Java JDK7 and install JDK8, or set JDK8 as default Java VM in your OS.
I think you need to update your path variable and add your jdk location to it . Studio must be automatically getting path from your environment variable and replacing your path .
The JDK 1.8 does not seem to be fully supported by Android Studio because the Android platform does not support Java 8 as it is currently.
You can see this link for more information. Is JDK 1.8 fully supported by Android Studio?
use Android Studio 2.2 preview 7 version this only support java 8
Then you can use java 8 features :)
Just move your sdk folder to the small destination folder like C:/sdk. It seems that without setting your sdk folder you can't change the directory of the jdk folder.

Android studio SDK manager is not working

I have installed Java 8. And I have set the home variable. But I got this error. I am using Windows 7 64-bit.
I am new to android programming. Please help.
You need to set the JAVA_HOME variable. Refer to this post, if you're not sure how you can do that: Android Studio installation on Windows 7 fails, no JDK found

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