Can't login to Dropbox

Hello!

I have some trouble with Corona Viewer. I’ve downloaded the project of the viewer from GitHub, built it and installed on my device. Then I runned it. The app prompt me to login to Dropbox so i made so and then… the application prompt me to login again and again… The app is authorized because I see a Corona Viewer folder on my Dropbox account. Any ideas what could be wrong? I’ve built it using Corona SDK (the free edition) and I’m running it on my Android. Here’s the logcat output from Corona:

C:\Users\Danieo\AppData\Local\Android\sdk\platform-tools\>adb logcat Corona:v \*:s --------- beginning of system --------- beginning of main V/Corona (17141): \> Class.forName: network.LuaLoader V/Corona (17141): \< Class.forName: network.LuaLoader V/Corona (17141): Loading via reflection: network.LuaLoader I/Corona (17141): Platform: Lenovo TAB 2 A8-50L / ARM Neon / 5.0.2 / Mali-T720 / OpenGL ES 3.1 / 2016.2830 / polski | PL | pl\_PL | pl V/Corona (17141): \> Class.forName: plugin.fuse.LuaLoader V/Corona (17141): \> Class.forName: CoronaProvider.licensing.google.LuaLoader V/Corona (17141): \< Class.forName: CoronaProvider.licensing.google.LuaLoader V/Corona (17141): Loading via reflection: CoronaProvider.licensing.google.LuaLoader V/Corona (17141): \> Class.forName: plugin.viewer.LuaLoader V/Corona (17141): \< Class.forName: plugin.viewer.LuaLoader V/Corona (17141): Loading via reflection: plugin.viewer.LuaLoader V/Corona (17141): \> Class.forName: network.LuaLoader V/Corona (17141): \< Class.forName: network.LuaLoader V/Corona (17141): Loading via reflection: network.LuaLoader I/Corona (17141): Platform: Lenovo TAB 2 A8-50L / ARM Neon / 5.0.2 / Mali-T720 / OpenGL ES 3.1 / 2016.2830 / polski | PL | pl\_PL | pl V/Corona (17141): \> Class.forName: plugin.fuse.LuaLoader V/Corona (17141): \> Class.forName: CoronaProvider.licensing.google.LuaLoader V/Corona (17141): \< Class.forName: CoronaProvider.licensing.google.LuaLoader V/Corona (17141): Loading via reflection: CoronaProvider.licensing.google.LuaLoader V/Corona (17141): \> Class.forName: plugin.viewer.LuaLoader V/Corona (17141): \< Class.forName: plugin.viewer.LuaLoader V/Corona (17141): Loading via reflection: plugin.viewer.LuaLoader V/Corona (17141): \> Class.forName: network.LuaLoader V/Corona (17141): \< Class.forName: network.LuaLoader V/Corona (17141): Loading via reflection: network.LuaLoader I/Corona (17141): Platform: Lenovo TAB 2 A8-50L / ARM Neon / 5.0.2 / Mali-T720 / OpenGL ES 3.1 / 2016.2830 / polski | PL | pl\_PL | pl

and here is the build.settings from Corona Viewer

