reveny / Android-GUI-Injector

GUI App for Injecting shared libraries on Android
GNU General Public License v3.0
202 stars 61 forks source link

Not working on ldplayer (forward assault) #2

Closed 77friends closed 1 year ago

77friends commented 1 year ago

image

I tried this on ldplayer, it doesn't seem to inject any lib into forward assault.

Is ldplayer/emulator support not added yet?

reveny commented 1 year ago

Make sure you are using a 32 bit emulator, not 64. I have tested it on ldplayer (android 9, 32 bit) and it works just fine.

77friends commented 1 year ago

Make sure you are using a 32 bit emulator, not 64. I have tested it on ldplayer (android 9, 32 bit) and it works just fine.

I tried using the 32 bit version of ldplayer 4, (shown below)

image

When I do, I now get this error:

image

reveny commented 1 year ago

I have checked again on LDPlayer 4 (Android 7, 32 Bit) and it works without any problems, keep in mind that the library you want to Inject needs to be located at "/data/local/tmp/" otherwise it will not work. Capture

77friends commented 1 year ago

I have checked again on LDPlayer 4 (Android 7, 32 Bit) and it works without any problems, keep in mind that the library you want to Inject needs to be located at "/data/local/tmp/" otherwise it will not work. Capture

Strange, because I have it in data/local/tmp and it does not inject, I get the same error. I am going to compile a fresh lib that doesn't do anything, and try injecting it (in case its an issue with the lib I'm injecting for whatever reason).

I will let you know if it works or not.

reveny commented 1 year ago

I have found the solution. You have to keep in mind that you can only Inject x86 libraries on x86 (ldplayer). Even if your game runs on 32 bit you have to build a x86 library to Inject.