Error opening .apk in device, after making ionic build


After you create an apk with ionic build command does well, but get this message in red

: compileDebugJavaNote: C: \ Users \ alman \ ionic \ test \ platforms \ android \ src \ org \ ap
ache \ Cordova \ splashscreen \ use or overrides a deprecated API.
Note: Rebuild With -Xlint: deprecation for details.

after trying to open the apk generate the device and I get error opening the file.

What could be the problem?


Usually i’ve got this problem when i forgot to ‘zipalign’ file. Als u should sigh ur .apk with keystore file. So the whole process: build-> sign-> zipalign. U can find more info about all steps here