Error in fbconnect example (tro uble processing 鈥渏avax/net/SocketFactory.class鈥?)

by rokson » Tue, 28 Sep 2010 20:56:41 GMT

Sponsored Links
 I am trying to publish into faceboook by using fbconnect-android sdk.
I am new to android programming.

I stuck up at the fallowing error. Please help me out.

trouble processing "javax/net/SocketFactory.class":
[2010-09-28 18:06:19 - fbconnect-sample]
Attempt to include a core VM class in something other than a core
It is likely that you have attempted to include the core library from
a desktop
virtual machine into an application, which will most assuredly not
work. If
you really intend to build a core library -- which is only appropriate
part of creating a full virtual machine binary, as opposed to
compiling an
application -- then use the "--core-library" option to suppress this
message. If you go ahead and use "--core-library" but are in fact
an application, then please be aware that your build will still fail
at some
point; you will simply be denied the pleasure of reading this helpful
[2010-09-28 18:06:19 - fbconnect-sample] 1 error; aborting
[2010-09-28 18:06:19 - fbconnect-sample] Conversion to Dalvik format
failed with error 1

Thanks and Regards,



Other Threads

1. Changing the virtual memory map of Android


I see that Android has following Virtual memory map,

  1 # 0xC0000000 - 0xFFFFFFFF Kernel
  2 # 0xB0100000 - 0xBFFFFFFF Thread 0 Stack
  3 # 0xB0000000 - 0xB00FFFFF Linker
  4 # 0xA0000000 - 0xBFFFFFFF Prelinked System Libraries
  5 # 0x90000000 - 0x9FFFFFFF Prelinked App Libraries
  6 # 0x80000000 - 0x8FFFFFFF Non-prelinked Libraries
  7 # 0x40000000 - 0x7FFFFFFF mmap'd stuff
  8 # 0x10000000 - 0x3FFFFFFF Thread Stacks
  9 # 0x00000000 - 0x0FFFFFFF .text / .data / heap

I would like to shrink the userspace area from current 3GB i.e 0xC0000000 to
2GB i.e 0x80000000.

I  plan to achieve this by shrinking the Prelinked libraries sections (take
out 256MB), threads stacks(take out 256MB) and mmap section(take out 512MB).

When I do a grep for these limits I do not see any hard-codings for these
values anywhere in Android filesystem, except in the prelink-map module.

Is there any place other than prelink which I need to look into for these?

Amit Mahajan


2. Compiling Android Froyo with no thumb support


I am porting android to our Cortex-A9 platform which doesnot support
"thumb" mode yet. I was trying to compile Android without thumb

For doing this, I have removed the

option from the architecture config file.

I am able to compile most of the packages with this, but when it comes
to libwebcore, I get the following error:

target Prelink: libwebcore (out/target/product/exp/symbols/system/lib/
build/tools/apriori/prelinkmap.c(145): prelink map error: library is too big at 7645176 bytes, it runs 305144
bytes into library!
make: *** [out/target/product/exp/symbols/system/lib/]
Error 1

It looks like due to removal of THUMB support the size of has grown too much and it is not fitting in its assigned
memory range.

Can anyone tell me, how can I make more room for the above library? I
am not able to locate the place where these addresses and ranges are
defined or generated.

Amit Mahajan


3. Android and Web-services

4. Corrupted images when uploading to server via POST

5. Importance

6. It's not the browser?

7. with no getter methods