itkach / aard2-android

Aard2 for Android, a simple dictionary app
GNU General Public License v3.0
464 stars 98 forks source link

CSS not recognized on Marshmallow? #56

Closed Peters100 closed 8 years ago

Peters100 commented 8 years ago

Android M.

Simple CSS: img { display: none; }

Error: "Doesn't appear to be a CSS file"

On Lolipop, there were no problems.

itkach commented 8 years ago

Works for me on Marshmallow. What's you CSS file name? Make sure it has .css extension. The app simply looks at mime type as reported by OS to check that selected file is at least a text file, not binary.

On Fri, Aug 26, 2016, 02:33 Peters100 notifications@github.com wrote:

Android M.

Simple CSS: img { display: none; }

Error: "Doesn't appear to be a CSS file"

On Lolipop, there were no problems.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/itkach/aard2-android/issues/56, or mute the thread https://github.com/notifications/unsubscribe-auth/AALCce5YlD54HLaEAuePtwPmFID-tbETks5qjrLUgaJpZM4Jt52C .

Peters100 commented 8 years ago

I was able to identify the cause. The issue was with using the MIX file manager [ forum.xda-developers.com/showthread.php?t=1523691 ] to select the .css file. Using another fileman, the CSS was recognized correctly. Thanks.