要連接 Google Map 請設定 XMPP Setting,加入你的 Gmail Account
Hey
guys
I've been peacfully coding for about a week now with only a few problems, but
right now out of goddamn nowhere the emulator started giving me that exception
out of nowhere:
|
Java:
|
|
An error has occurred in process com.google.process.content. Unable to
start receiver com.google.android.xmppService.ServiceAutoStart:
java.lang.NullPointerException.
|
I changed only little in my code so I don't believe it is really my fault 
Now I cannot even run the Browser and the Maps without getting an
NullPointerException 
Help pls..
mrocket
Hello mrocket,
Up to now there are only two possible solutions for this problem.
On both you should save your data (database / other files - BEFORE
)
1.) Start the emulator once with
"-wipe-data" on Additional Cmd-Line-Options:
or 2.)
Delete the emulator-image (userdata.img) located at:
WinXP: "C:\Documents and Settings\<win_loginname>\Local Settings\Application
Data\Android\"
WinVista: "C:\Users\<win_loginname>\AppData\Local\Android\"
Both should fix it!
Regards,
plusminus
--------------------------------------------------
| Android Development Community / Tutorials
Android 的內核程式碼
Download : http://code.google.com/p/android/downloads/list
How to Make
: http://blog.chinaunix.net/u/30686/showart_433547.html
download zip file( android_sdk_linux_m3-rc22a.zip ) and then install
my linux machine(FC7)
I could see kernel's image in ../tools/lib/images directory
file name : kernel-qemu, size : 1.2M
1. http://code.google.com/p/android/downloads/list
download linux-2.6.23-android-m3-rc20.tar.gz
android linux kernel
source
and uncompress kernel source
2. goldfish architecture configuration file copy to .config
goldfish configuration file in kernel/arch/arm/configs/
goldfish_defconfig
3. toolchain
http://www.codesourcery.com/gnu_toolchains/arm/download.html
checking radio box
Target Platform : ARM uClinux
Host Platform : IA32 GNU/LINUX
and then download...
4. uncompress
arm-2007q3-51-arm-uclinuxeabi-i686-pc-linux-gnu.tar
after download
5. evironment value setting /etc/bashrc
PATH=$PATH:<arm-uclinuxeabi-* path>
export PATH
6. kernel compiled by arm-uclinuxeabi-* compiler
"make zImage"
7. kernel image(zImage) copy to
<android>/tools/lib/images/
8. execute "emulator -console -debug-kernel -kernel
zImage"
9. rename kenel image( zImage ) to kernel-qemu
and execute "emulator -console -debug-kernel -kernel
kernel-qemu"
注意:工具鏈裡面的gcc一定要選用GCC 3.3.*,GCC 4.2.*有問題。
參考文獻
1.
Android - An Open Handset
Alliance Project - Open Source Licensing
http://code.google.com/android/kb/licensingandoss.html
2.
Ryan Paul, Why Google chose the
Apache Software License over GPLv2 for Android, Published: November 06, 2007 -
09:26AM CT
http://arstechnica.com/news.ars/post/20071106-why-google-chose-the-apache-software-license-over-gplv2.html
3.
Installing the SDK
http://code.google.com/android/intro/installing.html
4.
Download the Android SDK
http://code.google.com/android/download.html
5.
Package Index
http://code.google.com/android/reference/packages.html
6.
Android 中文網 http://www.androidcn.net/
7.
Android 中文網- Documentation
http://www.androidcn.net/wiki/index.php/Documentation