Vipendra Singh
Vipendra Singh

Reputation: 21

All files of android project got corrupted

When I opened my previous android project on android studio after 15 days. I found that files had been corrupted.There was only a message that "File was loaded in wrong encoding - 'UTF-8'". Is it possible to recover the project files?

Here is a screenshot:

enter image description here

Upvotes: 1

Views: 1020

Answers (2)

milan pithadia
milan pithadia

Reputation: 870

no need for any setting just use following step

  1. close project
  2. rename project root folder name
  3. re-open project from new name (changeable folder name)

Upvotes: 2

user9025793
user9025793

Reputation:

Go to File -> Settings -> File Types. Find the file type that you have linked the .ttf files to

Deactivate it with the red minus sign on the right hand side. The next time you'll try to import a .ttf file in Android Studios there will be a popup menu where:

You can select Android Studios to read the .ttf files as a certain filetype You can select the program that normally reads .ttf on your computer (The button on the bottom of the menu).

Hope this helps!

Upvotes: 0

Related Questions