Android Question App Crash at start on a device, but run on others.

PierPaduan

Active Member
Licensed User
Longtime User
Hi all,
Thanks to everybody in advance.
I'm working on an app, that run correctly (in DEBUG and in RELEASE modes) on tested devices: Samsung S3 (Android 4.1.2) and S4 (Android 5.0.1).

This morning I have installed this app on a HUAWEI G Play Mini (Android 4.4), at start the app crashes and I obtain the following Logs, in DEBUG mode:


...and in RELEASE mode:

The app crashes if the HUAWEI is not connected to computer via USB cable too.

In DEBUG it doesn't find a file, and in RELEASE doesn't open the database.
Why? The file is in the File Manager tab and the database, by code, is in a subdir of DirRootExternal.
The HUAWEI has an SD card mounted, but if I check the file inside the SD, I don't find the subdir I need.
Where could be the cause of the problem? Someone can help me?
Thanks in advance.
 

PierPaduan

Active Member
Licensed User
Longtime User
Hi Erel,
The database is already outside File.DirAssets, it's in: File.DirRootExternal & "/SETandGO/Data".
Do you have another advice?.
Tnx.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…