beeware / beeware/toga

DateInput not working on Android 7.1.2

Open
#2,322 5 comments 0 reactions 0 assignees View on GitHub
android bug
Dominant language
Python
Stars
5.4k
Forks
827
Avg merge
15h 39m
Merged PRs (30d)
40

Description

### Describe the bug

The date_and_time example fails to run on android 7.1.2

### Steps to reproduce

1. Load `date_and_time` example
2. Run `briefcase run android -u`
3. Select either Android 7.1.2 physical device or emulator
4. App crashes with following error:
[Device log output.txt](https://github.com/beeware/toga/files/13826814/Device.log.output.txt)

### Expected behavior

Date input works as expected

### Environment

- Operating System: Android 7.1.2, Built on Windows 11 23H2 (Build 22631.2861)
- Android devices: VT-7, emulator - ![image](https://github.com/beeware/toga/assets/78893529/54dcd80e-ce3b-4b04-a3f1-8a8361750827)
- Python version: Python 3.10.4
- Software versions:
- Briefcase: 0.3.16
- Toga: 0.4.1

Contributor guide

Open the contributing guide

Research direction

Start by running the date_and_time example with `briefcase run android -u` on Android 7.1.2 and review the linked device log output. Trace the date input failure in the example and Android implementation, then verify that selecting a date works without a crash on the affected device or emulator.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, python
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.