Sunday, January 26, 2014

After opening the file error proguard


            
AssetManager localAssetManager = null;
localAssetManager = getApplicationContext () getAssets ();.
localAssetFileDescriptor = localAssetManager.openFd ("res/map3_style.txt.png");

The code above normal in the case of packaged properly run, but by the case proguard packaged, will be reported when running a java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed < br />

I decompiled it, the existence of this file res/map3_style.txt.png res directory, do not know why an exception will be reported
Reply:
This file is not too big, changed. Mp3 suffix try

No comments:

Post a Comment