Status Update
Comments
mi...@gtempaccount.com <mi...@gtempaccount.com> #2
Thanks for trying out Room KMP! This looks like an issue with Android 9+ and armv7 and the way we compile sqlite3.c, specifically linking to the atomic library in C. We'll try to get this fix as soon as possible.
uc...@google.com <uc...@google.com>
lf...@google.com <lf...@google.com> #3
1c...@gmail.com <1c...@gmail.com> #4
be...@gmail.com <be...@gmail.com> #5
Branch: androidx-main
commit cf121571aac008a756b64cda13f76ae4db3e85a6
Author: Daniel Santiago Rivera <danysantiago@google.com>
Date: Wed May 29 11:14:42 2024
Link to Android's atomic lib in bundled SQLite
Fix Bundled SQLite loading for devices with older ARM architecture by linking to Android's atomic library instead of relying on Clang's extension (c_atomic) or GCC's built-ins as used in sqlite3.c.
Also add support for passing linker args to androidx's native compilation infra.
See also discussion in
Bug: 341639198
Test: Locally tested via BundledSQLiteDriverTest in a Nexus 5 on API 23
Change-Id: Ia818b7c4f1a990a1b5e35f4c7a3c89694aee0503
M buildSrc/private/src/main/kotlin/androidx/build/clang/ClangSharedLibraryTask.kt
M buildSrc/private/src/main/kotlin/androidx/build/clang/KonanBuildService.kt
M buildSrc/private/src/main/kotlin/androidx/build/clang/MultiTargetNativeCompilation.kt
M buildSrc/private/src/main/kotlin/androidx/build/clang/NativeTargetCompilation.kt
M sqlite/sqlite-bundled/build.gradle
jm...@google.com <jm...@google.com> #6
I'm using androidx.room:room-runtime-android:2.7.0-alpha01.
This is the log:
Fatal Exception: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.myproject-ssibkzVuLAo7tvV0puYoEg==/base.apk"],nativeLibraryDirectories=[/data/app/com.myproject-ssibkzVuLAo7tvV0puYoEg==/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libsqliteJni.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1011)
at java.lang.System.loadLibrary(System.java:1657)
at androidx.sqlite.driver.bundled.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.android.kt:1)
at androidx.sqlite.driver.bundled.BundledSQLiteDriver.<clinit>(BundledSQLiteDriver.jvmAndroid.kt:1)
Thank you!
le...@gmail.com <le...@gmail.com> #7
Can you try using androidx.room:room-runtime-android:2.7.0-alpha04
and confirm if the issue is still present?
v....@gmail.com <v....@gmail.com> #8
jm...@google.com <jm...@google.com> #9
Ideally you could use AndroidSQLiteDriver
but Room has a bug with the AndroidSQLiteDriver
that is fixed in version 2.7.0-alpha05 that will be released in July 10 so I recommend that if you do switch to using AndroidSQLiteDriver
wait for the alpha05 release.
cv...@gmail.com <cv...@gmail.com> #10
I just received two errors from Crashlytics using androidx.sqlite:sqlite-bundled version 2.5.0-alpha06 and BundledSQLiteDriver for both Android and iOS.
Fatal Exception: java.lang.UnsatisfiedLinkError
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/app/com.example.app-ACdqnxIlCwzIlzMdaeegRw==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.app-ACdqnxIlCwzIlzMdaeegRw==/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libsqliteJni.so"
And the exception is in .setDriver(BundledSQLiteDriver())
Both crashes were from a Nexus 5X running Android 8.1.0
I would say it is the same exception as in
cv...@gmail.com <cv...@gmail.com> #11
si...@gmail.com <si...@gmail.com> #12
Same crash on Pixel 6 Pro(android12),Nexus 5X(android8.1) on androidx.sqlite:sqlite-bundled version 2.5.0-alpha11 with room version 2.7.0-alpha11.
si...@gmail.com <si...@gmail.com> #13
androidx.sqlite:sqlite-bundled version 2.5.0-alpha11 with room version 2.7.0-alpha11
3l...@gmail.com <3l...@gmail.com> #14
For those experiencing this issue, can you provide any more detail: stacktrace, bug report, trends (specific API versions, specific manufacturer)?
Usually with UnsatisfiedLinkError
there is more in the logs / error mentioning why the native library couldn't be used, specifically the missing symbol. I have so far validated we are
mo...@gmail.com <mo...@gmail.com> #15
Same crash on Pixel 6 pro
androidx-room = "2.7.0-alpha11"
androidx-sqlite = "2.5.0-alpha11"
Attached a stack trace
mo...@gmail.com <mo...@gmail.com> #16
Does anyone knows if it's safe to use AndroidSQLiteDriver for android as a backup plan?
We also released the iOS app some weeks ago and until know we didn't catch any issue related to this.
le...@gmail.com <le...@gmail.com> #17
For the stacktrace in jni/<abi>/libsqliteJni.so
zo...@gmail.com <zo...@gmail.com> #18
We have the structure like in the screenshoot
ab...@hotmail.com <ab...@hotmail.com>
fr...@gmail.com <fr...@gmail.com> #22
jo...@gmail.com <jo...@gmail.com> #24
Fu
ge...@gmail.com <ge...@gmail.com> #25
Thanks
js...@gmail.com <js...@gmail.com> #26
testing
da...@gmail.com <da...@gmail.com> #27
+hotlist 2367385
[Deleted User] <[Deleted User]> #28
From: <buganizer-system@google.com>
Date: 24 ဧပြီ 2020 6:50 AM
Subject: Re:
continuous stream of adb.exe crash dialogs, at least on Windows 8.1
To: <b-system+591006804@google.com>
မိတ္တူ: <kok129873@gmail.com>
Replying to this email means your email address will be shared with the
team that works on this product.
*Changed*
*da...@gmail.com <da...@gmail.com> added
<
-hotlist Google domain +hotlist 2367385
_______________________________
*Reference Info: 134613180 Updating to platform tools 29.0.0 results in
continuous stream of adb.exe crash dialogs, at least on Windows 8.1*
component: Android Public Tracker > App Development > Android Studio >
Emulator <
status: Fixed
reporter: le...@gmail.com
assignee: jm...@google.com
cc: bo...@google.com, jm...@google.com, le...@gmail.com
type: Bug
priority: P1
severity: S2
duplicate issue: 134627083
<
hotlist: Reviewed (L1) <
retention: Component default
Generated by Google IssueTracker notification system
You're receiving this email because you are subscribed to updates on Google
IssueTracker
<
starred.
Unsubscribe from this issue.
<
[Deleted User] <[Deleted User]> #29
an...@gmail.com <an...@gmail.com> #30
Mmmank
aa...@gmail.com <aa...@gmail.com> #32
Feedback
aa...@gmail.com <aa...@gmail.com> #33
ab...@gmail.com <ab...@gmail.com> #34
انتهاك خصوصية
ab...@gmail.com <ab...@gmail.com> #35
My privacy was violated by an unidentified person, opening several web pages with all my personal data, and I have a forged and incorrect user agreement for my account. I ask you to block the unknown person and help me update my data.
Please help me to modify the privacy of my account to private privacy and not to participate categorically and the presence of security for privacy and not tampering with it.
za...@gmail.com <za...@gmail.com> #36
dd...@gmail.com <dd...@gmail.com> #37
On Tue, Dec 15, 2020, 2:06 AM <buganizer-system@google.com> wrote:
ka...@gmail.com <ka...@gmail.com> #39
حلم 95458 من مصر 🇪🇬 201551145918كرم محمد عبد العزيز عبد العال حلم حلم حلم حلم حلم حلم حلم 2021
ka...@gmail.com <ka...@gmail.com> #40
حلم حلم حلم حلم حلم حلم حلم 95458 مصر 🇪🇬 محافظة الاسكندرية كرم محمد عبد العزيز عبد العال 201551145918 حلم حلم حلم حلم يارب شيك يارب mbc 2021
si...@gmail.com <si...@gmail.com> #41
I installed 29.0.1 via the SDK Manager. This problem feels fixed to me.
ab...@gmail.com <ab...@gmail.com> #43
help me japan tool
fl...@gmail.com <fl...@gmail.com> #44
m....@gmail.com <m....@gmail.com> #45
1381662341mohamadsalmanpor
در تاریخ شنبه ۱۱ سپتامبر ۲۰۲۱، ۱۶:۴۱ <buganizer-system@google.com> نوشت:
m....@gmail.com <m....@gmail.com> #47
1381662341mohamadsalmanpor
در تاریخ شنبه ۲ اکتبر ۲۰۲۱، ۲:۲۰ بعدازظهر <buganizer-system@google.com>
نوشت:
mo...@gmail.com <mo...@gmail.com> #48
Hjh
at...@gmail.com <at...@gmail.com> #49
My device esim update 13 on drive
ly...@gmail.com <ly...@gmail.com> #50
hi
Description
When I start the Emulator (via Android Studio), I get a Windows "adb.exe has stopped working" check for solution/close program dialog. Then a couple of seconds later I get another, and another. The emulator does come up, and it's GUI is responsive, but I can't really access it from Android Studio. The stream of Windows error dialogs continues until I stop the emulator.
I can access a real test device just fine.
When I change my "platform-tools" folder back to the previous version, which I believe was 28.0.2, everything works fine. This is the workaround I'm planning on using.
I've tried this with both an AVD that I had before the update to 29.0.0 and one I created after the update. It acts the same.
I have not tried to run the emulator from the command line.
This part I can not reliably reproduce, but I've seen it several times. Sometimes, I get an error dialog after I start the emulator (via Android Studio) but before the first adb.exe crash dialog. That error dialog says something about my adb.exe being hopelessly out of date. I'm not sure who is generating that dialog, but I don't think it's Windows. Over the years I think I've seen that same error very intermittently, but ignoring it never seems to have any negative conciquences.
Since I'm not seeing too much yelling and screaming about this on the net I'm assuming I'm in a relatively small group. Windows 8.1 for one. My most non-standard thing I can think of about my system is that the android SDK folder and the android AVD folder are both on my E: drive (C: is the system drive and where my hold folder is). This is not new.
I have a very low-end Windows 10 machine that I only use in emergencies and it seems to be working fine.
Please Read:
Android Studio Version: 3.4.0-2
Emulator Version (Emulator--> Extended Controls--> Emulator Version): 29.0.11-5598178
HAXM / KVM Version: HAXM 7.5.1
Android SDK Tools: 26.1.1
Host Operating System: Windows 8.1
CPU Manufacturer: Intel CPU
Virtualization is supported
64-bit CPU
RAM: 16316 MB
GPU: GPU #1
Make: 10de
Model: NVIDIA GeForce 840M
Device ID: 1341
Build Fingerprint: google/sdk_gphone_x86/generic_x86:8.1.0/OSM1.180201.031/5455776:userdebug/dev-keys
AVD Details: Name: Nexus_5X_API_27_8.1_x86_Google_APIs_
CPU/ABI: x86
Path: E:\LeeExtra\Dev\.android\avd\Nexus_5X_API_27_8.1_x86_Google_APIs_.avd
Target: google_apis [Google APIs] (API level 27)
Skin: nexus_5x
SD Card: 512M
AvdId: Nexus_5X_API_27_8.1_x86_Google_APIs_
PlayStore.enabled: false
avd.ini.displayname: Nexus 5X API 27 (8.1 x86 Google APIs)
avd.ini.encoding: UTF-8
disk.dataPartition.size: 800M
fastboot.chosenSnapshotFile:
fastboot.forceChosenSnapshotBoot: no
fastboot.forceColdBoot: no
fastboot.forceFastBoot: yes
hw.accelerometer: yes
hw.arc: false
hw.audioInput: yes
hw.battery: yes
hw.camera.back: virtualscene
hw.camera.front: emulated
hw.cpu.ncore: 4
hw.dPad: no
hw.device.hash2: MD5:ae200ad6786ec467cb9067f7b46b0fd1
hw.device.manufacturer: Google
hw.gps: yes
hw.gpu.enabled: yes
hw.gpu.mode: auto
hw.initialOrientation: Portrait
hw.keyboard: yes
hw.lcd.density: 420
hw.lcd.height: 1920
hw.lcd.width: 1080
hw.mainKeys: no
hw.ramSi