Votre vie privée
We use cookies to give you a better experience in United Robotics Group
Vous pouvez en savoir plus sur le type de cookies que nous utilisons, pourquoi et comment dans notre politique de confidentialité. Parce que nous respectons votre droit à la vie privée, vous pouvez choisir de ne pas autoriser certains types de cookies. Cliquez sur les différentes rubriques de catégories dans notre bannière de cookies pour modifier nos paramètres par défaut. Cependant, le blocage de certains types de cookies peut avoir un impact sur votre expérience du site et les services que nous sommes en mesure d'offrir. Pour plus de détails, consultez notre lien Politique de confidentialité ci-dessous.
Cookies strictement nécessaires
Ces cookies sont nécessaires au fonctionnement du site Web et ne peuvent pas être désactivés dans nos systèmes, mais ne stockent aucune information personnelle. Ils sont généralement définis en réponse à vos actions qui déclenchent une demande de services, telles que la définition de vos préférences en matière de confidentialité, la connexion ou le remplissage de formulaires. Vous pouvez modifier les paramètres de votre navigateur pour vous alerter de ces cookies, mais certaines parties du site Web peuvent ne pas fonctionner.
Afficher les cookies
Hello,
I have a seriously problem with Android Studio and the plugin of Pepper, especially with the emulator.
For few months I have the same problem: my android studio crash when I click on Emulator Icon (Orange icon on toolbar).
I tried everything : uninstall android studio, uninstall plugin of pepper but I have always the same problem.
When I run my android studio as administrator, sometimes it works...
I have the latest version of Android Studio (see PJ).
Thanks for your help
Arnaud
Pièces jointes (1)
AndroidVersion.PNG
28.8 KB
3 Votes
13 Commentaires
John Doe publiés sur un an il y a
Hey issue is still happening, any updates?
2 Votes
Giuseppe Piccinni publiés sur un an il y a
0 Votes
Lukas Brandt publiés sur 2 ans il y a
I have not found a fix for the problem with the emulator for myself but a workaround:
First, I uninstalled the Pepper SDK, so I deleted everything. In the AppData/Roaming folder there is the Softbank Robotics folder, which I deleted completely.
Then I reinstalled the entire SDK.
Then the tools and the emulator have to be downloaded again via the SDK Management Tool from Softbank. All the stuff then ends up in the AppData/Roaming/Softbank Robotuics folder. I then made a copy of the Softbank Robotics folder and simply wrote clean behind it (Softbank Robotics - Clean). This gives me a clean and unused version as a backup.
When you start the emulator for the first time, you at least get a working emulator. It may happen that Android Studio crashes, but the emulator remains. Then you can simply start Android Studio again and open the Robot Browser, for example, and select the local Pepper. Then it may happen that Android Studio crashes again and you have to start it again. In the end, you will have an executable version of the emulator.
Now comes the catch and the reason why we make a backup of the Softbank folder. The next time you try to start the emulator you will have the old version again, so Android Studio crashes and nothing happens. Apparently you can only get an emulator to run that has never been started.
So I wrote a small script (.bat) which first kills all Qi processes and then deletes the Softbank folder in AppData and copies the clean version over it again. Then you have an untouched emulator again.
I have attached the script here, the following line must be adapted with the folder name:
Xcopy "Softbank Robotics - Clean" "Softbank Robotics" /E /H /C /I
Here I use the folder "Softbank Robotics - Clean" where I saved my clean version.
Pièces jointes (1)
renew Emulator.bat
1.2 KB
1 Votes
a.mignotte publiés sur 2 ans il y a
Hello Clement,
yes of course, here, the information asked :
And for About version :
Android Studio Bumblebee | 2021.1.1 Patch 2
Build #AI-211.7628.21.2111.8193401, built on February 17, 2022
Runtime version: 11.0.11+9-b60-7590822 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 3072M
Cores: 8
Registry: external.system.auto.import.disabled=true, ide.balloon.shadow.size=0
Non-Bundled Plugins: com.softbank.robot.sdkplugin (1.5.3), com.thoughtworks.gauge (211.6693.111), org.jetbrains.kotlin (211-1.6.20-release-275-AS7442.40), com.developerphil.adbidea (1.6.4), com.chrisrm.idea.MaterialThemeUI (6.7.2), org.intellij.plugins.markdown (211.7142.37)
Thanks to you for your help
Arnaud
0 Votes
Clement Portales publiés sur 2 ans il y a Administrateur
Dear Arnaud,
I was discussing this issue with the investigation team from Softbank, could you actually send me again the Pepper plugin settings, it should look like the attached image.
You can find it in File => Settings => Pepper plugin settings
If you change the AVD option you can sometimes make it work with less issues (by selecting Software for Graphics for example).
Can you also go in About and then copy paste the info (Android version, OS, etc ...) you have the option to do so when hovering with your mouse over the frame that appears.
Thanks in advance !
Clement
0 Votes
a.mignotte publiés presque 3 ans il y a
Hello Clement,
thank you for your answer.
In PJ the files you asked me.
I hope it will help you.
And yes I have checked all troubleshooting but it seems to be ok.
Thank to you
Arnaud
Pièces jointes (3)
Path.PNG
2.15 KB
Pepper plugi....PNG
16.1 KB
rdta.log
166 KB
0 Votes
Clement Portales publiés presque 3 ans il y a Administrateur
Hello Arnaud,
To help investigate, could you :
Thank you in advance !
Clement
0 Votes
a.mignotte publiés presque 3 ans il y a
Hello Clement
Yes I have found this command line and I tried with Pepper name but it's not recognized indeed :
C:\Users\a.mignotte\AppData\Roaming\Softbank Robotics\RobotSDK\Common\emulator.29.0.11\emulator> .\emulator.exe -avd Pepper
emulator: ERROR: Unknown AVD name [Pepper], use -list-avds to see valid list.
HOME is defined but there is no file Pepper.ini in $HOME\.android\avd
(Note: Directories are searched in the order $ANDROID_AVD_HOME, $ANDROID_SDK_HOME\avd and $HOME\.android\avd)
Ok I hope Softbank found a solution quickly.
Thank you very much for your help.
Arnaud
0 Votes
Clement Portales publiés presque 3 ans il y a Administrateur
Hi Arnaud,
I have found the following command line here : (https://developer.android.com/studio/run/emulator-commandline)
emulator -avd avd_name [ {-option [value]} … ]
Which could potentially worked, name of the AVD is "Pepper" but emulator.exe wouldn't recognize it by default I think.
In parallel, Softbank is currently working on a workaroundfor this issue as several customers are experiencing it.
0 Votes
a.mignotte publiés presque 3 ans il y a
I have tested on Arctic fox I have the same problem.
It seems that the problem is on naoqi_bin , qilaunch and publicsd instance (when I have investigate process).
So is it possible to have the command to launch emulator from my powershell ? Because I found a way to have the robot viewer with command line but I couldn't find the way to run the android emulator from command line.
My goal is to reproduce the action when I clicked on the robot emulator tool in Android Studio but in my powershell to avoid the software to crash !
Thanks
Arnaud
0 Votes
Clement Portales publiés presque 3 ans il y a Administrateur
Ok I see, indeed it should work...
Have you had the chance to try it out with an older version of Android Studio, does the same issue occur ?
0 Votes
a.mignotte publiés presque 3 ans il y a
Hello Clement,
Thanks for your answer, it's windows 10.
And I checked everything on this documentation : https://qisdk.softbankrobotics.com/sdk/doc/pepper-sdk/ch1_gettingstarted/installation.html
Thanks :)
Arnaud
0 Votes
Clement Portales publiés presque 3 ans il y a Administrateur
Hello Arnaud,
Which OS are you using when working with Android Studio ?
Clement
0 Votes
Connexion ou S'inscrire pour poster un commentaire