Error When CoronaViewer apk is opened

After building and installing CoronaViewer Apk in my device, 
I get the following error when I open the apk. 
 

08-29 17:39:08.495: I/Corona(3897): /Users/Timeplusq/Downloads/CoronaViewer-master/main.lua:3: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() 08-29 17:39:08.495: I/Corona(3897): Java Stack Trace: 08-29 17:39:08.495: I/Corona(3897): android.os.Handler.\<init\>(Handler.java:197) 08-29 17:39:08.495: I/Corona(3897): android.os.Handler.\<init\>(Handler.java:111) 08-29 17:39:08.495: I/Corona(3897): android.app.Dialog.\<init\>(Dialog.java:108) 08-29 17:39:08.495: I/Corona(3897): android.app.AlertDialog.\<init\>(AlertDialog.java:114) 08-29 17:39:08.495: I/Corona(3897): android.app.AlertDialog$Builder.create(AlertDialog.java:931) 08-29 17:39:08.495: I/Corona(3897): android.app.AlertDialog$Builder.show(AlertDialog.java:950) 08-29 17:39:08.495: I/Corona(3897): com.dropbox.client2.android.AuthActivity.checkAppBeforeAuth(AuthActivity.java:244) 08-29 17:39:08.495: I/Corona(3897): com.dropbox.client2.android.AndroidAuthSession.startOAuth2Authentication(AndroidAuthSession.java:115) 08-29 17:39:08.495: I/Corona(3897): plugin.viewer.DropboxWrapper.login(DropboxWrapper.java:69) 08-29 17:39:08.495: I/Corona(3897): plugin.viewer.LuaLoader.run(LuaLoader.java:104) 08-29 17:39:08.495: I/Corona(3897): plugin.viewer.LuaLoader.access$100(LuaLoader.java:30) 08-29 17:39:08.495: I/Corona(3897): plugin.viewer.LuaLoader$RunWrapper.invoke(LuaLoader.java:91) 08-29 17:39:08.495: I/Corona(3897): com.ansca.corona.JavaToNativeShim.nativeResize(Native Method) 08-29 17:39:08.495: I/Corona(3897): com.ansca.corona.JavaToNativeShim.resize(Java

I am unable to use the app any further… 
What’s happening?

The forums say you are a Starter account.  This is only available for Pro and higher level subscribers.

Rob

@Rob
That’s not the problem. 
I built the Viewer APK using my company’s Pro account… 
 

I have just encountered the same problem today. It was running all right last month but when I uninstalled and installed newly built apk, It reports Looper error.  I am using Galaxy S5. 

Bump! Any ideas on this @Rob
I still get this error… 

I asked Engineering but I’ve not gotten an answer yet.  Keep in mind that we are coming off of a 3 day holiday weekend.

Rob

Ah ok! Waiting for some clarification on this. 

The plugin hasn’t changed since it’s initial release. 

Have you ever had it running on Android? 

Can you post your build.settings? 

You do have the dropbox app installed, and you are logged in and have the right folder structure setup?

Rob

I am using the corona viewer gitHub source codes without changes and the simulator build #2014.2419.  CoronaViewer was running good before I built with #2014.2419. When I re-installed apk built with #2419. It reported Looper error.

I found the old apk built  on 18 July and re-installed it but the same error happens. Dropbox app version is 2.4.3.12. Galaxy S5’s android version is 4.4.2

ymmtny

If your old version isn’t working, that rules out any changes to the plugin or sample code from github or the version you are building with now, since it was the older working .apk.  I’d check out your dropbox and make sure it’s logged in and can see your folders.

Also do you know if Dropbox has updated their app since it was working last for you?

Rob

@Rob any updates
All of my devices (even those with no dropbox apps installed) show this error. 

It works in my old Samsung Nexus S though…

Ok I figured out what the problem was… 

One of the apps I had installed previously in my device also had  the viewer plugin in its builld.settings. 
Apparently, Corona Viewer doesn’t like more than 1 app with the viewer plugin included. 

Such a silly thing -_-

Glad you figured it out.

> device also had  the viewer plugin in its builld.settings

Good. It solved mine too.  :slight_smile:

The forums say you are a Starter account.  This is only available for Pro and higher level subscribers.

Rob

@Rob
That’s not the problem. 
I built the Viewer APK using my company’s Pro account… 
 

I have just encountered the same problem today. It was running all right last month but when I uninstalled and installed newly built apk, It reports Looper error.  I am using Galaxy S5. 

Bump! Any ideas on this @Rob
I still get this error… 

I asked Engineering but I’ve not gotten an answer yet.  Keep in mind that we are coming off of a 3 day holiday weekend.

Rob