问题
i have stupid question)
im install 2013_Samsung_TV_SDK_4_1_MacOS.pkg and download 2013_Smart_TV_Emulator_4_1_VB.zip and setup .ova file for virtual box.
so i thought finally all is DONE. but not.
when im check in directory cd ~/Samsung_TV_SDK_4_Mac/ icon 'Samsung Smart TV SDK Editor' for launch editor i have this ==The alias “Samsung Smart TV SDK Editor ” can’t be opened because the original item can’t be found.==
so before i must insall ECLIPSE ? because when i get info of icon = i seen the path of original ==/Users/SDK/SDK_INSTALL/build_tree/Samsung Smart TV SDK 4/eclipse/Eclipse.app==
i have not ECLIPSE IDE and i need install eclipse now ? and after egain install 2013_Samsung_TV_SDK_4_1_MacOS.pkg ?
if its true . which kind of ECLIPSE type ? indigo? juno? which version ? (i use MAC v 10.7.5)
回答1:
so! my update! for everyone who need smart tv sdk for MAC . 8 steps
- download eclipse-javascript-indigo-SR2 for macosx (example eclipse-javascript-indigo-SR2-macosx-cocoa.tar.gz)
- download and install 2013_Samsung_TV_SDK_4_1_MacOS.pkg (go to link https://www.samsungdforum.com/Devtools/Sdkdownload)
- move all files 'eclipse' folder (from archive eclipse-javascript-indigo-SR2-macosx-cocoa.tar.gz) to directory where your smart tv sdk (example ~/Samsung_TV_SDK_4_Mac/eclipse/)
- install virtual box and setup 2013_Smart_TV_Emulator_4_1 (2013_Smart_TV_Emulator.ovf file) - instruction here http://www.samsungdforum.com/Guide/d10/index.html#install-the-smart-tv-emulator-in-virtual-box
- launch Samsung Smart TV SDK Editor (i have icon-launcher here ~/Samsung_TV_SDK_4_Mac/)
- setup work environment (all Apps must be here ~/Samsung_TV_SDK_4_Mac/Apps)
- create project and if you need -> import file-application form other store (if someone already developed an app and you need to open that app)
- launch virtual box -> launch smart tv emulator -> open App and choose your project
回答2:
The accepted answer didn't work for me when getting the IDE up and running on OSX 10.8.4, but this did:
- Install 2013_Samsung_TV_SDK_4_1_MacOS.pkg
- It will install files to your User Directory
- Download this version of Eclipse: http://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/technology/epp/downloads/release/indigo/SR2/eclipse-javascript-indigo-SR2-macosx-cocoa-x86_64.tar.gz
- Copy the Eclipse.app from the above download into ~/Samsung_TV_SDK_4_Mac/eclipse/ directory...
回答3:
Tried the above steps but didn't get it to work. So I experimented a bit. Here's my two cents:
- Make sure that the eclipse you download is the appropriate version for your Mac (that is 32bit or 64bit). If you get a strange error mentioning that it's not able to load SWT components, then it's likely you downloaded the wrong version.
- I tried both copying all eclipse files from ~/Downloads/eclipse to ~/Samsung_TV_SDK_4_Mac/eclipse, and only Eclipse.app to ~/Samsung_TV_SDK_4_Mac/eclipse/. However it worked when I merged all files EXCEPT directory configuration and artifacts.xml from ~/Downloads/eclipse to ~/Samsung_TV_SDK_4_Mac/eclipse/. Make sure that you don't delete and write directories plugins/ and features/, as the Samsung SDK version contains the eclipse plugins.
Hope I helped!
来源:https://stackoverflow.com/questions/16585450/working-with-samsung-smart-tv-sdk-4-1-for-mac