语言

Menu
Sites
Language
Right usage of Ionic 2 in Tizen

I would like to know how to integrate Ionic 2 right into Tizen. I have put the www folder (with the builded/compiled main.js) into the Tizen project and use the Ionic index.html as the Tizen content file. The App launches and works in the Web Simulator but when I try to build the app Tizen Studio hangs up and the process has to be killed. I the log of Tizen Studio it say "!MESSAGE [2017.02.08 22:04:49][ERROR] PrivilegeCheckUtil.java(245) - Faild to parse "/IonicTest/www/build/main.js"" and then "!MESSAGE Unhandled event loop exception
!STACK 0 java.lang.OutOfMemoryError: GC overhead limit exceeded
" . Angular.js and Ionic 1 work fine. I think the failure of Angular 2 and Ionic 2 has something todo with Typescript or the large file size. It would be nice if you can help me.

编辑者为: J. Schwartz 09 2月, 2017

响应

3 回复
John Ixion

Hi Jonathan,

I don't know much about Ionic but you'll find more info about TypeScript and Angular 2 here:

https://developer.tizen.org/community/tip-tech/using-typescript-tizen-projects.

https://developer.tizen.org/community/tip-tech/introduction-angular-2-tizen

J. Schwartz

The problem might not be Ionic because in the normal browser and in the Tizen Web Simulator it runs.

J. Schwartz

I got the IDE to build the app and install it on the device/emulator by turning off the JS validation. The steps are: Preferences > Tizen Studio > Web > Editor > JavaScript Editor > JSHint properties > Type name of js file or folder in the exclude textboxes. But now the only thing I can see on the device/emulator is a white screen.