Start a new topic

Windows Android Studio : Application Crash when I launched emulator of Pepper

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


Hello Clement,


yes of course, here, the information asked :

image


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


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 

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

Path.PNG
(2.15 KB)
log
(166 KB)

Hello Arnaud, 


To help investigate, could you : 


Thank you in advance !

Clement 

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

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. 


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

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 ? 

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

Hello Arnaud, 


Which OS are you using when working with Android Studio  ?


Clement

Login or Signup to post a comment