Fixed
Status Update
Comments
jo...@google.com <jo...@google.com> #2
I have updated AS to version 4.1.3 and the android emulator to version 30.5.3.0. Now I can't use the emulator anymore. I have Mojave OS installed and I confirm the same message described in previous post. The file does not exist in the file system.
li...@google.com <li...@google.com> #3
As a workaround, I was able to successfully downgrade android emulator to 28.
See:
I downloaded 28.0.25.0 (build_id 5395263) from here:
I deleted everything EXCEPT package.xml from
$HOME/Library/Android/sdk/emulator/
and replaced them with the contents of the extracted zip file.
Finally, make sure your AVD system image is NOT running api 30.
sdkmanager "system-images;android-27;google_apis_playstore;x86"
System images higher than api 29 are using a kernel format that the older emulator cannot understand.
Here's a workaround script you can try:
cd ~
mkdir emulator_downgrade
cd emulator_downgrade
wget https://dl.google.com/android/repository/emulator-darwin-5395263.zip
unzip emulator-darwin-5395263.zip
mv ~/Library/Android/sdk/emulator ~/Library/Android/sdk/previous-emulator
mv emulator ~/Library/Android/sdk/emulator
cp ~/Library/Android/sdk/previous-emulator/package.xml
~/Library/Android/sdk/emulator/package.xml
cd ~
~/Library/Android/sdk/emulator/emulator -version
~/Library/Android/sdk/emulator/emulator -list-avds
jo...@google.com <jo...@google.com> #4
Thank you for the downgrade explanation. If you want to use a more recent emulator 30.1.5 the build number is 6855416. I believe you can use this build with API 30 images without issues.
sh...@google.com <sh...@google.com>
ag...@gmail.com <ag...@gmail.com> #5
I am facing the same issue. Can't run emulator after upgrading to version 30.5.3. My macOS is Mojave 10.14.6.
Description
Situation
Let's say we have a screen stack of
[A, B, C]
.A
is the root, andC
is the top.B
is pushed byA
for some result viascreenManager.pushForResult()
. So isC
byB
.When
C
set the result andfinish()
itself,B
also set that result andfinish()
itself to relay the result toA
.Now we have
[A]
andA
is resumed properly.C
andB
is destroyed as well.Problem
B
's lifecycle is resumed again.Log