Hi,
After I upgraded 0.31 get errors. How can I fix it?
Clean completed
Fuse 0.31.0 (build 8955)
Build started: FullCompile
Configuring
HomeScreen.uno(4.15): E3111: 'Android' does not contain type or namespace 'android'. Could you be missing a package reference?
/Users/macmini/workspace/fuse/myProject/HomeScreen.uno(4,16,4,23): Error E3111: 'Android' does not contain type or namespace 'android'. Could you be missing a package reference?
HomeScreen.uno(5.15): E3111: 'Android' does not contain type or namespace 'android'. Could you be missing a package reference?
/Users/macmini/workspace/fuse/myProject/HomeScreen.uno(5,16,5,23): Error E3111: 'Android' does not contain type or namespace 'android'. Could you be missing a package reference?
HomeScreen.uno(6.15): E3111: 'Android' does not contain type or namespace 'android'. Could you be missing a package reference?
/Users/macmini/workspace/fuse/myProject/HomeScreen.uno(6,16,6,23): Error E3111: 'Android' does not contain type or namespace 'android'. Could you be missing a package reference?
HomeScreen.uno(7.15): E3111: 'Android' does not contain type or namespace 'android'. Could you be missing a package reference?
/Users/macmini/workspace/fuse/myProject/HomeScreen.uno(7,16,7,23): Error E3111: 'Android' does not contain type or namespace 'android'. Could you be missing a package reference?
ModalJS.uno(8.15): E3111: 'Android' does not contain type or namespace 'android'. Could you be missing a package reference?
/Users/macmini/workspace/fuse/myProject/ModalJS.uno(8,16,8,23): Error E3111: 'Android' does not contain type or namespace 'android'. Could you be missing a package reference?
Build completed in 9.31 seconds
5 errors
Build ended
fuse: Failed to compile project
HomeScreeen.uno
using Uno;
using Uno.Collections;
using Fuse;
using Android.android.os;
using Android.android.app;
using Android.android.content;
using Android.android.net;
using Android.Base;
using Fuse.Triggers.Actions;
public class HomeScreen : TriggerAction
{
protected override void Perform(Node target)
{
if defined(Android)
{
Activity.GetAppActivity().finish();
}
}
}