Thursday, May 8, 2014

Can't run native project on Galaxy Gear 2 ??

I just create and build a native project using Tizen SDK instead of SDK for Wearable since SDK for Wearable would not let me create a native Tizen project. However I can not launch the native App on Galaxy Gear 2 with the error message like this:
Cannot install application.

Error code: FATAL_ERROR
Error message: 
Command: /usr/bin/pkgcmd -q -i -t tpk -p /opt/usr/apps/tmp/Mf7csltynQ-1.0.0-arm.tpk
Management: Installation or uninstallation is not working temporarily.

So I searched for solutions on the internet. Unfortunately, all the people are saying Samsung doesn't support native project for Gear 2. 

http://developer.samsung.com/forum/board/thread/view.do?boardName=SDK&messageId=258302

https://developer.tizen.org/fr/forums/native-application-development/can-tizen-wearable-sdk-support-develop-native-app?langredirect=1

http://www.mautilus.com/tizen-and-qt/

Really don't understand why they release such a SDK only support Web project!!

Galaxy Gear 2 Start: sdb devices "No device listed"

When I first started prepare my development environment for Samsung Galaxy 2, a pretty trivial problem stops me. After I installed Tizen SDK and plugged my device to my laptop, I can not see it from "sdb devices". The result is just empty device list as below:
shuang@shuang-box:~$ sdb devices
List of devices attached
I keep searching the solution for this problem without result. There is a post on Tizen developer forum discussing the same problem: https://developer.tizen.org/forums/general-support/sdb-does-not-list-connected-test-device. But all the advice there have no effects for my case.

Then I realized it could be the setup on Galaxy Gear 2, so I press the system setup button and in the gear info sub-menu I found USB debugging  check box. There it is! I checked it and it works now.
shuang@shuang-box:~$ sdb devices
List of devices attached 
538131fd41001cb6 device SM-R380