Android studio 2.3.1 32bit "Please provide path to android studio" - android-studio

I have installed a 32-bit version of Android studio 2.3.1 on my windows 7 32-bit machine which is "No Android SDK, no installer". I have tried the 1.8 GB version of Android stdio but it is not compatible with my system. After running it gives an error which is in 2nd snap shot.
Can anyone help me in resolving the issue of Android studio 2.3.1 32-bit:
"Please provide path to android studio".
I have tried the 64-bit version on 64-bit machine - it is working fine, but the problem is with 32-bit version.

There is no installer available or SDK along with android studio in 32bit version.
Extract the zip file downloaded, go to the "bin" directory and run the studio.exe file, it will start installing the android studio on your PC.
here's a link to download the 32bit version.
https://developer.android.com/studio/index.html
When it asks for SDK path,
Try this - C:\Users\Your Name\AppData\Local\Android\Sdk
Replace your name with the name of your PC.
You might consider this link as useful.
https://techglimpse.com/solution-fix-android-sdk-studio-error/

Related

adb.exe has stopped working with Android Studio 4.3.1 and Android 9.+

With the latest clean installation of Android Studio with all the recommended settings I have this continuous error when I try to start an emulated device. The device starts up correctly and works properly but the "adb.exe has stopped working" popups continue to appear if they are closed, furthermore it is not possible to link the device with Android Studio because it is not recognized. Even if I download a previous image of Android (Android 9.0) I have the same problem.
The only plugins installed are Dart and Flutter.
The question could be repeated but I did not find solutions for this problem, or rather, the solutions found did not allow me to close this problem.
Before this update everything was working properly.
In this case we speak of a clean installation.
When I try to start the "main.dart" application to install it on the device the only error that appears is "Error retrieving device properties for ro.product.cpu.abi:"
Android Studio 3.4.1 Build #AI-183.6156.11.34.5522156, built on May 1, 2019 JRE: 1.8.0_152-release-1343-b01 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0
Android Debug Bridge version 1.0.41
Version 29.0.0-5611747
There is a temporary fix for now (if you're using Windows)!
1st Close Android Studio
2nd Open CMD and write: taskkill /f /im adb.exe
3rd Download this file: http://dl-ssl.google.com/android/repository/platform-tools_r28.0.2-windows.zip
4th Go to
C:\Users[your-username]\AppData\Local\Android\Sdk
and replace the "platform-tools" folder with the new one that you just downloaded.
ps: (a) don't forget to keep the backup (b) the AppData is a hidden folder

Android studio doesn't start after fresh install (JAVA_HOME/JDK_HOME solution NOT WORKING)

I uninstalled my older version of android studio (1.4.1) which was working properly (this installation was done a long time ago, and ADK and android studio were installed separately, in fact if I remember correctly I had the ADK installed for use with Eclipse, and I just updated paths in Android Studio to point to that location to use ADK for Android Studio )
I installed android-studio-bundle-162.4069837-windows.exe which apparently comes with both IDE and ADK
However after installation, Android Studio just doesn't start up
I have already added both JDK_HOME and JAVA_HOME to environment variables and the problem is the same
Double clicking on studio.exe studio.exe to get launched (I can see it in the Task Manager for a while) then it just closes (no error message, no IDE splash screen, nothing at all; in fact, if I wasn't looking at the task manager I wouldn't even know if anything was happening)
Computer setup:
Windows 7 service pack 1 32 bit
Android Studio is installed at
C:\Program Files\Android\Android Studio
studio.exe is in
C:\Program Files\Android\Android Studio\bin
Contents of studio.exe.vmoptions
#
# *DO NOT* modify this file directly. If there is a value that you would like to override,
# please add it to your user specific configuration file.
#
# See http://tools.android.com/tech-docs/configuration
#
-server
-Xms256m
-Xmx750m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-da
-Djna.nosys=true
-Djna.boot.library.path=
-Djna.debug_load=true
-Djna.debug_load.jna=true
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Didea.paths.selector=AndroidStudio2.3
-Didea.platform.prefix=AndroidStudio
-Didea.jre.check=true
Location of Java:
C:\Program Files\Java\jdk1.7.0_25
I installed android-studio-bundle-162.4069837-windows.exe
android-studio-bundle-162.4069837-windows.exe is for 64-bit OS, whereas, you need to download and install the one with android-studio-ide-162.4069837-windows32.zip
As you can see here: https://developer.android.com/studio/index.html#downloads
Meaning that, the one you are stating that the one you downloaded targets to: Android Studio Windows 64-Bit [Top link in the table]
Whereas, you need to download and install the one which is: Android Studio Windows 32-Bit [4th link from top in the table]
Also, if you look closely, it is explicitly stated that the one you downloaded is 64-Bit & has -bundle suffix & .exe extension, which also includes Android SDK, but the one your PC supports explicitly has -ide suffix & .zip extension. Included: No Android SDK, no installer

Android Studio SDK manager doesn't show the candidate packages(How to install CMake)

From the post "Add C and C++ Code to Your Project",
You can install these components using the SDK Manager:
From an open project, select Tools > Android > SDK Manager
from the menu bar. Click the SDK Tools tab. Check the boxes next to LLDB,
CMake, and NDK, as shown in figure 1.
there is a image shows
But my Android Studio is not like that.
I upload a image to show my Android Studio sdk manager settings:
I googled for a while, but I didn't find anything useful. My PC is win10 64bit, I run Android Stdio 64bit, version is 2.2, I use the Android Studio bunndle version(I assume the AS and the sdk are one thing).
I also run Android Studio 2.3 on another PC, I check the sdk manager on version 2.3, it looks like behaving the same. I also try to run AS in the administrator role. it looks like behaving the same too.
The different on the AS2.2 and AS2.3 is that I can run the sdkmanager command in a win shell to install the CMake/LLDB on the PC that has AS 2.3, but I can't find the sdkmanager command in the SDK folder which is associated with the AS 2.2, so I go to download a standlone command line tools from the developer.android.com, I unzip the downloaded file and get a fold named "tool", what should I do? shold I merge the downloaded tool folder into the android_sdk/tools?
The below image is the sdk settings on another PC that has installed the AS 2.3. I installed the CMake the LLDB from the command line: "sdkmanager.bat cmake;3.6.4111459"
Why my Android Studio doesn't show the candidate not
installed packages?
Shold I merge the downloaded command line tool folder into the android_sdk/tools?

JdK1.8.0_45 path issue Android Studio

I am getting this issue repeatedly "Installing Android Studio, does not point to a valid JVM installation error" while launching Android Studio.
I have installed Eclipse and Android studio Both on My System. Eclipse is working fine but Android Studio is not Working now. Means Before Installation of Eclipse it was working well.
I have Set the Path="C:\Program Files(x86)\Java\jdk1.8.0_45\bin".
And I have also installed jdk1.7.0 and jdk1.6.0_07 on my system.
![enter image description here][1]
Android Studio Works With JDK 7 ans JDK 8 both:
Need to set jdk path like this;
JAVA_HOME = "C:\Program Files(x86)\Java\jdk1.8.0_45"

Trouble launching Samsung SDK TV Emulator

For some reason, my Samsung TV emulator versions 2.5.1 (2011) and version 3.5.2 (2012) work fine except for version 4.0 (2013). When I open it, it says
Emulator for Windows has stopped working. A program caused the program to stop working...
I installed the following on my machine and still doesnt seem to work:
Visual C++ Redistributable 2005 x86 and x64
Visual C++ Redistributable 2010 x86 and x64
Microsoft .NET 4.5 Latest
Java JDK (including JRE)
Latest Direct X from
(http://www.microsoft.com/en-us/download/details.aspx?id=35)
Any ideas why it shows this message? Thanks. I am on Windows 7 64 bit.
You may need to install fonts for Emulator. Open C:\Program Files (x86)\Samsung\Samsung TV SDK 4\Emulator\Emulator2013_v4\bin\, open *.ttf files and select Install.

Resources