开发者

android "export android package" overlays gone from mapview signing

For Now, I'm finished with my application, and I want to put it on the market. (at least, promised myself to have a feature stop till a release... ;)

In debug mode the app words like a charm, it has a mapview on it, with a big overlay (400 items).

When I "export android package", and try the app on my phone, the map works, but the overlays are not displaying.

Things I've allready did/tried;

-got a non-debugger API key for google maps, the map displays, only the overlay's won't...

-Turned off proguard completely; remove the proguard l开发者_StackOverflow中文版ine from 'default.properties'

-I got no errors, the app doesn't crash

Two questions;

1 - Anyone else ever noticed other behavure when 'export android package', if so, what was it? (non-proguard)

2 - Did I turn off proguard the right way?, because I did notice the 'classes.dex' file was quite a bit smaller.

Please try to answer questions 1 and 2 before giving me general hints!

Thanks!


Gson and Proguard were causing it;

http://sourceforge.net/tracker/?func=detail&aid=3375947&group_id=54750&atid=474704

http://code.google.com/p/google-gson/source/browse/trunk/examples/android-proguard-example/proguard.cfg?r=878

(bottom)

Come to think of it, it all falls into place...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