I did a fresh install of everything and now it’s solved, I can generate the debug.apk correctly, however a while ago the app installed by itself when it detected a phone connected, now it won’t install by itself.
Any clue?