getAndroid​SLSupportP​kgToolPath​s doesnt find GradleHome

2 ビュー (過去 30 日間)
Ilya Makarov
Ilya Makarov 2020 年 12 月 27 日
編集済み: Sruthi Yenugula 2021 年 1 月 5 日
Dear colleagues,
The function getAndroidSLSupportPkgToolPaths doesnt find GradleHome and return empty path. Please advice on how to fix the problem.
Best, Ilya
  2 件のコメント
Sruthi Yenugula
Sruthi Yenugula 2020 年 12 月 28 日
Can you please let us know, why you require that information. Currently we are using Grdale wrapper, so Gradle path is empty.
Ilya Makarov
Ilya Makarov 2020 年 12 月 28 日
I built, deployed an app (under Simulink where I converted it into Android) and run it successfully on my Android. Now I want to convert it into Android Studio. The Android Simulink User's Guide says I have to use Gradle Home the function getAndroid... shows me. Unfortunately the function shows me nothing so I have trouble with convertation of my app into Android Studio. Can you please advice what to do?

サインインしてコメントする。

採用された回答

Sruthi Yenugula
Sruthi Yenugula 2020 年 12 月 29 日
Please check the Answer section of https://www.mathworks.com/matlabcentral/answers/645908-how-can-i-communicate-with-other-web-services-than-thingspeak-from-my-simulink-model-deployed-to-and?s_tid=srchtitle (Import the generated project into Android Studio) for importing into Android Studio. Documentation for Import Android Studio will be updated soon. Please feel free to contact, if you face any issues. Thanks for letting us know.
  4 件のコメント
Ilya Makarov
Ilya Makarov 2021 年 1 月 4 日
Thanx, it looks like it was converted successfully. A few last questions - 1) to send the converted project to a Java-developer, should I send him the whole ..._ert_rtw folder, or only the folder with the name of the project? 2) in order to add some java-code (not the matlab code!!!, ), should a Java-developer use the same Android Studio and the same sdk I used while converting from simulink into Android?
Sruthi Yenugula
Sruthi Yenugula 2021 年 1 月 5 日
編集済み: Sruthi Yenugula 2021 年 1 月 5 日
Hi IIya Makarov,
1) to send the converted project to a Java-developer, should I send him the whole ..._ert_rtw folder, or only the folder with the name of the project?
A) Only project folder is required
2) in order to add some java-code (not the matlab code!!!, ), should a Java-developer use the same Android Studio and the same sdk I used while converting from simulink into Android?
A) Better to use the same Android Studio version. But if there is a requirement to use Latest Android Studio, you can use it, but may get some errors which can be resolved by the suggestions provided by the Android Studio.

サインインしてコメントする。

その他の回答 (0 件)

コミュニティ

その他の回答  ThingSpeak コミュニティ

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by