-
Notifications
You must be signed in to change notification settings - Fork 28.5k
Android Platform Tools 29: Error retrieving device properties for ro.product.cpu.abi: #33938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Exactly same error here, tried the same things |
Did you update your platform tools to 29 as well? |
I was working on a project in Android studio stable. But auto imports are only supported in the Android studio beta. I downloaded the Beta version on my windows. and boom everything was broken. The installation updated the platform sdk to 29 |
I'm setting up everything to work on Windows, installed Android Studio using JetBrains Toolbox, installed all de SDKs and tools, but when i tried to build on emulator it showed up the error, moved to real device, same thing, then i started looking for solutions |
On stable i'm getting the same error after updating to 29. You can do a quick test to see the error using flutter doctor instead of running your project. Just make sure your device is running / connected. |
I found a temporary fix while we wait for a solution provided by the Flutter team Windows: http://dl-ssl.google.com/android/repository/platform-tools_r28.0.2-windows.zip this download contains the platform tools for 28.0.1 if you back up your platform-tools folder and place the content of the zip in the platform-tools folder. this should be in your platform-tools folder THIS IS A TEMPORARY FIX, NOT A SOLUTION |
I prefer going back to my Linux boot where i haven't upgraded it, but thats a nice workaround, thanks for it! |
@vanlooverenkoen You could also just download the |
Aaah nice. I couldn't find the links :D thanks. I updated my comment as well |
@brunocerk Downgrading isn't hard.
On Bash these are the commands you need (run at Android SDK home): rm -r platform-tools
wget -O platform-tools.zip http://dl-ssl.google.com/android/repository/platform-tools_r28.0.2-linux.zip
unzip platform-tools.zip
rm platform-tools.zip |
@vanlooverenkoen Thanks for this temporary fix. For anyone who does not know where to find the
( |
Same problem, fix platform-tools |
Its impressive how 2 google projects dont take care of this massive issues in consideration. This workaround works for now... |
same problem 5 hour ago |
other option windos + r, type %appdata% |
In android platform tools 29.0.0 adb.exe shell seems to be exiting with heap corruption exit code, otherwise producing results as expected. This PR whitelists this exit code on Windows. Fixes flutter#33938.
Same problem here. |
I have the same problem, I'm on the Android Studio stable channel and I rather wait for a fix instead of downgrading. How will we know if a fix is coming to the stable channel? How about the Beta/Dev/Canary Android Studio channels? Or will the fix have to be on the Flutter SDK side? |
Same issue. did the work around for now but that's inconvenient. |
thanks~ |
Download http://dl.google.com/android/repository/platform-tools_r28.0.3-windows.zip makes it. |
Huge thanks! |
saved me! |
Thank you! Downgrading the platform tools fixed the issue. Hope a newer sdk update or flutter update comes out to fix the issue with version 29. |
thank you.. I got problem yesterday and wake up till 3AM trying to solve this problem. now I am curious, how I can file an issue so this issue can be solved by Google's developers? |
Same error here too. |
Tanks for the work around!!!! ... It was affecting both Windows and Linux enviroments for days... But it's bugging me that I've tried downgrading flutter and android sdk but for some reason it didn't work.... and now yes.... Now I'll wait for the real fix. |
for easy way someone is keeping track and storing things on github https://github.com/awake558/adb-win so makes it easy for manually installing and fixing |
It worked for me too! BTW, I also runned 'flutter upgrade' after 'flutter doctor'. |
#33938 (comment) just to repeat again |
I spent two days in my work to solve this issue... My Guaaaaaaaaaaaaaaaaaaaaaaaaaaaaad. |
I had the same problem. I uninstalled Platform Tools 29 on Android Studio and voilá!!! All working again! Thanks for the post. |
This is fixed now as we got a new update for platform tools 29.0.0 to 29.0.1
…On Tue 11 Jun, 2019, 12:10 PM gapolinaire, ***@***.***> wrote:
I had the same problem. I uninstalled Platform Tools 29 on Android Studio
and voilá!!! All working again! Thanks for the post.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#33938?email_source=notifications&email_token=AKLHDSPP7NZXZ4CXKLLNNMTPZ5CHDA5CNFSM4HUGPLDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXMDEEA#issuecomment-500707856>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKLHDSJFMKJFEQY4AP2X6HDPZ5CHDANCNFSM4HUGPLDA>
.
|
Confirmed. After the update to 29.0.1 y moved to stable channel and everything working. |
打开Android Studio 根据提示把platform tools 29.0.0升级到29.0.1 就正常啦。 |
Thank you guys
…On Jun 11, 2019 6:17 PM, "白菜林" ***@***.***> wrote:
打开Android Studio 根据提示把platform tools 29.0.0升级到29.0.1 就正常啦。
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#33938?email_source=notifications&email_token=AG4CRCV67KW63JT4W7TFCVTPZ6GGDA5CNFSM4HUGPLDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXM3ASI#issuecomment-500805705>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AG4CRCSID5O6W7NSGCVVBSLPZ6GGDANCNFSM4HUGPLDA>
.
|
I sloved this problem please update your sdk in android studio click tools then click sdk manger then sdk tool and here update your sdk then run your app then it will be install in your device |
still same issue nothing worked for us. reinstalled everything. nothing works...... |
Try install platform-tools version 29.0.1 👍 Windows: http://dl-ssl.google.com/android/repository/platform-tools_r29.0.1-windows.zip |
* Whitelist adb.exe heap corruption exit code. In android platform tools 29.0.0 adb.exe shell seems to be exiting with heap corruption exit code, otherwise producing results as expected. This PR whitelists this exit code on Windows. Fixes flutter#33938. * Fix condition * Fix 'shell am start' command * Fix stop command * Refactor into runAdbMostlyChecked(Sync/Async) * runAdbMostlyChecked -> runAdbChecked
Same problem, fix platform-tools |
Same problem, fix platform-tools |
New issue today running any flutter app: [+24892 ms] FAILURE: Build failed with an exception. |
Unhandled exception: |
please i have tried everything but none of it worked |
i tried installing platform tools 28 Error retrieving device properties for ro.product.cpu.abi: |
@gmanonline504 #33938 (comment) |
This works!!!!!!!!!!!!!! Thnaks |
For those still having this problem, try USB for file transfer instead of USB for charging or anything else. That did the trick for me. |
@joaomarcos96 Thanks. worked for me almost instantly |
I was trying things out and doing this (comment) and this (comment) solved it! |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
When I try to run my app in an emulator in Android Studio I get the following error. I have to say that it worked before and stopped working after some updates of SDK to v.29. Is there something I have to change now?
Reinstall of android studio and flutter did not work, I tried to kill and restart adb server and disabling heap protection. nothing worked
Steps to Reproduce
Logs
This did not work:
#16865
The text was updated successfully, but these errors were encountered: