.apk file works on Emulator but not in real android - android

I am facing a weird problem. I've developed a react-native app in 'Expo' and generate its .apk file following (https://docs.expo.io/versions/latest/guides/building-standalone-apps.html#building-standalone-apps) this guideline. Now the downloaded .apk file works well on 'Emulator' but in real android phone Error: App not installed. The package appears to be corrupt ....?

Related

Android APK not getting installed

I created a basic Android app as an Internship. Created its APK and tried to run on my mobile by connecting it to the Laptop by USB cable and used as an emulator, it's working perfectly. My Android OS version is Oreo, I tried the same to do on Lollypop and still it's getting executed.
The problem arrives when I am sending that APK via e-mail and trying to directly install on the device, it's giving me this error
There was Problem in Parsing the Package
I don't know what is happening as it is getting executed directly from Android Studio.I kept minimum SDK as 15.
Please help me out.
Here is what you need to do before installing.
Android Unsigned App not able to install on device
And I hope answers here do the help too.
Cannot install signed apk to device manually, got error "App not installed"
Try this:
Build --> Clean Project
Build --> Rebuild Project
Build --> Build APK(s)
Apk Dir: Project Dir/app/build/outputs/apk/debug/xxx.apk
or check your app name length.

Installed app not working

I've got a problem with my android app. When I run and install it by Android Studio, everything is ok, but when I try to install it manualy from .apk file after installation it immediately close.
It does even on hello world app.
I have unkown sources turn on.

Android Cordova 5.3.3 error when deploying .APK file to device

I have a Cordova 5.3.3 Android application, which works fine if I deploy it directly to my device through eclipse (Run As Android Application). But when I export the application and try to run the .apk on a device, it immediately crashes. I submitted the application to the Play Store and the same happened.
I had my console open and it showed the following error:
I can find my MainActivity package located in the src at com.ontrac.nutshellmobile.
Any idea why this is showing up?

How to run apk file on mac to test phonegap app?

I need to test my android phonegap app. I have the APK file and have tried to get some sort of android emulator running on my mac with no luck. i just need to test the app for android but cant get it to work. i have the android sdk manager installed but cant find the right commands for it to run an apk file in x location.
the phonegap emulator doesnt seem to work for apk files, by the looks of it, it runs html, css, js files on an iphone size screen. unless im doing something wrong and it can work apk files.
Any help would be great.
you can download android studio and the Android SDK, run the emulator and send the apk to your email, in the emulator accessing your mail and download the apk, install it and test ...

Install .apk file to Android Emulator on a Mac

I'm new to Android and I was given some .apk files (not created by me) with malware that I'm trying to run on the Android emulator for testing purposes (trying to get app's system call data using strace).I have checked several places online, but I'm stuck trying to install the .apk file. When I run the following command :
./adb install filename.apk
I'm getting this error:
Failure [INSTALL_FAILED_DEXOPT]
Any help is greatly appreciated!
Just Drag and drop apk into your Android emulator. its automatically install by it self.

Categories

Resources