diff --git a/uni_modules/uts-nativepage/utssdk/app-android/index.uts b/uni_modules/uts-nativepage/utssdk/app-android/index.uts index e4ce3615be62bbe4539ff88b3aca96fbdeb038e8..44b6de733a735e73ee9fa24eb5d906818072320c 100644 --- a/uni_modules/uts-nativepage/utssdk/app-android/index.uts +++ b/uni_modules/uts-nativepage/utssdk/app-android/index.uts @@ -167,7 +167,7 @@ class DemoActivity extends Activity{ export default function gotoDemoActivity() { // 跳转到一个新的界面 - let intent = new Intent(getUniActivity(),DemoActivity::class.java); + let intent = new Intent(getUniActivity(),DemoActivity().javaclass); getUniActivity()!.startActivity(intent); // var a = new DemoActivity();