Committed by
GitHub
Add hint for loading model files from SD card on Android. (#2564)
This PR adds a helpful hint for Android developers who are trying to load model files from the SD card instead of the app's assets. The change detects when an absolute path is provided while an asset manager is still being used, which is a common configuration mistake. - Adds validation to detect absolute paths when using Android asset manager - Provides clear error messages guiding users to set assetManager to null for SD card file access - References the related issue for additional context (#2562)
正在显示
1 个修改的文件
包含
14 行增加
和
0 行删除
-
请 注册 或 登录 后发表评论