It does not matter, on the emulator or on the device, the program crashes:

Uploading file local path: D: \ XPN \ XPN_GAME \ proj.android-studio \ app \ build \ outputs \ apk \ XPN_GAME-debug.apk remote path: / data / local / tmp / XPN_proj Installing XPN_proj DEVICE SHELL COMMAND: pm install -r "/ data / local / tmp / XPN_proj" pkg: / data / local / tmp / XPN_proj Failure [INSTALL_FAILED_INVALID_APK] DEVICE SHELL COMMAND: pm uninstall XPN_proj Unknown failure

With the device, everything is fine, because there is another program of the same type and it works.

Files for android created cocos2d-x, it is crooked and makes a bunch of errors when generating files.

Where to look for an error?

  • INSTALL_FAILED_INVALID_APK means that you have a clumsy APK file. Something is wrong with him. - Vladyslav Matviienko
  • Well, this is understandable, but from that it is not easier for me, I do not know where to find the problem. - Valera Kvip
  • Does the device / emulator match the API level of the application? - YurySPb
  • I do not know, everything created cocos2d-x. And I already had to rewrite several files. I don’t even know where to look for the error ... - Valera Kvip

0