在操作Getting Started with Android™ Devices教程过程中操作“Android device, configured using androidhwsetup” 环节时,到install TestApp这一步时报错“未找到匹配文件”No matching file found
Mostra commenti meno recenti
目的是完成matlab的APP植入android手机。我参考的官方教程“Getting Started with Android™ Devices”(如图1),问题出在Required Hardware中的Androidhwsetup。
Androidhwsetup的问题1:在安装要求的SDK包时(如图2),我在最新的Android studio中未能找到(如图3)。未找到的包分别为:(Andriod SDK Tools,Android Support Repository,Google Repository)
Androidhwsetup问题2:在MATLAB已经识别到我的Android设备后,InstallTestApp时显示“未找到匹配文件”。反复尝试都时同样的结果。
图1

图2

图3

图4

4 Commenti
Sruthi Yenugula
il 2 Set 2021
Please specify the MATLAB version in which you are facing this issue
To find version, type ver in the MATLAB command prompt
绍谦 熊
il 4 Set 2021
Jyotiprakash Behera
il 10 Nov 2021
Modificato: Jyotiprakash Behera
il 10 Nov 2021
Did you manage to solve the problem? I'm facing the same issue.
小飞 邱
il 27 Nov 2021
我也遇到了这个问题,我使用的matlab版本是2018b,我在一个视频中找到了解决方法,这是视频的链接,https://www.bilibili.com/video/BV1av411Y722 总的来说主要是由于版本的问题,推荐Android studio 4.0.2 。如果安装Android studio的过程中,NDK文件默认安装的是最新版本,我试过了还是会出现问题,解决方法是需要把安装路径下的NDK文件夹删除掉,重新安装NDK 版本是22.0.7026061 这样应该就可以了
I also encountered this problem. The version of MATLAB I use is 2018b. I found a solution in a video. This is the link to the video, https://www.bilibili.com/video/BV1av411Y722 Generally speaking, it is mainly due to the version problem. Android studio 4.0.2 is recommended. If the NDK file is the latest version by default during the installation of Android studio, I have tried, but there will still be problems. The solution is to delete the NDK folder under the installation path and reinstall the NDK version of 22.0.7026061, which should be OK
Risposte (0)
Categorie
Scopri di più su Setup and Configuration in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
