FileNotFoundException in Android Studio kernel?

I just installed Android Studio 2.3.3 and created a new project. Then an error occurred. Here is the event log

2017/7/30

21:50 FileNotFoundException: Entry fileTemplates // code / Google Test Device SetUp Method.cc.ft not found in C: / Program Files / Android / Android Studio / lib / idea.jar

21:50 Gradle synchronization started

21:50 InvalidVirtualFileAccessException: access to an invalid virtual file: file: // C: / Android / SDK / platform / android-26 / data / res; Original: 182; found: -

And here are some photos.

FileNotFoundException

InvalidVirtualFileAccessException

I am new to Android Studio.It will be great if someone helps.

+5
source share
3 answers

This seems to be the same problem as mine. This was a new installation of Android Studio. I'm just trying to learn how to create an application, but I canโ€™t even create a new class.

It turned out that I installed the 64-bit version on a 32-bit machine. My defense has a big green download button that says about it for windows, it says nothing about 64/32 bits, until you scroll waaaaay down the page.

I found the answer here

Steps to fix: 1. remove the Android studio (but not the SDK) 2. download the 32-bit version from the same page where I found the 64-bit version.
3. Scroll down the page to find it. 4. Unzip the downloaded file and move it to the program directory. 5. Launch android studio by opening the file \ Program Files \ Android \ android-studio \ bin \ studio.exe

+5
source

I had a similar error while trying to add C ++ functionality, I think the fix will be similar ...

Basically, I had to access the SDK Tools, check the Show Packages checkbox, and then disable the Makec plugin

0
source

I solved this problem by tuning BIOS Setup when I configured the virtualization option.

I am using Android Studio 2.1.3.

0
source

Source: https://habr.com/ru/post/1270366/


All Articles