Facebook give its basic tutorial to use its SDK (you can read it here). They also give its Android's apps installer (the .apk file). After downloaded the SDK and started up the AVD, I tried to install the apps with this command via my terminal:
./adb install ../../facebook-android-sdk-3.14/bin/FBAndroid-7.0.0.apk
But unfortunately the AVD rebooted itself and the adb command keep on this lines:
722 KB/s (31026249 bytes in 41.953s) pkg: /data/local/tmp/FBAndroid-7.0.0.apk
The Troubleshoot
After several try and failure, I found that my AVD device display is too small. I was using 240x320 display, then I create new AVD using 480x800 resolution. I don't know why it happens but it just works. lol.The succeeded installation via adb command will show these lines
1318 KB/s (31026249 bytes in 22.980s) pkg: /data/local/tmp/FBAndroid-7.0.0.apk Success
This is how the emulator looks like
p.s: my english sucks
Thanx!! Awesome! I wasted so much time on this issue.. luckily I found ur bolg!!
ReplyDeleteGlad it helped you :D
Delete