Open GoogleCodeExporter opened 8 years ago
when i add files and build a sample, i got the same problem. But when i rename
file to other name and revert it back, than all works fine. i think its not
appengine source problem, it is something with eclipse resources update or
something else. i'm newbie in android programming so maybe i'm wrong.
Original comment by skyg...@gmail.com
on 15 Nov 2011 at 8:17
Hi all.
I think that the reason of the error has been caused by the code which opening
asset file.
Please look code below.
http://code.google.com/p/andengine/source/browse/src/org/anddev/andengine/opengl
/texture/atlas/bitmap/source/AssetBitmapTextureAtlasSource.java?r=ea4ff643a0e588
57e92738a6e5449b6a362190cd#55
54: try {
:- in = pContext.getAssets().open(pAssetPath);
:+ in = pContext.getAssets().open(BitmapTextureAtlasTextureRegionFactory.sAssetBasePath + pAssetPath);
56: BitmapFactory.decodeStream(in, null, decodeOptions);
The origin code has not considered behaviour which does not contain the
assetBasePath.
Original comment by oasynnoum@gmail.com
on 3 Apr 2012 at 11:22
Original issue reported on code.google.com by
pflikwe...@gmail.com
on 4 Sep 2011 at 3:29