Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small bug with loadImage on App #99

Open
Erdien opened this issue Aug 5, 2020 · 0 comments
Open

small bug with loadImage on App #99

Erdien opened this issue Aug 5, 2020 · 0 comments

Comments

@Erdien
Copy link

Erdien commented Aug 5, 2020

I got an annoying bug that I encountered while running an app (on preview mode everything is alright)
Urfortunately I'm not sure how to recreate it.
The bug occurred when I tried to load an external image using image opener with image/* filter.
the file path was alright, but loadImage() wasn't working. I checked the privileges (ok), tried to overwrite source code (unsuccessful)
and finaly I tried to copy code to another sketch. At the new sketch everything is working fine.
I tried to compare both apks:

  1. the only changes in classes.dex was change of the sketch name and package (everything ok)
  2. there was some changes in /META-INF/ (everything ok (certificates, etc.))
  3. no changes in assets
  4. in res there was few major changes in 3 folders:
  • /res/values-v17/
  • /res/values-v21/
  • /res/values-v24/
    compare.zip

Edit:
I tried to swap dexes between working and not working sketch.
Not working code wasn't working with the working stetch's files, and working code was was working with the not working sketch.
So there is something in dex that I didn't catched.
I think, that I found how to recreate the bug. I changed Version Code to 0 (after changing it to 1 the bug occurs anyway)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant