Is anyone having problems with AS installing an AP...
# android-studio
f
Is anyone having problems with AS installing an APK? I often have run "run" twice to get an updated APK on my emulator.
🚫 2
2
same 2
p
Not really, happens to me from time to time but is usually that the APK is huge and something goes wrong during the first install. But like I said, not consistently rather time to time
f
it's happening all the time for me, so bad that I can never trust if my changes are deployed or not
p
Humm weird. Does it happens on physical devices too
f
I don't develop on physical devices enough to say, just smoke test on them. Doesn't happen for any other platforms (desktop, web, ios).
p
Gotcha, sorry I can't help here 😕
🙏 1
c
intersting. ive filed some bugs about this a while back but i havent had the issue in months.
lemme look up the issuetracker
in my case. this solved it for me.
but not a great resolution since you disable optimizations for deployment
maybe this was the bug https://issuetracker.google.com/issues/215407122 i think i had created one or more though
e
Are you experiencing this after clearing the app's data? If so, could be https://issuetracker.google.com/issues/348683465
f
@Colton Idle I am using that option and it still happens 😕
@eygraber no unfortunately I very rarely clear the apps data
c
Interseting. I'd file a bug. when triaged to the right person (50/50 shot) they do resolve it quite quickly
f
@Colton Idle I'm not sure what to put in the bug, I have no reproduce-able example
c
I'd just file it anyway. They might point you to an internal bug that is being tracked, or just ask for more info https://issuetracker.google.com/issues/new?component=192708&template=840533 just put in your deve machine OS, version of studio, OS of phone you're deploying to... and wait and see
you could also look in logcat with no filters to see what it says. might after something that shows during the apk installation.
might also want to let them know if you have that checkbox i shared on/off
f
will do, thanks @Colton Idle
c
if you share the link here ill +1
created this. happening to me today. new app wont deploy unless i go back to stable instead of c9 https://issuetracker.google.com/issues/377410088
s
My Studio at home has started just deploying and running existing builds when I click the Run button, without even building anything. Not sure if it's related or if I've toggled some sort of setting, though. I essentially have to run Build first, and then the Run thingy. It even gives me an error if I
./gradlew clean
the project first and then click Run, since there are no files to deploy. On the one hand, it's great that it deploys and runs super quickly, on the other, it kinda sucks that it deploys and runs the wrong stuff. 🥲
🤣 1
c
☝️ also seeing this, but in Canary only
c
create an issue on issuetracker? ill star 😄
i was redirected to https://issuetracker.google.com/issues/376707217 FWIW. looks like theres a bunch of googlers eyes on it at least.
👀 1
f
That is awesome, great spotting @Colton Idle