Somebody please help me out. My program is running for close to 3
hours and i am still getting "DEBUG/SntpClient(69): request time
failed: java.net.SocketException: Address family not supported by
protocol" for Sudoku game.
My LogCat is:
03-01 02:02:53.252: DEBUG/AndroidRuntime(282): >>>>>>>>>>>>>>
AndroidRuntime START <<<<<<<<<<<<<<
03-01 02:02:53.263: DEBUG/AndroidRuntime(282): CheckJNI is ON
03-01 02:02:55.381: DEBUG/AndroidRuntime(282): --- registering native
functions ---
03-01 02:03:01.543: INFO/ActivityManager(69): Start proc
com.android.defcontainer for service
com.android.defcontainer/.DefaultContainerService: pid=289 uid=10010
gids={1015, 2001}
03-01 02:03:03.863: DEBUG/dalvikvm(289): GC_EXPLICIT freed 768 objects
/ 55584 bytes in 298ms
03-01 02:03:04.762: DEBUG/PackageParser(69): Scanning package:
/data/app/vmdl67559.tmp
03-01 02:03:05.693: INFO/PackageManager(69): Removing non-system
package:org.example.sudoku
03-01 02:03:05.743: INFO/ActivityManager(69): Force stopping package
org.example.sudoku uid=10037
03-01 02:03:06.403: DEBUG/PackageManager(69): Scanning package
org.example.sudoku
03-01 02:03:06.461: INFO/PackageManager(69): Package
org.example.sudoku codePath changed from
/data/app/org.example.sudoku-2.apk to
/data/app/org.example.sudoku-1.apk; Retaining data and using new
03-01 02:03:06.512: INFO/PackageManager(69):
/data/app/org.example.sudoku-1.apk changed; unpacking
03-01 02:03:06.681: DEBUG/installd(35): DexInv: --- BEGIN
'/data/app/org.example.sudoku-1.apk' ---
03-01 02:03:07.793: DEBUG/dalvikvm(298): DexOpt: load 259ms, verify
53ms, opt 12ms
03-01 02:03:07.881: DEBUG/installd(35): DexInv: --- END
'/data/app/org.example.sudoku-1.apk' (success) ---
03-01 02:03:07.923: WARN/PackageManager(69): Code path for pkg :
org.example.sudoku changing from /data/app/org.example.sudoku-2.apk to
/data/app/org.example.sudoku-1.apk
03-01 02:03:07.932: INFO/ActivityManager(69): Force stopping package
org.example.sudoku uid=10037
03-01 02:03:07.993: WARN/PackageManager(69): Resource path for pkg :
org.example.sudoku changing from /data/app/org.example.sudoku-2.apk to
/data/app/org.example.sudoku-1.apk
03-01 02:03:08.082: DEBUG/PackageManager(69): Activities:
org.example.sudoku.Sudoku
03-01 02:03:08.771: INFO/installd(35): move
/data/dalvik-cache/data@[email protected]@classes.dex ->
/data/dalvik-cache/data@[email protected]@classes.dex
03-01 02:03:08.822: DEBUG/PackageManager(69): New package installed in
/data/app/org.example.sudoku-1.apk
03-01 02:03:09.872: INFO/ActivityManager(69): Force stopping package
org.example.sudoku uid=10037
03-01 02:03:10.811: DEBUG/dalvikvm(126): GC_EXPLICIT freed 177 objects
/ 7544 bytes in 327ms
03-01 02:03:11.712: INFO/ActivityManager(69): Start proc com.svox.pico
for broadcast com.svox.pico/.VoiceDataInstallerReceiver: pid=300
uid=10028 gids={}
03-01 02:03:13.012: WARN/RecognitionManagerService(69): no available
voice recognition services found
03-01 02:03:14.872: DEBUG/dalvikvm(165): GC_EXPLICIT freed 4204
objects / 254440 bytes in 4142ms
03-01 02:03:14.913: DEBUG/dalvikvm(69): GC_FOR_MALLOC freed 8175
objects / 526176 bytes in 593ms
03-01 02:03:15.663: DEBUG/dalvikvm(69): GC_EXPLICIT freed 340 objects
/ 19648 bytes in 591ms
03-01 02:03:16.802: INFO/installd(35): unlink
/data/dalvik-cache/data@[email protected]@classes.dex
03-01 02:03:17.222: INFO/ActivityThread(300): Publishing provider
com.svox.pico.providers.SettingsProvider:
com.svox.pico.providers.SettingsProvider
03-01 02:03:17.691: DEBUG/AndroidRuntime(282): Shutting down VM
03-01 02:03:17.703: INFO/AndroidRuntime(282): NOTE: attach of thread
'Binder Thread #4' failed
03-01 02:03:17.783: DEBUG/dalvikvm(282): Debugger has detached; object
registry had 1 entries
03-01 02:03:20.482: DEBUG/AndroidRuntime(310): >>>>>>>>>>>>>>
AndroidRuntime START <<<<<<<<<<<<<<
03-01 02:03:20.482: DEBUG/AndroidRuntime(310): CheckJNI is ON
03-01 02:03:22.212: DEBUG/AndroidRuntime(310): --- registering native
functions ---
03-01 02:03:27.391: INFO/ActivityManager(69): Starting activity:
Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x10000000
cmp=org.example.sudoku/.Sudoku }
03-01 02:03:27.682: DEBUG/AndroidRuntime(310): Shutting down VM
03-01 02:03:27.801: DEBUG/dalvikvm(310): Debugger has detached; object
registry had 1 entries
03-01 02:03:27.833: INFO/AndroidRuntime(310): NOTE: attach of thread
'Binder Thread #3' failed
03-01 02:03:28.643: INFO/ActivityManager(69): Start proc
org.example.sudoku for activity org.example.sudoku/.Sudoku: pid=317
uid=10037 gids={}
03-01 02:03:32.933: INFO/ActivityManager(69): Displayed activity
org.example.sudoku/.Sudoku: 4761 ms (total 271945 ms)
03-01 02:03:33.001: INFO/ActivityManager(69): Displayed activity
com.android.launcher/com.android.launcher2.Launcher: 272056 ms (total
272056 ms)
03-01 02:03:38.872: DEBUG/dalvikvm(126): GC_EXPLICIT freed 676 objects
/ 38544 bytes in 683ms
03-01 02:05:57.952: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 02:10:58.002: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 02:16:01.153: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 02:21:01.332: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 02:26:01.402: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 02:30:40.433: DEBUG/dalvikvm(69): GC_FOR_MALLOC freed 16342
objects / 668376 bytes in 509ms
03-01 02:31:01.473: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 02:36:01.541: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 02:41:01.561: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 02:46:01.582: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 02:51:01.672: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 02:56:01.702: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 03:00:00.623: DEBUG/dalvikvm(69): GC_FOR_MALLOC freed 14932
objects / 608768 bytes in 464ms
03-01 03:01:01.781: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 03:06:01.803: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 03:11:01.841: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 03:16:01.901: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 03:18:37.041: DEBUG/dalvikvm(179): GC_FOR_MALLOC freed 9897
objects / 473400 bytes in 387ms
03-01 03:21:01.942: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 03:26:02.012: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 03:29:01.551: DEBUG/dalvikvm(69): GC_FOR_MALLOC freed 15105
objects / 615920 bytes in 1293ms
03-01 03:31:02.043: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 03:36:02.162: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 03:41:02.181: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 03:46:02.222: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 03:51:02.291: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 03:56:02.372: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 03:58:00.592: DEBUG/dalvikvm(69): GC_FOR_MALLOC freed 15551
objects / 638096 bytes in 505ms
03-01 04:01:02.411: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 04:06:02.512: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 04:11:02.562: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 04:16:02.642: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 04:21:02.703: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 04:26:02.791: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 04:27:00.863: DEBUG/dalvikvm(69): GC_FOR_MALLOC freed 15989
objects / 645800 bytes in 414ms
03-01 04:31:02.862: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 04:36:02.941: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
03-01 04:41:03.042: DEBUG/SntpClient(69): request time failed:
java.net.SocketException: Address family not supported by protocol
On 3/1/11, FrankG <[email protected]> wrote:
> Hi Zsolt,
>
> IMHO this is the wrong group, as you question
> is related to the platform, not to the sdk.
> ( use android-platform instead)
>
>
> Beside this I think you have to change the framework code
> too otherwise you could break the whole security architecture
> and incooperate your own things even without having the platform key.
>
> Good luck ! Frank
>
>
>
>
>
> On 1 Mrz., 06:38, Krt <[email protected]> wrote:
>> Hi Zsolt,
>>
>> Thanks for the response.
>>
>> I am trying to alter something in android framework source , and this
>> calls for an addition of a new class in framework source.
>> But I did not want to add any new source under framework, instead
>> planned to have it under vendor and load that new class dynamically in
>> framework later.
>>
>> So I was thinking if reflection will come in handy.
>>
>> Regards,
>> Krt
>>
>> On Mar 1, 9:47 am, Zsolt Vasvari <[email protected]> wrote:
>>
>>
>>
>> > The answer is, of course, not. They are probably using different
>> > class loaders.
>>
>> > The better question is, why would you want to do this?
>>
>> > On Mar 1, 12:09 pm, Krt <[email protected]> wrote:
>>
>> > > Hi All,
>>
>> > > I am trying reflection in android.
>>
>> > > It works fine for classes, say A and B, under same project(same
>> > > process in other words).
>>
>> > > It does not work between two different processes.
>> > > i.e. I have
>> > > project A, package name com.ref.classA
>> > > project B, package name com.ref.classB
>>
>> > > Can I call from project B, Class.forName("com.ref.classA");
>>
>> > > I get exception class not found when I do this.
>> > > Please note I have not imported package of calssA in classB.
>>
>> > > Am I missing something? or it is just not possible to do it between
>> > > different processes.
>>
>> > > Any input would be of great help.
>>
>> > > Regards,
>> > > Krt- Zitierten Text ausblenden -
>>
>> - Zitierten Text anzeigen -
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en