Should I switch over to libgdx? :/

So I’m working on a Java 2D overview type of game which Im planning to port over to Android later :slight_smile: I have worked in pure Java now, but I’ve heard that using Libgdx might be the best choice because of the Androids performance and memory limitations :confused:

My question is if I should too this and do I have to rewrite alot of my code? :frowning: I have already made the player, enemies, animations, powerups, GUI and some more :confused: