Android Studio - Error launching failed to load jvm dll - android

It happened after I upgraded the new version.
It was good before the upgrade.
And doesn't look like the right path.
enter image description here
Can some one tell me how to do this?
I have the JAVA HOME environment.
enter image description here

The problem is in the new electric eel version of android studio. Yesterday (01/13/23) in the morning I downloaded the dolphin version at my work and with its installer I had no problems.
During the night I went to carry out the same process, but I had not realized that it was this new version, and then I had this problem.
Perhaps during today, I will be able to find the installer of the dolphin version in this link, however, until now, it is not available yet.
https://developer.android.com/studio/archive

i had same problem the solution is here
https://issuetracker.google.com/issues/247854802#comment12
i dowloaded Microsoft Visual C++ Redistributable from here
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

Related

Xamarin Blank Screen

I am trying to explore Xamarin, trying to create simple CURD project.
I was able to make some progress by watching youtube video's, but I am not sure what went wrong all of the sudden I am getting blank screen in my emulator when I am trying to deploy the project.
Firstly it showed me error stating
'the targetFrameWorkVersion is greater than my project version. You
need to increase the version for the project'.
I tried it, I increased my project version. This issue got resolved but gave birth new error.
Secondly
'To deploy this application, your deployment target should be running
Windows Universal Runtime version 10.0.16299.0 or higher. You
currently are running version 10.0.14393.2007. Please update your OS,
or change your deployment target to a device with the appropriate
version.'
I looked up for newer version of OS, but it seems my OS is already up to date.
I really appreciate if anyone help me out with tips or clue.
Environment is as follows
Visual Studio: 2017
Operating System: Windows 10
I am attaching ScreenShot of error
:
Try this
Set your android project as StartUp project
In your VS menu go to Build ->Configuration Manager
Uncheck the UWP project from both Build and Deploy, i hope your issue will be sorted.
first
its not your SDK, this is cause by old nugets in your project.
update all your nugets. at least xamarin.forms.dll
second
update your windows OS to latest. then
install appropriate microsft windows mobile sdk version. the link should appear when you right click your project and select install missing features
https://learn.microsoft.com/en-us/windows/uwp/updates-and-versions/choose-a-uwp-version

How to solve Deployment Error in Xamarin Forms?

I have just updated Visual Studio 2017 and create one new project. It build successfully but giving deployment error. Application doesn't deploy on my Samsung J7 device. Before the update, it was working fine.
How to resolve this?
there are four solutions:
-read this post
-This bug is in last version Visual Studio 15.6. If you use this version make downgrade to 15.5.
How delete current version
Download older version - select your version on this page.
-Or wait for the next update
-or disable the signing of the apk in the properties of your project.
Edit your csproj and set :
<AndroidKeyStore>false</AndroidKeyStore>
But in this case you will not be able to publish your package in Google Play.
download the used SDK. Update your visual Studio(if u r not using the latest one). Check Paths. Restart Visual Studio after that. it will run
About 15.6.1, I suggest you uninstall all of your Android SDK, and reinstall, it works for me!
Also you can refer to this.

Unable to setup Android Studio 3.0.1

