I try to download Android studio to set up react native according to react native documentation.
I also download JDK 11.
but when I try to open Android studio, it doesn't work.
This is from documentation
Error - JDK not fond when I open Android Studio
I want to open the Android Studio.
I try all possible solutions found on the internet.
Download it from the official source here.
Android studio is bundled with Java 11 so you don't need to install it separately.
Related
I try to open android studio but it says
Failed to open JVM DLL if you have JDK installed set JAVA_HOME variable....
I set the JAVA_HOME variable, downloaded new jdk
set it to that and redownloaded android studio but nothing is working.
It says to install Microsoft Visual C++ Redistributable
Installing it provides a "missing vcruntime140_1.dll file in bundled Java Runtime" to the Android Studio.
read - https://issuetracker.google.com/issues/247854802?pli=1
buddy hopes you are doing great this crash happens when an awful java path is changed or deleted.
This same error I already faced when the new update I downloaded to Android Studio Electric Eel | 2022.1.1
To solve this you need to change the path from the environment or you should delete the old java and download the new JDK and give the path.
You should follow this answer: https://stackoverflow.com/a/27113946/19674027 for better understanding
Happy Coding...
I just installed Android Studio 3.6.3 on Windows 10 and I created a new Native C++ project. I can build and run the native project and I can debug Java code in the project.
The problems I'm having are:
I can't step into the C++ code when debugging
I can't set breakpoints in *.cpp files.
When I right click folders in the project view to add a new file, I only see options to add Java, Kotlin, and Android platform files. There aren't any options to add C++ source or header files.
When I open a C++ file Android Studio recommends installing plugins supporting *.cpp. The plugin it's recommending is for Arma 3 plugin development.
The "Attach Debugger To Process" menu only has Java as a debugger option. That list should also contain Native, Dual, and Auto.
I've made sure to install CMake and NDK (Side By Side) in the SDK Manager and I've configured the NDK in the project settings. I've tried reinstalling Android Studio 3.6.3 and I've also downloaded Android Studio 4.0 RC 1, but I have the same problems.
What steps am I missing to get C++ support in Android Studio?
Managed to get it working. Turns out just running the uninstaller wasn't enough, I had to follow the steps in this answer to completely uninstall Android Studio. I then reinstalled and everything seems to be good.
using Android studio 3.1.2
I installed JDK last version , then installed Android studio 3.1.2 . when I run android studio for a fist time , it ask me about sdk path and the massage is "if you dont have the android SDK you can optain it from this link.".
Error shortcut:
https://drive.google.com/file/d/1_DyaOYIOzVJ79ixVpuoViZUyAt-s2b9s/view?usp=sharing
I downloaded the SDK tool pacake (sdk-tools-windows-3859397.zipf) from that link(https://developer.android.com/studio/) but what is the next step ?
when i tried download SDK from SDK manager it also shows this error massage "Your Android SDK is missing, out of date or corrupted."
Error shortcut:
https://drive.google.com/file/d/1HurRBB90wPUgzH1V31L5930QEbxRB_Bq/view?usp=sharing
How can I fix this problem ?
thank you
Download Sdk from here https://developer.android.com/studio/#downloads and Extract this zip to C:\users\administrator\AppData\Local\Android\sdk. Do not forget to replace "administrator" by your current user on windows.
Open Android studio and click on configure. See here Configure button
Click on Sdk Manager
Set the Sdk Path to C:\users\administrator\AppData\Local\Android\sdk
Update your android studio now. Go to About -> Check for Updates.
When I run the Android App in Android Studio, these errors occurs (see the attachment). The emulator appears. But there I cannot see the application written by me. How to fix this? I haven't created any app using Android Studio before. I'm using it on Windows 8.
enter image description here
Try starting Android Studio as an Administrator
Depending on the target android version you want to compile with, you might want to lower your JDK to 1.7.
If you're already running JDK 1.7, try reinstalling JRE and JDK
I am new to android studio. I am using android studio version 2.1.1. I have to run an application from Github. The problem I am facing is that whenever I run the application , I get this error,
Error:The project is using an unsupported version of Gradle.
I have even installed android support repository after following some tutorial. This did not help. I have also tried to find the versions of gradle that are compatible with Android studio 2.1.1. I dont know how to solve this issue