APK files not install on my oppo a37 - java

I made a simple app by using android studio & build both signed and unsigned apk files. Then put those files into my oppo a37 device and try to install those. But both files gave following error message.
"Unable to install because of an error in the app APK. We recommend installing only certified apps from the play store."
I already checked these APKs by using android studio emulator and both works fine...
Please help me... Thank you...

Go to Files in OPPO A37 phone and select APK icon. Then you can see your downloaded apk file. Click install:

Related

App not Installed with not sign app after format my system

I have build an application(not sign app) from my computer system after one app build that computer system android studio corrupted after android studio corrupted i used gost and install again android studio and build new version of same app with same package name but now it is showing error App not installed what i do please help me
solution 1 :Go Build > Clean Project and then try run again
solution 2 :test your app in another device

Apk does not install on Oreo

I'm trying to install a signed apk (which I built with Android Studio) on a Android 8 device. The apk does not install and in the logcat of Android Studio I get the following error:
E/installd: Failed to delete /data/app/vmdl1035777424.tmp: No such file or directory
The app was never installed on the device so I cannot clear the app data. I cleaned the project and also cleared the cache in Android Studio. Other than that I'm using the v1 and v2 signature when creating the apk.
When installing (through Android Studio) the apk in debug mode it works but not when installing the signed release apk.
How can I fix this error so that the apk successfully installs on Android 8? Any help is greatly appreciated.
Maybe you need to change the sdk target to api "27" in gradle.
I had the same issue, trying to install an APK through Firebase App Distribution.
The culprit was that I had published on App Distribution the APK that is generated by Android Studio when I ask the IDE to run the app on a device or an emulator. Apparently, such an APK is unsuitable for publishing. To correctly generate an APK that can be published on App Distribution, I had to use the Build > Build Bundle(s) / APK(s) > Build APK(s) menu item from Android Studio.

Android - Exporting a Project

What are the options for exporting a project (into a jar or something) if I want to be able to allow anyone to easily install the app on their device by just having the jar (or whatever object it is). If this is done by making a jar, how does one install the app once they have the jar?
To generate apk
Go Build option in Tool bar of Android Studio
click Generate Apk
Locate the Generated apk on disk and transfer or copy that apk file to mobile device
open apk file from mobile and it is got installed
Connect mobile to pc through usb, Run command adb install yourapp.apk.
P.S: enable usb debugging in developer option.

UIautomator - Android Studio - How to generate an APK or JAR file

I have a project in Android Studio, using UIAutomator, but I don't want to open Android studio everytime I need to run it.
How can I generate a APK, Jar file or anything that can be launched? I don't want smart or safe methods, but the simple the better. It has to be using Android Studio, not eclise or any other IDE.
It generates APK, but it doesn't open properly, I don't have any GUI coded, just test classes.
Thanks,
Only way you can achieve this by storing APK on your android mobile, here is simplest way to do so
Connect your android mobile and choose the device as emulator while running the project,by doing this you will find APK installed on your mobile device that you can run anytime you want.
here are steps to follow :-
https://www.youtube.com/watch?v=Qb2olFyoMV4

Can't install generated APK

I've been doing an application that uses GCM api. It works perfectly well if I use eclipse to install the app in the phone. But when I export the APK file and try to install it manually in the same terminal it just says Application not installed, I tried to check LogCat but it did not help. I also tried to generate the apk from android studio but the same problem occurred.
I think the problem might be related to the libraries that I need to use in my app using GCM, because if I install it using DDMS the app size is 15 MB but the apk file generated is 2.5 MB.
I tried creating a new project but didn't help.
edit
To generate APK i right click in the project android tools -> Export unsigned application Package (In Eclipse).
With install manually i mean installing APK from internal memory instead of using USB debugging.
Thanks.
You cannot instal an APK that is unsigned. I don't know Eclipse, but I bet it does the same as Android Studio when debugging, that is it signs the APK automatically with the debug certificate and that's why it works without problems that way.
Is there an option in Eclipse to export a signed APK? Otherwise you'll have to set up something to sign your APK with a release certificate that you have made yourself.
You can read more about APK signing on this Android developer guide.

Categories

Resources