Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 915
wh201906 Avatar asked Jul 30 '17 14:07

wh201906


1 Answers

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

like image 128
Sheree Avatar answered Oct 29 '22 13:10

Sheree