settings = { orientation = { default = "portrait", supported = { "portrait" }, -- supported = { "landscapeLeft", "landscapeRight", "portrait", "portraitUpsideDown" }, }, plugins = { -- key is the name passed to Lua's 'require()' ["plugin.viewer"] = { -- required publisherId = "com.coronalabs", }, }, iphone = { plist = { CFBundleURLTypes = { { CFBundleURLSchemes = { "db-l1q0pln8qsi8qyp", } } } }, } }

You did copy a Corona SDK project into the right Dropbox folder, correct?

Yes. I have put all my project files to the Corona Viewer folder on dropbox.

@ref

Can anyone help?

When you do:
 

adb logcat Corona:v *:s

You only get messages from the Corona activity. You don’t get messages from other things that Corona might be using, like Dropbox in this case.  Please look at the console log again running:
 

adb logcat

Yes you will get a lot of useless messages and will have to filter though them to look for Dropbox messages.

Rob

 

An alternative to Rob’s suggestion is to to use the “Monitor” UI application which is included in your local Android SDK installation path (on OS X it is under the tools directory)

It allows you to filter by package name (etc) so you can get cleaner output

Ok, I got all logs that contain anything with “dropbox”

06-24 19:01:15.532: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa9376000,id:10344,api:1,p:19211,c:208) queueBuffer: fps=1.49 dur=11387.91 max=11130.69 min=9.98 06-24 19:01:15.627: D/ViewRootImpl(19211): hardware acceleration is enabled, this = ViewRoot{13a51ff8 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth,ident = 15} 06-24 19:01:15.628: V/WindowManager(9702): Changing focus from Window{36332472 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} to Window{2bcc561f u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} Callers=com.android.server.wm.WindowManagerService.addWindow:2840 com.android.server.wm.Session.addToDisplay:173 android.view.IWindowSession$Stub.onTransact:111 com.android.server.wm.Session.onTransact:136 06-24 19:01:15.629: I/WindowManager(9702): Gaining focus: Window{2bcc561f u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} 06-24 19:01:15.633: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:0,p:-1,c:208) setConsumerName: com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth 06-24 19:01:15.633: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:0,p:-1,c:208) setDefaultBufferSize: width=87 height=87 06-24 19:01:15.642: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:0,p:-1,c:208) setDefaultBufferSize: width=725 height=240 06-24 19:01:15.648: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:1,p:19211,c:208) connect(P): api=1 producer=(19211:com.dropbox.android) producerControlledByApp=true 06-24 19:01:15.649: D/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:1,p:19211,c:208) allocateBuffers: allocating from 0 buffers up to 3 buffers 06-24 19:01:15.650: D/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:1,p:19211,c:208) allocateBuffers: allocating from 3 buffers up to 3 buffers 06-24 19:01:16.103: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:1,p:-1,c:208) disconnect(P): api 1 06-24 19:01:16.103: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:1,p:-1,c:208) getReleasedBuffers: returning mask 0xfffffffffffffffa 06-24 19:01:16.105: V/WindowManager(9702): Changing focus from Window{2bcc561f u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth EXITING} to Window{36332472 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} Callers=com.android.server.wm.WindowManagerService.removeWindowLocked:2973 com.android.server.wm.WindowManagerService.removeWindow:2910 com.android.server.wm.Session.remove:192 android.view.IWindowSession$Stub.onTransact:197 06-24 19:01:16.108: I/WindowManager(9702): Gaining focus: Window{36332472 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} 06-24 19:01:16.108: I/WindowManager(9702): Losing focus: Window{2bcc561f u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth EXITING} 06-24 19:01:16.112: I/ActivityManager(9702): START u0 {act=android.intent.action.VIEW flg=0x24000000 cmp=com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity (has extras)} from uid 10111 on display 0 06-24 19:01:16.115: W/ActivityManager(9702): Duplicate finish request for ActivityRecord{2174d128 u0 com.dropbox.android/.activity.auth.DropboxAuth t707 f} 06-24 19:01:16.139: D/ActivityThread(19211): ACT-AM\_ON\_PAUSE\_CALLED ActivityRecord{1b0dd13a token=android.os.BinderProxy@77df1eb {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:16.144: V/WindowManager(9702): Changing focus from Window{36332472 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} to Window{19d9d7d4 u0 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity} Callers=com.android.server.wm.WindowManagerService.handleAppTransitionReadyLocked:9869 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:10447 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:9308 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked:9250 06-24 19:01:16.145: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:1,p:-1,c:-1) disconnect(C) 06-24 19:01:16.146: I/BufferQueue(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:1,p:-1,c:-1) ~BufferQueueCore 06-24 19:01:16.149: I/WindowManager(9702): Gaining focus: Window{19d9d7d4 u0 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity} 06-24 19:01:16.149: I/WindowManager(9702): Losing focus: Window{36332472 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} 06-24 19:01:16.167: D/ActivityThread(19772): ACT-NEW\_INTENT handled : 0 / NewIntentData{intents=[Intent { act=android.intent.action.VIEW flg=0x34000000 cmp=com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity (has extras) }] token=android.os.BinderProxy@2e4e8439} 06-24 19:01:16.167: V/ActivityThread(19772): Performing resume of ActivityRecord{20032400 token=android.os.BinderProxy@2e4e8439 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:16.167: V/ActivityThread(19772): Resume ActivityRecord{20032400 token=android.os.BinderProxy@2e4e8439 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} started activity: false, hideForNow: false, finished: true 06-24 19:01:16.167: V/ActivityThread(19772): Scheduling idle handler for ActivityRecord{20032400 token=android.os.BinderProxy@2e4e8439 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:16.182: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa9376000,id:10344,api:1,p:-1,c:208) disconnect(P): api 1 06-24 19:01:16.183: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa9376000,id:10344,api:1,p:-1,c:208) getReleasedBuffers: returning mask 0xffffffffffffffff 06-24 19:01:16.195: V/WindowManager(9702): Changing focus from Window{19d9d7d4 u0 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity} to null Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3593 com.android.server.wm.Session.relayout:202 android.view.ViewRootImpl.relayoutWindow:5739 android.view.ViewRootImpl.performTraversals:1765 06-24 19:01:16.219: I/WindowManager(9702): Losing focus: Window{19d9d7d4 u0 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity} 06-24 19:01:16.229: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa9376000,id:10344,api:1,p:-1,c:-1) disconnect(C) 06-24 19:01:16.230: I/BufferQueue(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa9376000,id:10344,api:1,p:-1,c:-1) ~BufferQueueCore 06-24 19:01:16.309: I/BufferQueueProducer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa5d5000,id:10343,api:1,p:-1,c:208) disconnect(P): api 1 06-24 19:01:16.310: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa5d5000,id:10343,api:1,p:-1,c:208) getReleasedBuffers: returning mask 0xffffffffffffffff 06-24 19:01:16.330: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa5d5000,id:10343,api:1,p:-1,c:-1) disconnect(C) 06-24 19:01:16.330: I/BufferQueue(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa5d5000,id:10343,api:1,p:-1,c:-1) ~BufferQueueCore 06-24 19:01:16.389: I/dingtao\_Resolver(9702): ----ai.name = com.dropbox.client2.android.AuthActivity 06-24 19:01:16.392: I/ActivityManager(9702): START u0 {cmp=com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity (has extras)} from uid 10113 on display 0 06-24 19:01:16.402: W/System.err(19772): at plugin.viewer.DropboxWrapper.run(DropboxWrapper.java:137) 06-24 19:01:16.425: D/libc-netbsd(19772): [getaddrinfo]: hostname=api.dropbox.com; servname=(null); cache\_mode=(null), netid=0; mark=0 06-24 19:01:16.425: D/libc-netbsd(19772): [getaddrinfo]: hostname=api.dropbox.com; servname=(null); cache\_mode=(null), netid=0; mark=0 06-24 19:01:16.425: D/FrameworkListener(9392): dispatchCommand data = (getaddrinfo api.dropbox.com ^ 1024 0 1 0 0) 06-24 19:01:16.428: D/libc-netbsd(9392): [getaddrinfo]: hostname=api.dropbox.com; servname=(null); cache\_mode=local, netid=150; mark=917654 06-24 19:01:16.428: D/libc-netbsd(9392): res\_queryN name = api.dropbox.com, class = 1, type = 1 06-24 19:01:16.428: D/libc-netbsd(9392): res\_queryN name = api.dropbox.com succeed 06-24 19:01:16.429: D/libc-netbsd(19772): getaddrinfo: api.dropbox.com get result from proxy \>\> 06-24 19:01:16.438: V/ActivityThread(19772): Handling launch of ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:16.438: V/ActivityThread(19772): ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}}: app=android.app.Application@27e32e17, appName=com.coronalabs.CoronaViewer, pkg=com.coronalabs.CoronaViewer, comp={com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}, dir=/data/app/com.coronalabs.CoronaViewer-1/base.apk 06-24 19:01:16.440: V/ActivityThread(19772): Performing resume of ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:16.449: V/ActivityManager(9702): send smart intent for new activity com.dropbox.android Where 0 06-24 19:01:16.450: I/ActivityManager(9702): START u0 {act=com.dropbox.android.AUTHENTICATE\_V2 pkg=com.dropbox.android cmp=com.dropbox.android/.activity.auth.DropboxAuth (has extras)} from uid 10113 on display 0 06-24 19:01:16.452: D/ActivityThread(19772): ACT-AM\_ON\_RESUME\_CALLED ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:16.452: V/ActivityThread(19772): Resume ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} started activity: false, hideForNow: false, finished: false 06-24 19:01:16.455: D/ViewRootImpl(19772): hardware acceleration is enabled, this = ViewRoot{18d85195 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity,ident = 13} 06-24 19:01:16.456: V/ActivityThread(19772): Resuming ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} with isForward=true 06-24 19:01:16.456: V/PhoneWindow(19772): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{18d85195 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity,ident = 13}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{2ad980d9 V.E..... R.....I. 0,0-0,0} 06-24 19:01:16.456: V/ActivityThread(19772): Scheduling idle handler for ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:16.457: D/ActivityThread(19772): ACT-LAUNCH\_ACTIVITY handled : 0 / ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:16.463: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:0,p:-1,c:208) setConsumerName: com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity 06-24 19:01:16.463: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:0,p:-1,c:208) setDefaultBufferSize: width=1 height=1 06-24 19:01:16.481: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:0,p:-1,c:208) setDefaultBufferSize: width=800 height=1216 06-24 19:01:16.486: D/ActivityThread(19772): ACT-AM\_ON\_PAUSE\_CALLED ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:16.486: I/BufferQueueProducer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:1,p:19772,c:208) connect(P): api=1 producer=(19772:com.coronalabs.CoronaViewer) producerControlledByApp=true 06-24 19:01:16.488: D/BufferQueueProducer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:1,p:19772,c:208) allocateBuffers: allocating from 0 buffers up to 3 buffers 06-24 19:01:16.492: D/BufferQueueProducer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:1,p:19772,c:208) allocateBuffers: allocating from 3 buffers up to 3 buffers 06-24 19:01:16.494: V/ActivityThread(19211): Handling launch of ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:16.495: V/ActivityThread(19211): ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}}: app=com.dropbox.android.DropboxApplication@54fd69, appName=com.dropbox.android, pkg=com.dropbox.android, comp={com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}, dir=/data/app/com.dropbox.android-1/base.apk 06-24 19:01:16.541: I/dingtao\_Resolver(9702): ----ai.name = com.dropbox.client2.android.AuthActivity 06-24 19:01:16.572: V/ActivityThread(19211): Performing resume of ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:16.579: D/ActivityThread(19211): ACT-AM\_ON\_RESUME\_CALLED ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:16.579: V/ActivityThread(19211): Resume ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} started activity: false, hideForNow: false, finished: false 06-24 19:01:16.609: D/ViewRootImpl(19211): hardware acceleration is enabled, this = ViewRoot{2a669a15 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth,ident = 16} 06-24 19:01:16.611: V/ActivityThread(19211): Resuming ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} with isForward=true 06-24 19:01:16.611: V/PhoneWindow(19211): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{2a669a15 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth,ident = 16}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{2ff8f50d V.ED.... R.....I. 0,0-0,0} 06-24 19:01:16.612: V/ActivityThread(19211): Scheduling idle handler for ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:16.612: D/ActivityThread(19211): ACT-LAUNCH\_ACTIVITY handled : 0 / ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:16.645: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:0,p:-1,c:208) setConsumerName: com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth 06-24 19:01:16.645: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:0,p:-1,c:208) setDefaultBufferSize: width=1 height=1 06-24 19:01:16.646: V/WindowManager(9702): Changing focus from null to Window{8014c15 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3593 com.android.server.wm.Session.relayout:202 android.view.IWindowSession$Stub.onTransact:237 com.android.server.wm.Session.onTransact:136 06-24 19:01:16.664: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:0,p:-1,c:208) setDefaultBufferSize: width=734 height=658 06-24 19:01:16.669: I/WindowManager(9702): Gaining focus: Window{8014c15 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} 06-24 19:01:16.670: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:19211,c:208) connect(P): api=1 producer=(19211:com.dropbox.android) producerControlledByApp=true 06-24 19:01:16.672: D/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:19211,c:208) allocateBuffers: allocating from 0 buffers up to 3 buffers 06-24 19:01:16.674: D/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:19211,c:208) allocateBuffers: allocating from 3 buffers up to 3 buffers 06-24 19:01:16.694: I/ActivityManager(9702): [AppLaunch] Displayed Displayed com.dropbox.android/.activity.auth.DropboxAuth: +205ms (total +284ms) 06-24 19:01:16.694: D/ActivityManager(9702): AP\_PROF:AppLaunch\_LaunchTime:com.dropbox.android/.activity.auth.DropboxAuth:205:692479970 06-24 19:01:16.754: V/ActivityThread(19772): Finishing stop of ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}}: show=true win=com.android.internal.policy.impl.PhoneWindow@1b4c1977 06-24 19:01:17.291: W/System.err(19772): DropboxServerException (nginx): 400 Bad Request (invalid\_request) 06-24 19:01:17.291: W/System.err(19772): at com.dropbox.client2.RESTUtility.parseAsJSON(RESTUtility.java:265) 06-24 19:01:17.291: W/System.err(19772): at com.dropbox.client2.RESTUtility.execute(RESTUtility.java:415) 06-24 19:01:17.292: W/System.err(19772): at com.dropbox.client2.RESTUtility.execute(RESTUtility.java:339) 06-24 19:01:17.292: W/System.err(19772): at com.dropbox.client2.RESTUtility.streamRequest(RESTUtility.java:194) 06-24 19:01:17.292: W/System.err(19772): at com.dropbox.client2.RESTUtility.request(RESTUtility.java:124) 06-24 19:01:17.292: W/System.err(19772): at com.dropbox.client2.DropboxAPI.delta(DropboxAPI.java:2284) 06-24 19:01:17.688: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:19211,c:208) queueBuffer: fps=45.94 dur=1001.29 max=251.05 min=15.45 06-24 19:01:17.854: D/WebView(19211): loadDataWithBaseURL=https://api.dropbox.com:443/r14/app\_info?k=l1q0pln8qsi8qyp&s=&locale=pl\_PL&state=oauth2%3A73929c10a14de7633654bb2b1fddaebd&dauth\_version=3 06-24 19:01:19.113: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:19211,c:208) queueBuffer: fps=11.93 dur=1424.58 max=1148.27 min=3.45 06-24 19:01:26.207: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:19211,c:208) queueBuffer: fps=2.26 dur=7094.09 max=6826.35 min=12.30 06-24 19:01:26.307: D/ViewRootImpl(19211): hardware acceleration is enabled, this = ViewRoot{6fb0e1d com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth,ident = 17} 06-24 19:01:26.309: V/WindowManager(9702): Changing focus from Window{8014c15 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} to Window{11b79491 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} Callers=com.android.server.wm.WindowManagerService.addWindow:2840 com.android.server.wm.Session.addToDisplay:173 android.view.IWindowSession$Stub.onTransact:111 com.android.server.wm.Session.onTransact:136 06-24 19:01:26.310: I/WindowManager(9702): Gaining focus: Window{11b79491 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} 06-24 19:01:26.315: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:0,p:-1,c:208) setConsumerName: com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth 06-24 19:01:26.315: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:0,p:-1,c:208) setDefaultBufferSize: width=87 height=87 06-24 19:01:26.327: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:0,p:-1,c:208) setDefaultBufferSize: width=725 height=240 06-24 19:01:26.332: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:1,p:19211,c:208) connect(P): api=1 producer=(19211:com.dropbox.android) producerControlledByApp=true 06-24 19:01:26.333: D/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:1,p:19211,c:208) allocateBuffers: allocating from 0 buffers up to 3 buffers 06-24 19:01:26.334: D/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:1,p:19211,c:208) allocateBuffers: allocating from 3 buffers up to 3 buffers 06-24 19:01:26.887: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:1,p:-1,c:208) disconnect(P): api 1 06-24 19:01:26.887: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:1,p:-1,c:208) getReleasedBuffers: returning mask 0xfffffffffffffffa 06-24 19:01:26.889: V/WindowManager(9702): Changing focus from Window{11b79491 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth EXITING} to Window{8014c15 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} Callers=com.android.server.wm.WindowManagerService.removeWindowLocked:2973 com.android.server.wm.WindowManagerService.removeWindow:2910 com.android.server.wm.Session.remove:192 android.view.IWindowSession$Stub.onTransact:197 06-24 19:01:26.891: I/WindowManager(9702): Gaining focus: Window{8014c15 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} 06-24 19:01:26.891: I/WindowManager(9702): Losing focus: Window{11b79491 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth EXITING} 06-24 19:01:26.893: I/ActivityManager(9702): START u0 {act=android.intent.action.VIEW flg=0x24000000 cmp=com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity (has extras)} from uid 10111 on display 0 06-24 19:01:26.896: W/ActivityManager(9702): Duplicate finish request for ActivityRecord{26ca8ca3 u0 com.dropbox.android/.activity.auth.DropboxAuth t707 f} 06-24 19:01:26.925: D/ActivityThread(19211): ACT-AM\_ON\_PAUSE\_CALLED ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:26.930: V/WindowManager(9702): Changing focus from Window{8014c15 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} to Window{3b6f4fff u0 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity} Callers=com.android.server.wm.WindowManagerService.handleAppTransitionReadyLocked:9869 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:10447 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:9308 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked:9250 06-24 19:01:26.930: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:1,p:-1,c:-1) disconnect(C) 06-24 19:01:26.930: I/BufferQueue(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:1,p:-1,c:-1) ~BufferQueueCore 06-24 19:01:26.935: I/WindowManager(9702): Gaining focus: Window{3b6f4fff u0 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity} 06-24 19:01:26.935: I/WindowManager(9702): Losing focus: Window{8014c15 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} 06-24 19:01:26.952: D/ActivityThread(19772): ACT-NEW\_INTENT handled : 0 / NewIntentData{intents=[Intent { act=android.intent.action.VIEW flg=0x34000000 cmp=com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity (has extras) }] token=android.os.BinderProxy@285faf20} 06-24 19:01:26.952: V/ActivityThread(19772): Performing resume of ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:26.952: V/ActivityThread(19772): Resume ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} started activity: false, hideForNow: false, finished: true 06-24 19:01:26.952: V/ActivityThread(19772): Scheduling idle handler for ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:26.970: V/WindowManager(9702): Changing focus from Window{3b6f4fff u0 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity} to null Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3593 com.android.server.wm.Session.relayout:202 android.view.ViewRootImpl.relayoutWindow:5739 android.view.ViewRootImpl.performTraversals:1765 06-24 19:01:26.972: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:-1,c:208) disconnect(P): api 1 06-24 19:01:26.972: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:-1,c:208) getReleasedBuffers: returning mask 0xffffffffffffffff 06-24 19:01:26.987: I/WindowManager(9702): Losing focus: Window{3b6f4fff u0 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity} 06-24 19:01:26.997: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:-1,c:-1) disconnect(C) 06-24 19:01:26.997: I/BufferQueue(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:-1,c:-1) ~BufferQueueCore 06-24 19:01:27.060: I/BufferQueueProducer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:1,p:-1,c:208) disconnect(P): api 1 06-24 19:01:27.061: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:1,p:-1,c:208) getReleasedBuffers: returning mask 0xffffffffffffffff 06-24 19:01:27.064: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:1,p:-1,c:-1) disconnect(C) 06-24 19:01:27.070: I/BufferQueue(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:1,p:-1,c:-1) ~BufferQueueCore 06-24 19:01:27.178: I/dingtao\_Resolver(9702): ----ai.name = com.dropbox.client2.android.AuthActivity 06-24 19:01:27.180: I/ActivityManager(9702): START u0 {cmp=com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity (has extras)} from uid 10113 on display 0 06-24 19:01:27.184: W/System.err(19772): at plugin.viewer.DropboxWrapper.run(DropboxWrapper.java:137) 06-24 19:01:27.219: D/libc-netbsd(19772): [getaddrinfo]: hostname=api.dropbox.com; servname=(null); cache\_mode=(null), netid=0; mark=0 06-24 19:01:27.219: D/libc-netbsd(19772): [getaddrinfo]: hostname=api.dropbox.com; servname=(null); cache\_mode=(null), netid=0; mark=0 06-24 19:01:27.220: D/FrameworkListener(9392): dispatchCommand data = (getaddrinfo api.dropbox.com ^ 1024 0 1 0 0) 06-24 19:01:27.220: D/libc-netbsd(9392): [getaddrinfo]: hostname=api.dropbox.com; servname=(null); cache\_mode=local, netid=150; mark=917654 06-24 19:01:27.220: D/libc-netbsd(9392): res\_queryN name = api.dropbox.com, class = 1, type = 1 06-24 19:01:27.228: V/ActivityThread(19772): Handling launch of ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:27.228: V/ActivityThread(19772): ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}}: app=android.app.Application@27e32e17, appName=com.coronalabs.CoronaViewer, pkg=com.coronalabs.CoronaViewer, comp={com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}, dir=/data/app/com.coronalabs.CoronaViewer-1/base.apk 06-24 19:01:27.230: V/ActivityThread(19772): Performing resume of ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:27.238: V/ActivityManager(9702): send smart intent for new activity com.dropbox.android Where 0 06-24 19:01:27.239: I/ActivityManager(9702): START u0 {act=com.dropbox.android.AUTHENTICATE\_V2 pkg=com.dropbox.android cmp=com.dropbox.android/.activity.auth.DropboxAuth (has extras)} from uid 10113 on display 0 06-24 19:01:27.241: D/ActivityThread(19772): ACT-AM\_ON\_RESUME\_CALLED ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:27.241: V/ActivityThread(19772): Resume ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} started activity: false, hideForNow: false, finished: false 06-24 19:01:27.244: D/ViewRootImpl(19772): hardware acceleration is enabled, this = ViewRoot{230383c5 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity,ident = 15} 06-24 19:01:27.246: V/ActivityThread(19772): Resuming ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} with isForward=true 06-24 19:01:27.246: V/PhoneWindow(19772): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{230383c5 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity,ident = 15}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{2b04f009 V.E..... R.....I. 0,0-0,0} 06-24 19:01:27.246: V/ActivityThread(19772): Scheduling idle handler for ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:27.246: D/ActivityThread(19772): ACT-LAUNCH\_ACTIVITY handled : 0 / ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:27.248: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7fa7e0c000,id:10355,api:0,p:-1,c:208) setConsumerName: com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity 06-24 19:01:27.248: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7fa7e0c000,id:10355,api:0,p:-1,c:208) setDefaultBufferSize: width=1 height=1 06-24 19:01:27.264: D/libc-netbsd(9392): res\_queryN name = api.dropbox.com succeed 06-24 19:01:27.265: D/libc-netbsd(19772): getaddrinfo: api.dropbox.com get result from proxy \>\> 06-24 19:01:27.269: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7fa7e0c000,id:10355,api:0,p:-1,c:208) setDefaultBufferSize: width=800 height=1216 06-24 19:01:27.277: I/BufferQueueProducer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7fa7e0c000,id:10355,api:1,p:19772,c:208) connect(P): api=1 producer=(19772:com.coronalabs.CoronaViewer) producerControlledByApp=true 06-24 19:01:27.277: D/ActivityThread(19772): ACT-AM\_ON\_PAUSE\_CALLED ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:27.278: D/BufferQueueProducer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7fa7e0c000,id:10355,api:1,p:19772,c:208) allocateBuffers: allocating from 0 buffers up to 3 buffers 06-24 19:01:27.281: D/BufferQueueProducer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7fa7e0c000,id:10355,api:1,p:19772,c:208) allocateBuffers: allocating from 3 buffers up to 3 buffers 06-24 19:01:27.284: V/ActivityThread(19211): Handling launch of ActivityRecord{1fac5263 token=android.os.BinderProxy@190b6e60 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:27.284: V/ActivityThread(19211): ActivityRecord{1fac5263 token=android.os.BinderProxy@190b6e60 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}}: app=com.dropbox.android.DropboxApplication@54fd69, appName=com.dropbox.android, pkg=com.dropbox.android, comp={com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}, dir=/data/app/com.dropbox.android-1/base.apk 06-24 19:01:27.318: I/dingtao\_Resolver(9702): ----ai.name = com.dropbox.client2.android.AuthActivity 06-24 19:01:27.344: V/ActivityThread(19211): Performing resume of ActivityRecord{1fac5263 token=android.os.BinderProxy@190b6e60 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:27.349: D/ActivityThread(19211): ACT-AM\_ON\_RESUME\_CALLED ActivityRecord{1fac5263 token=android.os.BinderProxy@190b6e60 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:27.349: V/ActivityThread(19211): Resume ActivityRecord{1fac5263 token=android.os.BinderProxy@190b6e60 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} started activity: false, hideForNow: false, finished: false 06-24 19:01:27.351: D/ViewRootImpl(19211): hardware acceleration is enabled, this = ViewRoot{11d9faa1 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth,ident = 18} 06-24 19:01:27.353: V/ActivityThread(19211): Resuming ActivityRecord{1fac5263 token=android.os.BinderProxy@190b6e60 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} with isForward=true 06-24 19:01:27.353: V/PhoneWindow(19211): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{11d9faa1 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth,ident = 18}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{12b21bde V.ED.... R.....I. 0,0-0,0} 06-24 19:01:27.353: V/ActivityThread(19211): Scheduling idle handler for ActivityRecord{1fac5263 token=android.os.BinderProxy@190b6e60 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:27.354: D/ActivityThread(19211): ACT-LAUNCH\_ACTIVITY handled : 0 / ActivityRecord{1fac5263 token=android.os.BinderProxy@190b6e60 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:27.374: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa5e72000,id:10356,api:0,p:-1,c:208) setConsumerName: com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth 06-24 19:01:27.374: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa5e72000,id:10356,api:0,p:-1,c:208) setDefaultBufferSize: width=1 height=1 06-24 19:01:27.375: V/WindowManager(9702): Changing focus from null to Window{a7605d7 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3593 com.android.server.wm.Session.relayout:202 android.view.IWindowSession$Stub.onTransact:237 com.android.server.wm.Session.onTransact:136 06-24 19:01:27.382: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa5e72000,id:10356,api:0,p:-1,c:208) setDefaultBufferSize: width=734 height=658 06-24 19:01:27.386: I/WindowManager(9702): Gaining focus: Window{a7605d7 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} 06-24 19:01:27.387: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa5e72000,id:10356,api:1,p:19211,c:208) connect(P): api=1 producer=(19211:com.dropbox.android) producerControlledByApp=true 06-24 19:01:27.389: D/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa5e72000,id:10356,api:1,p:19211,c:208) allocateBuffers: allocating from 0 buffers up to 3 buffers 06-24 19:01:27.391: D/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa5e72000,id:10356,api:1,p:19211,c:208) allocateBuffers: allocating from 3 buffers up to 3 buffers 06-24 19:01:27.410: I/ActivityManager(9702): [AppLaunch] Displayed Displayed com.dropbox.android/.activity.auth.DropboxAuth: +133ms (total +209ms) 06-24 19:01:27.411: D/ActivityManager(9702): AP\_PROF:AppLaunch\_LaunchTime:com.dropbox.android/.activity.auth.DropboxAuth:133:692490686 06-24 19:01:27.432: V/ActivityThread(19772): Finishing stop of ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}}: show=true win=com.android.internal.policy.impl.PhoneWindow@1e9e3a27 06-24 19:01:28.107: W/System.err(19772): DropboxServerException (nginx): 400 Bad Request (invalid\_request) 06-24 19:01:28.107: W/System.err(19772): at com.dropbox.client2.RESTUtility.parseAsJSON(RESTUtility.java:265) 06-24 19:01:28.107: W/System.err(19772): at com.dropbox.client2.RESTUtility.execute(RESTUtility.java:415) 06-24 19:01:28.107: W/System.err(19772): at com.dropbox.client2.RESTUtility.execute(RESTUtility.java:339) 06-24 19:01:28.107: W/System.err(19772): at com.dropbox.client2.RESTUtility.streamRequest(RESTUtility.java:194) 06-24 19:01:28.107: W/System.err(19772): at com.dropbox.client2.RESTUtility.request(RESTUtility.java:124) 06-24 19:01:28.107: W/System.err(19772): at com.dropbox.client2.DropboxAPI.delta(DropboxAPI.java:2284) 06-24 19:01:28.119: D/WebView(19211): loadDataWithBaseURL=https://api.dropbox.com:443/r14/app\_info?k=l1q0pln8qsi8qyp&s=&locale=pl\_PL&state=oauth2%3A5fe5bb45ec3642d751495dae25d069e0&dauth\_version=3 06-24 19:01:29.384: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa5e72000,id:10356,api:1,p:19211,c:208) queueBuffer: fps=18.66 dur=1983.29 max=1153.85 min=3.39

