2011年10月17日 星期一
2011年10月6日 星期四
在 Android Market 放置應用程式的行銷圖片指引
Android 開發人員官方部落格為軟體開發商在 Android Market 上放置應用程式的行銷圖片提供了一些指引,在此做個筆記,有興趣的人可以過去看看。:)
2010年11月19日 星期五
2009年12月5日 星期六
Recent code building break in Android Open Source Project
If you are using Mac OS X 10.5.8 Leopard like I do and you have synchronized the Android source code from the Android Open Source Project, you probably found that you will get a code building break message as the followings:
This is because the flex version in the Android source code is been upgraded to 2.5.4a and it causes some errors when trying to find the lex() function in CSSParser. To solve the problem, you can use MacPort 1.8 to install a flex verison then use that flex to replace the version in the Android source code. The commands would be:
For more information, check this issue in the Android bug base.
So far I have successfully build my code on my 15.4" MacBook Pro. If you also meet the issue, you can give it a try.
target SharedLib: libwebcore (out/target/product/generic/obj/SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so) out/target/product/generic/obj/SHARED_LIBRARIES/libwebcore_intermediates/WebCore/css/CSSParser.o: In function `WebCore::CSSParser::lex(void*)': external/webkit/WebCore/css/CSSParser.cpp:4219: undefined reference to `WebCore::CSSParser::lex()'
This is because the flex version in the Android source code is been upgraded to 2.5.4a and it causes some errors when trying to find the lex() function in CSSParser. To solve the problem, you can use MacPort 1.8 to install a flex verison then use that flex to replace the version in the Android source code. The commands would be:
cd prebuilt/darwin-x86/flex/ mv flex-2.5.4a flex-2.5.4a-OLD ln -s /opt/local/bin/flex flex-2.5.4a
touch external/webkit/WebCore/css/tokenizer.flex
For more information, check this issue in the Android bug base.
So far I have successfully build my code on my 15.4" MacBook Pro. If you also meet the issue, you can give it a try.
訂閱:
文章 (Atom)