diff --git a/uni_modules/uts-nativepage/utssdk/app-android/index.uts b/uni_modules/uts-nativepage/utssdk/app-android/index.uts index 6abbe675159fcf451bc211cf4c7234be72245521..e3a4678d1f495fe2c6a64dbe2985ec0b07d6a33a 100644 --- a/uni_modules/uts-nativepage/utssdk/app-android/index.uts +++ b/uni_modules/uts-nativepage/utssdk/app-android/index.uts @@ -279,7 +279,7 @@ export default function gotoDemoActivity():boolean { try{ let packageManager = UTSAndroid.getUniActivity()!.getPackageManager(); let intent = new Intent(UTSAndroid.getUniActivity(),DemoActivity().javaClass); - let resolveInfo = packageManager.queryIntentActivities(intent,0) as Array; + let resolveInfo = packageManager.queryIntentActivities(intent,0); console.log(resolveInfo.size) if(resolveInfo.size == 0){ hasXActivityIntegration = false;