I had added the Internet permissions to build.settings. The entire changes I have made are:
- Setup Facebook Developer account, created new App. Configured the Native Android section as follows:
- Package Name: a.b.c.d (same as when building app)
- Class name: com.ansca.corona.CoronaActivity
- Key Hash: JGn9F2vDQ/w6hexLxdefCUpxYIA= (built using the developer key)
- Facebook Login: Enabled
- Deep Linking: Enabled
- Entered appId into line 267 of the Facebook connect demo app.
- App Secret not entered anywhere - I believe this is correct
After building and installing on my Nexus 7 which has Internet conenctivity and the latest version of the Facebook App installed, the app runs but shows only “Not connected”.
Pressing any of the buttons highlights them to indicate they have been touched but does not perform any action, error or otherwise.
Viewing the LogCat file does not appear to show any connectivity attempts to Facebook as shown below.
Any help anyone can give would be much appreciated as I’m tearing what little hair I have left out on this one!
I/ActivityManager( 443): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=a.b.c.d/com.ansca.corona.CoronaActivity} from pid 836 D/dalvikvm( 443): GC\_FOR\_ALLOC freed 1077K, 27% free 23631K/32092K, paused 87ms, total 88ms D/dalvikvm(21443): Late-enabling CheckJNI I/ActivityManager( 443): Start proc a.b.c.d for activity a.b.c.d/com.ansca.corona.CoronaActivity: pid=21443 uid=10120 gids={50120, 3003, 1028} D/dalvikvm( 126): GC\_EXPLICIT freed 40K, 3% free 7315K/7532K, paused 1ms+2ms, total 40ms D/dalvikvm( 126): GC\_EXPLICIT freed \<1K, 3% free 7315K/7532K, paused 1ms+4ms, total 41ms D/dalvikvm( 126): GC\_EXPLICIT freed \<1K, 3% free 7315K/7532K, paused 1ms+2ms, total 36ms D/dalvikvm(21443): Trying to load lib /data/app-lib/a.b.c.d-1/liblua.so 0x4234a708 D/dalvikvm(21443): Added shared lib /data/app-lib/a.b.c.d-1/liblua.so 0x4234a708 D/dalvikvm(21443): No JNI\_OnLoad found in /data/app-lib/a.b.c.d-1/liblua.so 0x4234a708, skipping init D/dalvikvm(21443): Trying to load lib /data/app-lib/a.b.c.d-1/libjnlua5.1.so 0x4234a708 D/dalvikvm(21443): Added shared lib /data/app-lib/a.b.c.d-1/libjnlua5.1.so 0x4234a708 D/dalvikvm(21443): Trying to load lib /data/app-lib/a.b.c.d-1/libjnlua5.1.so 0x4234a708 D/dalvikvm(21443): Shared lib '/data/app-lib/a.b.c.d-1/libjnlua5.1.so' already loaded in same CL 0x4234a708 I/dalvikvm(21443): threadid=1: recursive native library load attempt (/data/app-lib/a.b.c.d-1/libjnlua5.1.so) D/dalvikvm(21443): Trying to load lib /data/app-lib/a.b.c.d-1/libopenal.so 0x4234a708 I/OpenAL\_SLES(21443): alc\_opensles\_init D/dalvikvm(21443): Added shared lib /data/app-lib/a.b.c.d-1/libopenal.so 0x4234a708 D/dalvikvm(21443): Trying to load lib /data/app-lib/a.b.c.d-1/libmpg123.so 0x4234a708 D/dalvikvm(21443): Added shared lib /data/app-lib/a.b.c.d-1/libmpg123.so 0x4234a708 D/dalvikvm(21443): No JNI\_OnLoad found in /data/app-lib/a.b.c.d-1/libmpg123.so 0x4234a708, skipping init D/dalvikvm(21443): Trying to load lib /data/app-lib/a.b.c.d-1/libvorbisidec.so 0x4234a708 D/dalvikvm(21443): Added shared lib /data/app-lib/a.b.c.d-1/libvorbisidec.so 0x4234a708 D/dalvikvm(21443): No JNI\_OnLoad found in /data/app-lib/a.b.c.d-1/libvorbisidec.so 0x4234a708, skipping init D/dalvikvm(21443): Trying to load lib /data/app-lib/a.b.c.d-1/libalmixer.so 0x4234a708 D/dalvikvm(21443): Added shared lib /data/app-lib/a.b.c.d-1/libalmixer.so 0x4234a708 D/dalvikvm(21443): No JNI\_OnLoad found in /data/app-lib/a.b.c.d-1/libalmixer.so 0x4234a708, skipping init D/dalvikvm(21443): Trying to load lib /data/app-lib/a.b.c.d-1/libcorona.so 0x4234a708 D/dalvikvm(21443): Added shared lib /data/app-lib/a.b.c.d-1/libcorona.so 0x4234a708 D/libEGL (21443): loaded /system/lib/egl/libEGL\_tegra.so D/libEGL (21443): loaded /system/lib/egl/libGLESv1\_CM\_tegra.so D/libEGL (21443): loaded /system/lib/egl/libGLESv2\_tegra.so D/OpenGLRenderer(21443): Enabling debug mode 0 D/dalvikvm(21443): Note: class Landroid/opengl/GLWrapperBase; has 250 unimplemented (abstract) methods V/GLSurfaceView(21443): glGetString(7937) returns NVIDIA AP; I/ActivityManager( 443): Displayed a.b.c.d/com.ansca.corona.CoronaActivity: +721ms V/Corona (21443): \> Class.forName: network.LuaLoader V/Corona (21443): \< Class.forName: network.LuaLoader V/Corona (21443): Loading via reflection: network.LuaLoader D/dalvikvm(21443): GC\_CONCURRENT freed 294K, 6% free 7507K/7980K, paused 14ms+9ms, total 56ms D/dalvikvm(21443): WAIT\_FOR\_CONCURRENT\_GC blocked 7ms V/Corona (21443): \> Class.forName: CoronaProvider.licensing.google.LuaLoader V/Corona (21443): \< Class.forName: CoronaProvider.licensing.google.LuaLoader V/Corona (21443): Loading via reflection: CoronaProvider.licensing.google.LuaLoader