I was unable to generate that error. I did a simple test to get the HelloWorld running on CoronaViewer on my Nexus 9. It ran like it supposed to. This part of your log seems meaningful:

06-24 19:01:16.754: V/ActivityThread(19772): Finishing stop of ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}}: show=true win=com.android.internal.policy.impl.PhoneWindow@1b4c1977 06-24 19:01:17.291: W/System.err(19772): DropboxServerException (nginx): 400 Bad Request (invalid\_request) 06-24 19:01:17.291: W/System.err(19772): at com.dropbox.client2.RESTUtility.parseAsJSON(RESTUtility.java:265) 06-24 19:01:17.291: W/System.err(19772): at com.dropbox.client2.RESTUtility.execute(RESTUtility.java:415) 06-24 19:01:17.292: W/System.err(19772): at com.dropbox.client2.RESTUtility.execute(RESTUtility.java:339) 06-24 19:01:17.292: W/System.err(19772): at com.dropbox.client2.RESTUtility.streamRequest(RESTUtility.java:194) 06-24 19:01:17.292: W/System.err(19772): at com.dropbox.client2.RESTUtility.request(RESTUtility.java:124) 06-24 19:01:17.292: W/System.err(19772): at com.dropbox.client2.DropboxAPI.delta(DropboxAPI.java:2284) 06-24 19:01:17.688: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:19211,c:208) queueBuffer: fps=45.94 dur=1001.29 max=251.05 min=15.45 06-24 19:01:17.854: D/WebView(19211): loadDataWithBaseURL=https://api.dropbox.com:443/r14/app\_info?k=l1q0pln8qsi8qyp&s=&locale=pl\_PL&state=oauth2%3A73929c10a14de7633654bb2b1fddaebd&dauth\_version=3

