语言

Menu
Sites
Language
How can I install all apps in my solution?

Hi.

I am making my app using xamarin.

I have 1 package(solution) that has 2 apps(widget & ui app)

When I install ui-app on my watch or emul, widget is not installed. (ui-app has build dependancy to widget app.)

How can I install all apps?

响应

6 回复
Juwon(Julia) Ahn

Hi,

How did you check your widget is installed or not?

Please check the following steps to add your widget on emulator/device.

1. Press the Back key to go back to the home screen

2. Swipe right or rotate the bezel clockwise until you see "+ Add widget". And tap on it.

3. Find your widget app by swiping or bezel rotation

Your widget is successfully installed if you can see your widget.

FYI, you can refer to the following sample app.

https://github.com/Samsung/Tizen-CSharp-Samples/tree/master/Wearable/WidgetSample/UIandWidget

 

연호 조

Thank you!

I will check the sample :)

연호 조

Unfortunalety, Visual studio show error message "Object reference not set to an instance of an object." when I install UIandWidget solution to emulator.

I used visual studio 2017.

Jay Cho

Hello, I am having difficult time to reproduce the error message you faced with.

The tested environment here is VS2017 + latest VS Extension Tools for Tizen (2.4.0) + wearable 4.0 or 5.0 emulators and 5.0 target.

Could you tell us more information about VS tools and the testing target information?

Is the build successful? but the error occurs during the installation process?

Thanks.

 

 

 

연호 조

My tested environment is same to you.

 - Window 10 64bit.

 - Visual studio 2017.

 - Latest VS evension Tools for tizen. (Sorry. I don't find version.)

 - tizen wearable 4.0 (Tizen studio 3.2 is installed)

and I try to install the packages on emulator.

Build request has no problem.

 

Oh, When I launch emulator, "Extra package installation is failed. sap must be installed MANUALLY!" popup is shown.

Jay Cho

Let me make the issue clear.
    1. You are trying to launch the `UIandWidget` sample application.
    2. Build is successful.
    3. Fails when installing a target.  Visual studio show error message "Object reference not set to an instance of an object.".
    4. No UI app is installed, no widget is showed at "Add Widget" menu.

Is this correct? and does your own application work same as above?
Plus, just in case you are ok with sharing your own sample application, you can either sending an e-mail(tizen.net@samsung.com) to us or sharing at Tizen .NET Issues(https://github.com/Samsung/Tizen.NET/issues).

 

* The error popup is caused by the `Samsung Wearable Extension`, and this would not affect your application.
 I would still report the issue, though. Thanks for reporting to us.