1

I am working in Android Studio which shows the error like _File name must end with *.xml or *.png_. I am using _*.pkm_ file. My Gradle Build version in _1.2.2_ . How to solve it? Help me. Thanks in advance.

Amit Vaghela
  • 22,772
  • 22
  • 86
  • 142
Chella M
  • 392
  • 1
  • 2
  • 15

1 Answers1

1

You need to conver .pkm file to .png

check this http://developer.android.com/reference/android/opengl/ETC1.html

Methods for encoding and decoding ETC1 textures.

The standard for the ETC1 texture format can be found at http://www.khronos.org/registry/gles/extensions/OES/OES_compressed_ETC1_RGB8_texture.txt

The PKM file format is of a 16-byte header that describes the image bounds followed by the encoded ETC1 texture data.

than after inside your project directory clean build your project and run.

Please check this SO answer for more detail.

Community
  • 1
  • 1
Amit Vaghela
  • 22,772
  • 22
  • 86
  • 142