I’ll see if I can get an engineer to look at it. But it will likely be next week before they can get to it.

Rob

There are a couple of things I would like for you to try before we get a bug report for Engineering.

First, I don’t see any Android permissions in your build.settings. It needs to be able to read/write from the file system and Internet at least. My test case has this block in build.settings:
 

 android = { usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.WRITE\_EXTERNAL\_STORAGE", "com.android.vending.BILLING", "com.android.vending.CHECK\_LICENSE", }, },

I doubt the BILLING and CHECK_LICENSE are needed but the rest are.

If that fails (leave it in, I believe you still need it) then replace your project in the DropBox folder Apps/CoronaViewer with our Hello World sample (SampleCode/GettingStarted/HelloWorld) and see if that works (eliminating problems with your project).

Rob

I added these permissions in my build.settings and it doesn’t worked. Then I uploaded to my dropbox CoronaViewer folder the Hello World example from Corona and it worked neither.

Have you tried what I call going nuclear? 1. Delete coronaViewer from phone

  1. Delete dropbox from phone and make sure under setting you under account you are logged out of dropbox( this is on most phones)

  2. Make sure you put your project in a safe place i.e. Not your corona viewer folder.

  3. Delete the corona view folder on desktop

  4. Go to dropbox.com>settings>Security. Then under devices remove your android device and also remove app under “apps linked”

  5. Then redownload the sample on the Github.

This is just a turn it on and off again fix. It may or may not work.

CoronaViewer is one of those products that depends a lot on individual device setup. We can’t see how your Dropbox app is setup and a host of of things.

But if you install and build the stock CoronaViewer sample app, follow the setup instructions and use our HelloWorld sample app it will work. If it doesn’t work for you then you will need to troubleshoot what’s going on with Dropbox or your device. If you can get the stock CoronaViewer to show Hello World, then we have something to go on… We have to get you to this point first.

Here is the CoronaViewer base code:   https://github.com/coronalabs/CoronaViewer

Rob

You did copy a Corona SDK project into the right Dropbox folder, correct?

Yes. I have put all my project files to the Corona Viewer folder on dropbox.

@ref

Can anyone help?

When you do:
 

adb logcat Corona:v *:s

You only get messages from the Corona activity. You don’t get messages from other things that Corona might be using, like Dropbox in this case.  Please look at the console log again running:
 

adb logcat

Yes you will get a lot of useless messages and will have to filter though them to look for Dropbox messages.

Rob

 

An alternative to Rob’s suggestion is to to use the “Monitor” UI application which is included in your local Android SDK installation path (on OS X it is under the tools directory)

It allows you to filter by package name (etc) so you can get cleaner output

Ok, I got all logs that contain anything with “dropbox”

06-24 19:01:15.532: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa9376000,id:10344,api:1,p:19211,c:208) queueBuffer: fps=1.49 dur=11387.91 max=11130.69 min=9.98 06-24 19:01:15.627: D/ViewRootImpl(19211): hardware acceleration is enabled, this = ViewRoot{13a51ff8 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth,ident = 15} 06-24 19:01:15.628: V/WindowManager(9702): Changing focus from Window{36332472 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} to Window{2bcc561f u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} Callers=com.android.server.wm.WindowManagerService.addWindow:2840 com.android.server.wm.Session.addToDisplay:173 android.view.IWindowSession$Stub.onTransact:111 com.android.server.wm.Session.onTransact:136 06-24 19:01:15.629: I/WindowManager(9702): Gaining focus: Window{2bcc561f u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} 06-24 19:01:15.633: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:0,p:-1,c:208) setConsumerName: com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth 06-24 19:01:15.633: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:0,p:-1,c:208) setDefaultBufferSize: width=87 height=87 06-24 19:01:15.642: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:0,p:-1,c:208) setDefaultBufferSize: width=725 height=240 06-24 19:01:15.648: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:1,p:19211,c:208) connect(P): api=1 producer=(19211:com.dropbox.android) producerControlledByApp=true 06-24 19:01:15.649: D/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:1,p:19211,c:208) allocateBuffers: allocating from 0 buffers up to 3 buffers 06-24 19:01:15.650: D/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:1,p:19211,c:208) allocateBuffers: allocating from 3 buffers up to 3 buffers 06-24 19:01:16.103: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:1,p:-1,c:208) disconnect(P): api 1 06-24 19:01:16.103: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:1,p:-1,c:208) getReleasedBuffers: returning mask 0xfffffffffffffffa 06-24 19:01:16.105: V/WindowManager(9702): Changing focus from Window{2bcc561f u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth EXITING} to Window{36332472 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} Callers=com.android.server.wm.WindowManagerService.removeWindowLocked:2973 com.android.server.wm.WindowManagerService.removeWindow:2910 com.android.server.wm.Session.remove:192 android.view.IWindowSession$Stub.onTransact:197 06-24 19:01:16.108: I/WindowManager(9702): Gaining focus: Window{36332472 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} 06-24 19:01:16.108: I/WindowManager(9702): Losing focus: Window{2bcc561f u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth EXITING} 06-24 19:01:16.112: I/ActivityManager(9702): START u0 {act=android.intent.action.VIEW flg=0x24000000 cmp=com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity (has extras)} from uid 10111 on display 0 06-24 19:01:16.115: W/ActivityManager(9702): Duplicate finish request for ActivityRecord{2174d128 u0 com.dropbox.android/.activity.auth.DropboxAuth t707 f} 06-24 19:01:16.139: D/ActivityThread(19211): ACT-AM\_ON\_PAUSE\_CALLED ActivityRecord{1b0dd13a token=android.os.BinderProxy@77df1eb {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:16.144: V/WindowManager(9702): Changing focus from Window{36332472 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} to Window{19d9d7d4 u0 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity} Callers=com.android.server.wm.WindowManagerService.handleAppTransitionReadyLocked:9869 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:10447 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:9308 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked:9250 06-24 19:01:16.145: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:1,p:-1,c:-1) disconnect(C) 06-24 19:01:16.146: I/BufferQueue(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa4cd000,id:10345,api:1,p:-1,c:-1) ~BufferQueueCore 06-24 19:01:16.149: I/WindowManager(9702): Gaining focus: Window{19d9d7d4 u0 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity} 06-24 19:01:16.149: I/WindowManager(9702): Losing focus: Window{36332472 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} 06-24 19:01:16.167: D/ActivityThread(19772): ACT-NEW\_INTENT handled : 0 / NewIntentData{intents=[Intent { act=android.intent.action.VIEW flg=0x34000000 cmp=com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity (has extras) }] token=android.os.BinderProxy@2e4e8439} 06-24 19:01:16.167: V/ActivityThread(19772): Performing resume of ActivityRecord{20032400 token=android.os.BinderProxy@2e4e8439 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:16.167: V/ActivityThread(19772): Resume ActivityRecord{20032400 token=android.os.BinderProxy@2e4e8439 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} started activity: false, hideForNow: false, finished: true 06-24 19:01:16.167: V/ActivityThread(19772): Scheduling idle handler for ActivityRecord{20032400 token=android.os.BinderProxy@2e4e8439 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:16.182: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa9376000,id:10344,api:1,p:-1,c:208) disconnect(P): api 1 06-24 19:01:16.183: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa9376000,id:10344,api:1,p:-1,c:208) getReleasedBuffers: returning mask 0xffffffffffffffff 06-24 19:01:16.195: V/WindowManager(9702): Changing focus from Window{19d9d7d4 u0 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity} to null Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3593 com.android.server.wm.Session.relayout:202 android.view.ViewRootImpl.relayoutWindow:5739 android.view.ViewRootImpl.performTraversals:1765 06-24 19:01:16.219: I/WindowManager(9702): Losing focus: Window{19d9d7d4 u0 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity} 06-24 19:01:16.229: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa9376000,id:10344,api:1,p:-1,c:-1) disconnect(C) 06-24 19:01:16.230: I/BufferQueue(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa9376000,id:10344,api:1,p:-1,c:-1) ~BufferQueueCore 06-24 19:01:16.309: I/BufferQueueProducer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa5d5000,id:10343,api:1,p:-1,c:208) disconnect(P): api 1 06-24 19:01:16.310: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa5d5000,id:10343,api:1,p:-1,c:208) getReleasedBuffers: returning mask 0xffffffffffffffff 06-24 19:01:16.330: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa5d5000,id:10343,api:1,p:-1,c:-1) disconnect(C) 06-24 19:01:16.330: I/BufferQueue(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa5d5000,id:10343,api:1,p:-1,c:-1) ~BufferQueueCore 06-24 19:01:16.389: I/dingtao\_Resolver(9702): ----ai.name = com.dropbox.client2.android.AuthActivity 06-24 19:01:16.392: I/ActivityManager(9702): START u0 {cmp=com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity (has extras)} from uid 10113 on display 0 06-24 19:01:16.402: W/System.err(19772): at plugin.viewer.DropboxWrapper.run(DropboxWrapper.java:137) 06-24 19:01:16.425: D/libc-netbsd(19772): [getaddrinfo]: hostname=api.dropbox.com; servname=(null); cache\_mode=(null), netid=0; mark=0 06-24 19:01:16.425: D/libc-netbsd(19772): [getaddrinfo]: hostname=api.dropbox.com; servname=(null); cache\_mode=(null), netid=0; mark=0 06-24 19:01:16.425: D/FrameworkListener(9392): dispatchCommand data = (getaddrinfo api.dropbox.com ^ 1024 0 1 0 0) 06-24 19:01:16.428: D/libc-netbsd(9392): [getaddrinfo]: hostname=api.dropbox.com; servname=(null); cache\_mode=local, netid=150; mark=917654 06-24 19:01:16.428: D/libc-netbsd(9392): res\_queryN name = api.dropbox.com, class = 1, type = 1 06-24 19:01:16.428: D/libc-netbsd(9392): res\_queryN name = api.dropbox.com succeed 06-24 19:01:16.429: D/libc-netbsd(19772): getaddrinfo: api.dropbox.com get result from proxy \>\> 06-24 19:01:16.438: V/ActivityThread(19772): Handling launch of ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:16.438: V/ActivityThread(19772): ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}}: app=android.app.Application@27e32e17, appName=com.coronalabs.CoronaViewer, pkg=com.coronalabs.CoronaViewer, comp={com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}, dir=/data/app/com.coronalabs.CoronaViewer-1/base.apk 06-24 19:01:16.440: V/ActivityThread(19772): Performing resume of ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:16.449: V/ActivityManager(9702): send smart intent for new activity com.dropbox.android Where 0 06-24 19:01:16.450: I/ActivityManager(9702): START u0 {act=com.dropbox.android.AUTHENTICATE\_V2 pkg=com.dropbox.android cmp=com.dropbox.android/.activity.auth.DropboxAuth (has extras)} from uid 10113 on display 0 06-24 19:01:16.452: D/ActivityThread(19772): ACT-AM\_ON\_RESUME\_CALLED ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:16.452: V/ActivityThread(19772): Resume ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} started activity: false, hideForNow: false, finished: false 06-24 19:01:16.455: D/ViewRootImpl(19772): hardware acceleration is enabled, this = ViewRoot{18d85195 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity,ident = 13} 06-24 19:01:16.456: V/ActivityThread(19772): Resuming ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} with isForward=true 06-24 19:01:16.456: V/PhoneWindow(19772): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{18d85195 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity,ident = 13}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{2ad980d9 V.E..... R.....I. 0,0-0,0} 06-24 19:01:16.456: V/ActivityThread(19772): Scheduling idle handler for ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:16.457: D/ActivityThread(19772): ACT-LAUNCH\_ACTIVITY handled : 0 / ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:16.463: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:0,p:-1,c:208) setConsumerName: com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity 06-24 19:01:16.463: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:0,p:-1,c:208) setDefaultBufferSize: width=1 height=1 06-24 19:01:16.481: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:0,p:-1,c:208) setDefaultBufferSize: width=800 height=1216 06-24 19:01:16.486: D/ActivityThread(19772): ACT-AM\_ON\_PAUSE\_CALLED ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:16.486: I/BufferQueueProducer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:1,p:19772,c:208) connect(P): api=1 producer=(19772:com.coronalabs.CoronaViewer) producerControlledByApp=true 06-24 19:01:16.488: D/BufferQueueProducer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:1,p:19772,c:208) allocateBuffers: allocating from 0 buffers up to 3 buffers 06-24 19:01:16.492: D/BufferQueueProducer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:1,p:19772,c:208) allocateBuffers: allocating from 3 buffers up to 3 buffers 06-24 19:01:16.494: V/ActivityThread(19211): Handling launch of ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:16.495: V/ActivityThread(19211): ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}}: app=com.dropbox.android.DropboxApplication@54fd69, appName=com.dropbox.android, pkg=com.dropbox.android, comp={com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}, dir=/data/app/com.dropbox.android-1/base.apk 06-24 19:01:16.541: I/dingtao\_Resolver(9702): ----ai.name = com.dropbox.client2.android.AuthActivity 06-24 19:01:16.572: V/ActivityThread(19211): Performing resume of ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:16.579: D/ActivityThread(19211): ACT-AM\_ON\_RESUME\_CALLED ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:16.579: V/ActivityThread(19211): Resume ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} started activity: false, hideForNow: false, finished: false 06-24 19:01:16.609: D/ViewRootImpl(19211): hardware acceleration is enabled, this = ViewRoot{2a669a15 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth,ident = 16} 06-24 19:01:16.611: V/ActivityThread(19211): Resuming ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} with isForward=true 06-24 19:01:16.611: V/PhoneWindow(19211): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{2a669a15 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth,ident = 16}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{2ff8f50d V.ED.... R.....I. 0,0-0,0} 06-24 19:01:16.612: V/ActivityThread(19211): Scheduling idle handler for ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:16.612: D/ActivityThread(19211): ACT-LAUNCH\_ACTIVITY handled : 0 / ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:16.645: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:0,p:-1,c:208) setConsumerName: com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth 06-24 19:01:16.645: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:0,p:-1,c:208) setDefaultBufferSize: width=1 height=1 06-24 19:01:16.646: V/WindowManager(9702): Changing focus from null to Window{8014c15 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3593 com.android.server.wm.Session.relayout:202 android.view.IWindowSession$Stub.onTransact:237 com.android.server.wm.Session.onTransact:136 06-24 19:01:16.664: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:0,p:-1,c:208) setDefaultBufferSize: width=734 height=658 06-24 19:01:16.669: I/WindowManager(9702): Gaining focus: Window{8014c15 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} 06-24 19:01:16.670: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:19211,c:208) connect(P): api=1 producer=(19211:com.dropbox.android) producerControlledByApp=true 06-24 19:01:16.672: D/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:19211,c:208) allocateBuffers: allocating from 0 buffers up to 3 buffers 06-24 19:01:16.674: D/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:19211,c:208) allocateBuffers: allocating from 3 buffers up to 3 buffers 06-24 19:01:16.694: I/ActivityManager(9702): [AppLaunch] Displayed Displayed com.dropbox.android/.activity.auth.DropboxAuth: +205ms (total +284ms) 06-24 19:01:16.694: D/ActivityManager(9702): AP\_PROF:AppLaunch\_LaunchTime:com.dropbox.android/.activity.auth.DropboxAuth:205:692479970 06-24 19:01:16.754: V/ActivityThread(19772): Finishing stop of ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}}: show=true win=com.android.internal.policy.impl.PhoneWindow@1b4c1977 06-24 19:01:17.291: W/System.err(19772): DropboxServerException (nginx): 400 Bad Request (invalid\_request) 06-24 19:01:17.291: W/System.err(19772): at com.dropbox.client2.RESTUtility.parseAsJSON(RESTUtility.java:265) 06-24 19:01:17.291: W/System.err(19772): at com.dropbox.client2.RESTUtility.execute(RESTUtility.java:415) 06-24 19:01:17.292: W/System.err(19772): at com.dropbox.client2.RESTUtility.execute(RESTUtility.java:339) 06-24 19:01:17.292: W/System.err(19772): at com.dropbox.client2.RESTUtility.streamRequest(RESTUtility.java:194) 06-24 19:01:17.292: W/System.err(19772): at com.dropbox.client2.RESTUtility.request(RESTUtility.java:124) 06-24 19:01:17.292: W/System.err(19772): at com.dropbox.client2.DropboxAPI.delta(DropboxAPI.java:2284) 06-24 19:01:17.688: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:19211,c:208) queueBuffer: fps=45.94 dur=1001.29 max=251.05 min=15.45 06-24 19:01:17.854: D/WebView(19211): loadDataWithBaseURL=https://api.dropbox.com:443/r14/app\_info?k=l1q0pln8qsi8qyp&s=&locale=pl\_PL&state=oauth2%3A73929c10a14de7633654bb2b1fddaebd&dauth\_version=3 06-24 19:01:19.113: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:19211,c:208) queueBuffer: fps=11.93 dur=1424.58 max=1148.27 min=3.45 06-24 19:01:26.207: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:19211,c:208) queueBuffer: fps=2.26 dur=7094.09 max=6826.35 min=12.30 06-24 19:01:26.307: D/ViewRootImpl(19211): hardware acceleration is enabled, this = ViewRoot{6fb0e1d com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth,ident = 17} 06-24 19:01:26.309: V/WindowManager(9702): Changing focus from Window{8014c15 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} to Window{11b79491 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} Callers=com.android.server.wm.WindowManagerService.addWindow:2840 com.android.server.wm.Session.addToDisplay:173 android.view.IWindowSession$Stub.onTransact:111 com.android.server.wm.Session.onTransact:136 06-24 19:01:26.310: I/WindowManager(9702): Gaining focus: Window{11b79491 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} 06-24 19:01:26.315: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:0,p:-1,c:208) setConsumerName: com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth 06-24 19:01:26.315: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:0,p:-1,c:208) setDefaultBufferSize: width=87 height=87 06-24 19:01:26.327: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:0,p:-1,c:208) setDefaultBufferSize: width=725 height=240 06-24 19:01:26.332: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:1,p:19211,c:208) connect(P): api=1 producer=(19211:com.dropbox.android) producerControlledByApp=true 06-24 19:01:26.333: D/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:1,p:19211,c:208) allocateBuffers: allocating from 0 buffers up to 3 buffers 06-24 19:01:26.334: D/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:1,p:19211,c:208) allocateBuffers: allocating from 3 buffers up to 3 buffers 06-24 19:01:26.887: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:1,p:-1,c:208) disconnect(P): api 1 06-24 19:01:26.887: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:1,p:-1,c:208) getReleasedBuffers: returning mask 0xfffffffffffffffa 06-24 19:01:26.889: V/WindowManager(9702): Changing focus from Window{11b79491 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth EXITING} to Window{8014c15 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} Callers=com.android.server.wm.WindowManagerService.removeWindowLocked:2973 com.android.server.wm.WindowManagerService.removeWindow:2910 com.android.server.wm.Session.remove:192 android.view.IWindowSession$Stub.onTransact:197 06-24 19:01:26.891: I/WindowManager(9702): Gaining focus: Window{8014c15 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} 06-24 19:01:26.891: I/WindowManager(9702): Losing focus: Window{11b79491 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth EXITING} 06-24 19:01:26.893: I/ActivityManager(9702): START u0 {act=android.intent.action.VIEW flg=0x24000000 cmp=com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity (has extras)} from uid 10111 on display 0 06-24 19:01:26.896: W/ActivityManager(9702): Duplicate finish request for ActivityRecord{26ca8ca3 u0 com.dropbox.android/.activity.auth.DropboxAuth t707 f} 06-24 19:01:26.925: D/ActivityThread(19211): ACT-AM\_ON\_PAUSE\_CALLED ActivityRecord{22c16336 token=android.os.BinderProxy@2a55e237 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:26.930: V/WindowManager(9702): Changing focus from Window{8014c15 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} to Window{3b6f4fff u0 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity} Callers=com.android.server.wm.WindowManagerService.handleAppTransitionReadyLocked:9869 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:10447 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:9308 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked:9250 06-24 19:01:26.930: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:1,p:-1,c:-1) disconnect(C) 06-24 19:01:26.930: I/BufferQueue(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa7e0c000,id:10351,api:1,p:-1,c:-1) ~BufferQueueCore 06-24 19:01:26.935: I/WindowManager(9702): Gaining focus: Window{3b6f4fff u0 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity} 06-24 19:01:26.935: I/WindowManager(9702): Losing focus: Window{8014c15 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} 06-24 19:01:26.952: D/ActivityThread(19772): ACT-NEW\_INTENT handled : 0 / NewIntentData{intents=[Intent { act=android.intent.action.VIEW flg=0x34000000 cmp=com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity (has extras) }] token=android.os.BinderProxy@285faf20} 06-24 19:01:26.952: V/ActivityThread(19772): Performing resume of ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:26.952: V/ActivityThread(19772): Resume ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} started activity: false, hideForNow: false, finished: true 06-24 19:01:26.952: V/ActivityThread(19772): Scheduling idle handler for ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:26.970: V/WindowManager(9702): Changing focus from Window{3b6f4fff u0 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity} to null Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3593 com.android.server.wm.Session.relayout:202 android.view.ViewRootImpl.relayoutWindow:5739 android.view.ViewRootImpl.performTraversals:1765 06-24 19:01:26.972: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:-1,c:208) disconnect(P): api 1 06-24 19:01:26.972: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:-1,c:208) getReleasedBuffers: returning mask 0xffffffffffffffff 06-24 19:01:26.987: I/WindowManager(9702): Losing focus: Window{3b6f4fff u0 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity} 06-24 19:01:26.997: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:-1,c:-1) disconnect(C) 06-24 19:01:26.997: I/BufferQueue(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:-1,c:-1) ~BufferQueueCore 06-24 19:01:27.060: I/BufferQueueProducer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:1,p:-1,c:208) disconnect(P): api 1 06-24 19:01:27.061: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:1,p:-1,c:208) getReleasedBuffers: returning mask 0xffffffffffffffff 06-24 19:01:27.064: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:1,p:-1,c:-1) disconnect(C) 06-24 19:01:27.070: I/BufferQueue(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7faa4cd000,id:10349,api:1,p:-1,c:-1) ~BufferQueueCore 06-24 19:01:27.178: I/dingtao\_Resolver(9702): ----ai.name = com.dropbox.client2.android.AuthActivity 06-24 19:01:27.180: I/ActivityManager(9702): START u0 {cmp=com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity (has extras)} from uid 10113 on display 0 06-24 19:01:27.184: W/System.err(19772): at plugin.viewer.DropboxWrapper.run(DropboxWrapper.java:137) 06-24 19:01:27.219: D/libc-netbsd(19772): [getaddrinfo]: hostname=api.dropbox.com; servname=(null); cache\_mode=(null), netid=0; mark=0 06-24 19:01:27.219: D/libc-netbsd(19772): [getaddrinfo]: hostname=api.dropbox.com; servname=(null); cache\_mode=(null), netid=0; mark=0 06-24 19:01:27.220: D/FrameworkListener(9392): dispatchCommand data = (getaddrinfo api.dropbox.com ^ 1024 0 1 0 0) 06-24 19:01:27.220: D/libc-netbsd(9392): [getaddrinfo]: hostname=api.dropbox.com; servname=(null); cache\_mode=local, netid=150; mark=917654 06-24 19:01:27.220: D/libc-netbsd(9392): res\_queryN name = api.dropbox.com, class = 1, type = 1 06-24 19:01:27.228: V/ActivityThread(19772): Handling launch of ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:27.228: V/ActivityThread(19772): ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}}: app=android.app.Application@27e32e17, appName=com.coronalabs.CoronaViewer, pkg=com.coronalabs.CoronaViewer, comp={com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}, dir=/data/app/com.coronalabs.CoronaViewer-1/base.apk 06-24 19:01:27.230: V/ActivityThread(19772): Performing resume of ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:27.238: V/ActivityManager(9702): send smart intent for new activity com.dropbox.android Where 0 06-24 19:01:27.239: I/ActivityManager(9702): START u0 {act=com.dropbox.android.AUTHENTICATE\_V2 pkg=com.dropbox.android cmp=com.dropbox.android/.activity.auth.DropboxAuth (has extras)} from uid 10113 on display 0 06-24 19:01:27.241: D/ActivityThread(19772): ACT-AM\_ON\_RESUME\_CALLED ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:27.241: V/ActivityThread(19772): Resume ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} started activity: false, hideForNow: false, finished: false 06-24 19:01:27.244: D/ViewRootImpl(19772): hardware acceleration is enabled, this = ViewRoot{230383c5 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity,ident = 15} 06-24 19:01:27.246: V/ActivityThread(19772): Resuming ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} with isForward=true 06-24 19:01:27.246: V/PhoneWindow(19772): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{230383c5 com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity,ident = 15}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{2b04f009 V.E..... R.....I. 0,0-0,0} 06-24 19:01:27.246: V/ActivityThread(19772): Scheduling idle handler for ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:27.246: D/ActivityThread(19772): ACT-LAUNCH\_ACTIVITY handled : 0 / ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:27.248: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7fa7e0c000,id:10355,api:0,p:-1,c:208) setConsumerName: com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity 06-24 19:01:27.248: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7fa7e0c000,id:10355,api:0,p:-1,c:208) setDefaultBufferSize: width=1 height=1 06-24 19:01:27.264: D/libc-netbsd(9392): res\_queryN name = api.dropbox.com succeed 06-24 19:01:27.265: D/libc-netbsd(19772): getaddrinfo: api.dropbox.com get result from proxy \>\> 06-24 19:01:27.269: I/BufferQueueConsumer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7fa7e0c000,id:10355,api:0,p:-1,c:208) setDefaultBufferSize: width=800 height=1216 06-24 19:01:27.277: I/BufferQueueProducer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7fa7e0c000,id:10355,api:1,p:19772,c:208) connect(P): api=1 producer=(19772:com.coronalabs.CoronaViewer) producerControlledByApp=true 06-24 19:01:27.277: D/ActivityThread(19772): ACT-AM\_ON\_PAUSE\_CALLED ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}} 06-24 19:01:27.278: D/BufferQueueProducer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7fa7e0c000,id:10355,api:1,p:19772,c:208) allocateBuffers: allocating from 0 buffers up to 3 buffers 06-24 19:01:27.281: D/BufferQueueProducer(208): [com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity](this:0x7fa7e0c000,id:10355,api:1,p:19772,c:208) allocateBuffers: allocating from 3 buffers up to 3 buffers 06-24 19:01:27.284: V/ActivityThread(19211): Handling launch of ActivityRecord{1fac5263 token=android.os.BinderProxy@190b6e60 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:27.284: V/ActivityThread(19211): ActivityRecord{1fac5263 token=android.os.BinderProxy@190b6e60 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}}: app=com.dropbox.android.DropboxApplication@54fd69, appName=com.dropbox.android, pkg=com.dropbox.android, comp={com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}, dir=/data/app/com.dropbox.android-1/base.apk 06-24 19:01:27.318: I/dingtao\_Resolver(9702): ----ai.name = com.dropbox.client2.android.AuthActivity 06-24 19:01:27.344: V/ActivityThread(19211): Performing resume of ActivityRecord{1fac5263 token=android.os.BinderProxy@190b6e60 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:27.349: D/ActivityThread(19211): ACT-AM\_ON\_RESUME\_CALLED ActivityRecord{1fac5263 token=android.os.BinderProxy@190b6e60 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:27.349: V/ActivityThread(19211): Resume ActivityRecord{1fac5263 token=android.os.BinderProxy@190b6e60 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} started activity: false, hideForNow: false, finished: false 06-24 19:01:27.351: D/ViewRootImpl(19211): hardware acceleration is enabled, this = ViewRoot{11d9faa1 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth,ident = 18} 06-24 19:01:27.353: V/ActivityThread(19211): Resuming ActivityRecord{1fac5263 token=android.os.BinderProxy@190b6e60 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} with isForward=true 06-24 19:01:27.353: V/PhoneWindow(19211): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{11d9faa1 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth,ident = 18}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{12b21bde V.ED.... R.....I. 0,0-0,0} 06-24 19:01:27.353: V/ActivityThread(19211): Scheduling idle handler for ActivityRecord{1fac5263 token=android.os.BinderProxy@190b6e60 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:27.354: D/ActivityThread(19211): ACT-LAUNCH\_ACTIVITY handled : 0 / ActivityRecord{1fac5263 token=android.os.BinderProxy@190b6e60 {com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth}} 06-24 19:01:27.374: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa5e72000,id:10356,api:0,p:-1,c:208) setConsumerName: com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth 06-24 19:01:27.374: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa5e72000,id:10356,api:0,p:-1,c:208) setDefaultBufferSize: width=1 height=1 06-24 19:01:27.375: V/WindowManager(9702): Changing focus from null to Window{a7605d7 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3593 com.android.server.wm.Session.relayout:202 android.view.IWindowSession$Stub.onTransact:237 com.android.server.wm.Session.onTransact:136 06-24 19:01:27.382: I/BufferQueueConsumer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa5e72000,id:10356,api:0,p:-1,c:208) setDefaultBufferSize: width=734 height=658 06-24 19:01:27.386: I/WindowManager(9702): Gaining focus: Window{a7605d7 u0 com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth} 06-24 19:01:27.387: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa5e72000,id:10356,api:1,p:19211,c:208) connect(P): api=1 producer=(19211:com.dropbox.android) producerControlledByApp=true 06-24 19:01:27.389: D/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa5e72000,id:10356,api:1,p:19211,c:208) allocateBuffers: allocating from 0 buffers up to 3 buffers 06-24 19:01:27.391: D/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa5e72000,id:10356,api:1,p:19211,c:208) allocateBuffers: allocating from 3 buffers up to 3 buffers 06-24 19:01:27.410: I/ActivityManager(9702): [AppLaunch] Displayed Displayed com.dropbox.android/.activity.auth.DropboxAuth: +133ms (total +209ms) 06-24 19:01:27.411: D/ActivityManager(9702): AP\_PROF:AppLaunch\_LaunchTime:com.dropbox.android/.activity.auth.DropboxAuth:133:692490686 06-24 19:01:27.432: V/ActivityThread(19772): Finishing stop of ActivityRecord{22e24dd3 token=android.os.BinderProxy@12439d10 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}}: show=true win=com.android.internal.policy.impl.PhoneWindow@1e9e3a27 06-24 19:01:28.107: W/System.err(19772): DropboxServerException (nginx): 400 Bad Request (invalid\_request) 06-24 19:01:28.107: W/System.err(19772): at com.dropbox.client2.RESTUtility.parseAsJSON(RESTUtility.java:265) 06-24 19:01:28.107: W/System.err(19772): at com.dropbox.client2.RESTUtility.execute(RESTUtility.java:415) 06-24 19:01:28.107: W/System.err(19772): at com.dropbox.client2.RESTUtility.execute(RESTUtility.java:339) 06-24 19:01:28.107: W/System.err(19772): at com.dropbox.client2.RESTUtility.streamRequest(RESTUtility.java:194) 06-24 19:01:28.107: W/System.err(19772): at com.dropbox.client2.RESTUtility.request(RESTUtility.java:124) 06-24 19:01:28.107: W/System.err(19772): at com.dropbox.client2.DropboxAPI.delta(DropboxAPI.java:2284) 06-24 19:01:28.119: D/WebView(19211): loadDataWithBaseURL=https://api.dropbox.com:443/r14/app\_info?k=l1q0pln8qsi8qyp&s=&locale=pl\_PL&state=oauth2%3A5fe5bb45ec3642d751495dae25d069e0&dauth\_version=3 06-24 19:01:29.384: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7fa5e72000,id:10356,api:1,p:19211,c:208) queueBuffer: fps=18.66 dur=1983.29 max=1153.85 min=3.39

