如何分析nativescript应用程序上的导航延迟和内存不足问题?
我为android构建nativescript angular应用程序,依赖项如下如何分析nativescript应用程序上的导航延迟和内存不足问题?,nativescript,nativescript-angular,Nativescript,Nativescript Angular,我为android构建nativescript angular应用程序,依赖项如下 "nativescript-angular": "^7.2.2", "nativescript-background-http": "^3.4.0", "nativescript-bitmap-factory": "^1.7.1", "nativescript-camera": "^4.2.0", "nativescript-cardview": "^3.1.1", "nativescript-direction
"nativescript-angular": "^7.2.2",
"nativescript-background-http": "^3.4.0",
"nativescript-bitmap-factory": "^1.7.1",
"nativescript-camera": "^4.2.0",
"nativescript-cardview": "^3.1.1",
"nativescript-directions": "^1.3.0",
"nativescript-drawingpad": "^3.0.4",
"nativescript-fancyalert": "^3.0.6",
"nativescript-filterable-listpicker": "^2.2.3",
"nativescript-fresco": "^5.2.0",
"nativescript-geolocation": "^5.0.0",
"nativescript-imagepicker": "^6.1.2",
"nativescript-modal-datetimepicker": "^1.1.12",
"nativescript-ngx-shadow": "^6.4.0",
"nativescript-photoviewer": "^1.5.0",
"nativescript-plugin-firebase": "^8.0.0",
"nativescript-theme-core": "~1.0.4",
"nativescript-ui-autocomplete": "^4.0.0",
"nativescript-ui-chart": "^4.0.0",
"nativescript-ui-listview": "^6.0.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^6.4.0",
"tns-core-modules": "^5.2.2",
"tns-platform-declarations": "^5.2.2",
"typescript": "~3.1.1",
"zone.js": "^0.8.29"
这些应用程序包含5个标签和拍照按钮。
主要有两个问题
请建议如何查找导航滞后和内存不足问题的原因?您可以使用来分析应用程序,以查看应用程序中花费大量时间的内容的HTML视图 对于映像,是否将其保存在磁盘上?您可以将内存限制为一张图片,在保存之前调整其大小以减少使用的磁盘空间大小,然后在需要时使用单独的流程
您还可以使用Android Studio分析RAM使用情况,查看应用程序中某个点是否存在巨大的内存泄漏/异常内存使用。是的,我已经将图像保存在磁盘上,并在保存之前调整其大小。我将尝试使用Android Studio查看时间线并分析RAM使用情况