Replies: 1 comment 1 reply
-
"Installing new app version" is a Briefcase message, not an adb message. What is the adb output?
I think these mentions are normal; they're just Briefcase attempting to stop any existing version of your app, but failing to find one. The actual issue is probably in these lines:
We've previously seen this message in #2150, which is probably not relevant unless you're trying to sign the app, and #2135, which we never got to the bottom of. However, since this is a relatively old device, it's possible it may be something to do with 64-bit compatibility, which is required by Python 3.12 and newer. Try the following:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
When I run
briefcase run android[ --update]
and select a Samsung Galaxy J7 Metal (Android 8.1) device, it gets stuck at:Installing new app version...
If I wait for a few minutes (waited for up to 20 minutes), it remains stuck/never leaves that stage.
If I run the
adb
commands directly, it gets stuck atPerforming Streamed Install
stage:/Users/user/Library/Caches/org.beeware.briefcase/tools/android_sdk/platform-tools/adb -s <device-id> install /Users/user/path/to/MyApp/myapp/build/myapp/android/gradle/app/build/outputs/apk/debug/app-debug.apk
If I transfer the
app-debug.apk
file to the physical device and try to manually install it, it fails at end of the installation process, with the message "App not installed.".Additional Notes:
It works on the Android emulator [created with Briefcase].
It also works when manually installing and running the
app-debug.apk
file on a Samsung Galaxy A04e (Android 12). I've not tried running it throughbriefcase run android
on this Android 12 device yet. I may be able to try that soon, but I suspect it will work.Also works with Python 3.11 on the Android 8.1 device.
The same issue happens with the "hello world" project following the BeeWare project: Works with Python 3.11, but gets stuck at Installing new app version..." with Python 3.12 and 3.13, on this Android 8.1 device.
Logs
Since it gets stuck, Briefcase never produces a log file. Running with
-vv
also doesn't seem to show anything relevant.Here's the
logcat
log, where we can see 2 mentions of my app bundle namecom.myapp.myapp
(faux name):logcat.log
System Info
Beta Was this translation helpful? Give feedback.
All reactions