I was unable to generate that error. I did a simple test to get the HelloWorld running on CoronaViewer on my Nexus 9. It ran like it supposed to. This part of your log seems meaningful:

06-24 19:01:16.754: V/ActivityThread(19772): Finishing stop of ActivityRecord{e1a1e23 token=android.os.BinderProxy@285faf20 {com.coronalabs.CoronaViewer/com.dropbox.client2.android.AuthActivity}}: show=true win=com.android.internal.policy.impl.PhoneWindow@1b4c1977 06-24 19:01:17.291: W/System.err(19772): DropboxServerException (nginx): 400 Bad Request (invalid\_request) 06-24 19:01:17.291: W/System.err(19772): at com.dropbox.client2.RESTUtility.parseAsJSON(RESTUtility.java:265) 06-24 19:01:17.291: W/System.err(19772): at com.dropbox.client2.RESTUtility.execute(RESTUtility.java:415) 06-24 19:01:17.292: W/System.err(19772): at com.dropbox.client2.RESTUtility.execute(RESTUtility.java:339) 06-24 19:01:17.292: W/System.err(19772): at com.dropbox.client2.RESTUtility.streamRequest(RESTUtility.java:194) 06-24 19:01:17.292: W/System.err(19772): at com.dropbox.client2.RESTUtility.request(RESTUtility.java:124) 06-24 19:01:17.292: W/System.err(19772): at com.dropbox.client2.DropboxAPI.delta(DropboxAPI.java:2284) 06-24 19:01:17.688: I/BufferQueueProducer(208): [com.dropbox.android/com.dropbox.android.activity.auth.DropboxAuth](this:0x7faa5d5000,id:10350,api:1,p:19211,c:208) queueBuffer: fps=45.94 dur=1001.29 max=251.05 min=15.45 06-24 19:01:17.854: D/WebView(19211): loadDataWithBaseURL=https://api.dropbox.com:443/r14/app\_info?k=l1q0pln8qsi8qyp&s=&locale=pl\_PL&state=oauth2%3A73929c10a14de7633654bb2b1fddaebd&dauth\_version=3

I’ll see if I can get an engineer to look at it. But it will likely be next week before they can get to it.

Rob

There are a couple of things I would like for you to try before we get a bug report for Engineering.

First, I don’t see any Android permissions in your build.settings. It needs to be able to read/write from the file system and Internet at least. My test case has this block in build.settings:
 

 android = { usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.WRITE\_EXTERNAL\_STORAGE", "com.android.vending.BILLING", "com.android.vending.CHECK\_LICENSE", }, },

I doubt the BILLING and CHECK_LICENSE are needed but the rest are.

If that fails (leave it in, I believe you still need it) then replace your project in the DropBox folder Apps/CoronaViewer with our Hello World sample (SampleCode/GettingStarted/HelloWorld) and see if that works (eliminating problems with your project).

Rob