Status Update
Comments
ba...@google.com <ba...@google.com>
ba...@google.com <ba...@google.com> #2
fa...@sz.de <fa...@sz.de> #3
The issue was tested with Build AE3A.240806.036
ka...@outlook.de <ka...@outlook.de> #4
ba...@google.com <ba...@google.com>
ra...@google.com <ra...@google.com> #5
Please provide sample project or apk to reproduce the issue. Also mention the steps to be followed for reproducing the issue with the given sample project or apk.
Android bug report (to be captured after reproducing the issue)
For steps to capture a bug report, please refer:
Alternate method
Navigate to “Developer options”, ensure “USB debugging” is enabled, then enable “Bug report shortcut”. Capture bug report by holding the power button and selecting the “Take bug report” option.
Note: Please upload the bug report to google drive and share the folder to android-bugreport@google.com, then share the link here.
fa...@sz.de <fa...@sz.de> #6
Steps to reproduce:
- Build Release APK
- Install APK on device, but do not start it
- Simulate Broadcast via adb:
adb shell am broadcast -n "com.fabio.a15crashtest/com.fabio.a15crashtest.MainBroadcastReceiver"
- App automatically starts and crashes with
GaiException
Attached you can find the Test-Project.
Link to Bug-Report:
Thank you!
sh...@gmail.com <sh...@gmail.com> #7 Restricted+
ra...@google.com <ra...@google.com> #8
We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
ra...@google.com <ra...@google.com> #9
The exception is documented in the public doc:
fa...@sz.de <fa...@sz.de> #10
Yes, but in this case, it doesn't seem to make sense. Right after the app starts, an exception is thrown in Application::onCreate
. If I add a 2-second delay, it works fine.
Please take a look at the Test-Project
ra...@google.com <ra...@google.com> #11
1, Reboot the phone
2. Confirm internet connected.
3. run `adb shell ping
4. If internet is connected, try to launch the app again to see if the same crash happened.
5. If yes, then use `adb bugreport` to take the report.
Note: Please upload the bug report to google drive and share the folder to android-bugreport@google.com, then share the link here.
fa...@sz.de <fa...@sz.de> #12
The App still crashes after following your steps. It makes no difference if I ping
Please keep in mind that the app is started using broadcast: adb shell am broadcast -n "com.fabio.a15crashtest/com.fabio.a15crashtest.MainBroadcastReceiver"
You can find the bug report here:
Description
Are you an Android developer?" (Y/N) Yes
Is this a regression from Android 15? Yes
What device are you using? Android Emulator
What are the steps to reproduce the problem?
Use this code for your Application
Add INTERNET Permission to Manifest
Start App
What was the expected result? Hostname should be resolved
What was the actual result? App Crash with UnknownHostException/GaiException
Relevant logcat output.
.
.
Our App is doing Network Requests in Application::onCreate. Starting with Android 15 these requests fail with either UnknownHostException or GaiException. On lower Android versions it works.
InetAddress.getByName
is just an example, any request fails. Permissions are set correctly in the manifest. Do you know why this happens? Or do you know when it is safe to do network requests? When I add a delay of a few seconds, it works