I installed Android Studio 3.0.1 and everything seemed to go as expected. When first starting up, I got to the point of downloading the SDK components, and received the following error.
"Android Support Repository, Android SDK Tools and 7 more SDK components were not installed"
Has anybody every seen this? Any ideas or suggestions are greatly appreciated.
I am using Windows 10 64 bit. I was able to capture some more details of the failure.
"java.nio.file.AccessDeniedException: C:\Users\gcleveland\Documents\Android\SDK2\extras\android\m2‌​repository.backup.i‌​nstaller.installDat‌​a -> C:\Users\gcleveland\Documents\Android\SDK2\extras\android\m2‌​repository.installe‌​r.installData Warning: Failed to move original content of C:\Users\gcleveland\Documents\Android\SDK2\extras\android\m2‌​repository back into place! It should be available at C:\Users\gcleveland\Documents\Android\SDK2\extras\android\m2‌​repository.backup"
There are multiple other instances like this but different directories.
It is almost as if my permissions are not correct. I have full administrative rights and run android studio as an administrator.
I ran into similar issues with the exe file version and resolved them by instead downloading and installing the zip version of Android Studio 3.0.1 for Windows 10 (https://dl.google.com/dl/android/studio/ide-zips/3.0.1.0/android-studio-ide-171.4443003-windows.zip). After unzipping this file, I simply executed its bin/studio64.exe. I also switched my networking connection to NOT need a proxy, which may also have helped to resolve the issue.

FileNotFoundException exception in Android Studio core?

I had just installed Android Studio 2.3.3 and created a new project.
Then the error occurred.
Here is the Event Log
2017/7/30
21:50 FileNotFoundException: Entry fileTemplates//code/Google Test
Fixture SetUp Method.cc.ft not found in C:/Program
Files/Android/Android Studio/lib/idea.jar
21:50 Gradle sync started
21:50 InvalidVirtualFileAccessException: Accessing invalid virtual
file: file://C:/Android/SDK/platforms/android-26/data/res;
original:182; found:-
And here are some pics.
FileNotFoundException
InvalidVirtualFileAccessException
I'm new to Android Studio.It'll be great if someone helps.
This looks like the same problem I had. It was a new install of Android Studio. I'm just trying to learn to build an app but couldn't even create a new class.
It turned out that I had installed the 64 bit version on a 32 bit machine. In my defense, there's a big green download button that says its for windows, it says nothing about 64/32 bit until you scroll waaaaay down the page.
I found the answer here
Steps to fix:
1. uninstall android studio (but not the SDK)
2. download the 32 bit version from the same page where I found the 64 bit one.
3. Scroll down the page to find it.
4. unzip the downloaded file and move it into the programs directory.
5. launch android studion by opening the file \Program Files\Android\android-studio\bin\studio.exe
I got a similar error when trying to add C++ functionality, I think the fix will be similar too...
basicly I had to got to SDK Tools, tick the Show Packages, and then untick the Makec plugin
I've solved this issye by adjusting BIOS Setup, when I adjusted the virtualization option.
I'm using Android Studio 2.1.3.

Is it time to upgrare to eclipse to ver 3.6.xxx

About 2 months ago I was setting up an Android development environment, and noticed a warning on the Android SDK page that stated "There are known issues with the ADT plugin running with Eclipse 3.6. Please stay on 3.5 until further notice." - so
I posted a question here about this and from the responses decided, to install Eclipse ver 3.5
I never saw a notice that it was safe to upgrade, but...
- The warning is now missing from the Android SDK page
- I thought I read (maybe I'm wrong, because I can't find it now) a comment that some of the Android tutorials were now assuming Eclipse ver 3.6.1
Can I assume it is now safe to upgrade to Android 3.6.1 ?
The Eclipse IDE for Java Developers download page still seems to be at 3.6.0 ?
Comments Welcome
I believe it is fine, i upgraded my desktop environment to 3.6.1 and everything seems to be running fine.
Confirmed: Here is the link to the requirements page. It now says anything greater than 3.4 will work.
Eclipse 3.4 (Ganymede) or greater
Eclipse Link Requirements
I upgraded to the latest 3.6 and it was OK except that the content assist for the Android classes was very slow, i.e you would type 'textView.' (where textView is a TextView) and wait for ages for all the available methods to be shown.
This issue is a known bug reported at
Code Assist still Slow
Down near the bottom of this thread, someone identified a fix:
*https://bugs.eclipse.org/bugs/show_bug.cgi?id=329288 contains patch
that fixes this issue.
Unfortunately patch is applied only in 3.7 branch.
I have patched org.eclipse.jdt.core from Helios 3.6.1 with the patch
attached in this bug and create a patched plugin.
You can replace your /plugins/
org.eclipse.jdt.core_3.6.1.v_A68_R36x.jar plugin with one from
http://adt-addons.googlecode.com/svn/patches/org.eclipse.jdt.core_3.6...
and restart Eclipse. Content Assists will be much better. Just try it.
Don't forget backup your original plugins.
Peco*
I applied this patch and everything works fine now.
I always used Eclipse Helios 3.6.1 for my android programming and I never had any problems, I don't know what the problems were but I didn't find any. Sometimes my R.java doesn't seem to connect with my other classes but I solve that by either restarting my Eclipse of just clean my project, most of the times clean project works perfectly.
The ADT plugin also works fine. It upgrades correctly and I can see all my versions when I create a new project
I did see people having project to even install the google ADT plugin when looking for new software but I didn't come accross that problem. It just installed the first time. with the new update however it seems that my adb.exe doesn't seem to be in my tools folder and Eclipse looks there, so I just copied it from my platform-tools to my tools folder and got it working.
When I tried to update the 2.3 sdk to 2.3.1 in Eclipse 3.6.1, I had to clean all my projects as well as start Eclipse several times before everything could be installed successfully. Other than that, I've had no problems at all.

Categories

Resources