Unable to install certificates for Emulator v4.4 in android - certificate

Iam unable to install certificates to android emulator 4.4.
Under Options Security > Install From Sd card in emulator,it directs me to Downloads page where no certificates are shown and i have already pushed certificate to sd card of emulator.
Working fine for v4.3
Please help me out....

I've used this tool.
http://www.realmb.com/droidCert/
You upload the certificate to their site and then they give you a url that you can download the certificate from on the android device and it launches the installer automatically for you.

Related

flutter debug APK not installing on mobile

Am not able to install the APK in my mobile generated by gradle. it's working fine on an emulator but when I try to install on my mobile its starts installing and in the middle, it gives the error APK not installed. Am running android 10. Paths from where I picked the debug APKs are as follow.
<project>/build/app/outputs/apk/debug/app-debug.apk
<project>/build/app/outputs/apk/debug/app.apk
<project>/build/app/outputs/flutter-apk/app-debug.apk
It seems your apk does not have certificate yet.
you cant install it just like that. you can either certify it build release android app
or set your phone to install app form unknown source. in app settings or security settings
If you're trying to manually install the app-debug.apk, you should rather consider generating app-release.apk but if you can't debug the app, then you might considering opening up your developer options.

How to install custom build AOSP apps in Android phone

I have build MMS app from AOSP (Build no: LMY48M) using the following command
make -j8 Mms
The command produces a Mms.apk file, that I would like to install in my Nexus 5 phone. The phone is rooted and has Android Build number LMY48M installed.
The phone should contain a Mms app installed with the same app Id of my Mms.apk file. I wanted to remove the installed Mms app from the phone as I have root permission. I do not find any Mms application whatsoever. SMS functionality is being provided by Hangouts app.
Moreover, when I tried to install the generated Mms.apk file, it shows permission screen with the install button. Tapping on install button starts the installation process but stops in few seconds with error "App not installed."
Any suggestion is appreciated. Thank you.
You should try copy paste the apk into system->app instead of installing
You should install the apk using the adb install command:
adb install -r Mms.apk
This should install the latest apk and will perform an update of the previous version of the Mms.apk if it is already present.
The tricky part here is if it is already present the new apk must be signed with the same cert as the existing one. I'm not sure if those are public certs or not but it's worth a try.
lunch aosp_arm-eng command is for emulator and won't work for device build, rather use specific command for the device. For Nexus 5 you need to use command lunch aosp_hammerhead-userdebug (Ref: https://source.android.com/source/running.html#selecting-device-build)
P.S you should download the same branch as of your device build number. For instance, my Nexus 5 device has build number LMY48M, so I should download branch android-5.1.1_r14. For more information, https://source.android.com/source/build-numbers.html
Now you can install the Mms.apk file just tapping on it from device. You do not need to uninstall/remove Hangouts.
The Mms application has been replaced in Lillipop by Hangouts app. If you would like to install the Mms app as an internal app then you need to make the following folder structure in your rooted device,
system/priv-app/Mms/Mms.apk
and restart the device.

Trouble running emulator in android studio

I am unable to run the emulator in android studio. I received a "Your cpu does not support required features (VT-x or SVM)" message. Someone told me to try and do what this link states "http://www.howtogeek.com/213795/how-to-enable-intel-vt-x-in-your-computers-bios-or-uefi-firmware/" which led me to a video and I tried following those directions but was unable to because first, there was no HyperV feature in the Windows features section. Second, there was no UEFI Firmware settings icon when I went to advanced settings in set up. How can I proceed from here to enable the VT-x in order for me to be able to use the emulator in Android studios? Thank you so much!!
Okay your cpu does not support is not the same as cannot use emulator you just have to use one that runs x86 images which is in fact GenyMotion...
https://www.genymotion.com/
sign up for free account and when you download you want the full install package with virtualbox included.
and it does support instantrun just like the google android emulators do
You will also find the android studio genymotion plugin at the same site to download and use with android studiio

How to sign and align an android application generated by Intel XDK?

I want to use my custom keystore in this project because I intend to host the application in PlayStore and keep it updated. Without the keystore will be tricky.
Details: In the settings cordova, I not marked the "Signed" box and I exported the app and tried signing it using javasign. At the command prompt went well but the app does not install on any of the devices I tested.
The APK created by the Intel XDK is created using standard Cordova CLI. So the techniques you would use to sign that APK are no different than what you would use with any other Cordova (or PhoneGap) app or an APK built using Eclipse or any other tools.
See these links for some useful information:
-- http://developer.android.com/tools/publishing/app-signing.html
-- https://www.scirra.com/tutorials/861/how-to-sign-and-align-your-android-app-apk

packagemanager.install error: PRIVILEGE_LEVEL_VIOLATION

I want to install package from my application. For this i have to add packagemanager.install privilege. But when i try to run application i get an error:
Installing the package failed.
Error code: PRIVILEGE_LEVEL_VIOLATION
Error message: Command: /usr/bin/pkgcmd -i -q -t wgt -p
"/opt/usr/apps/tmp/inst.wgt" Management: Refer to Help contents >
Getting Started with Tizen > Overview > Privilege.
I am testing in device Gear(b8a5)
This could be a problem with your signed certificate from Samsung not being present on your Gear device. You must follow the certification instructions at Help > Help Contents > Getting Started with Tizen Wearable > Development Environment > Tizen SDK for Wearable > Certificates to get a signed certificate with your Gear's DUID from Samsung.
If you have already followed these steps, it could be that you need to copy the certificate received from Samsung onto your device in the Tizen ide by selecting your debuggable device and navigating to Home > Developer and placing the certificate in there.
The certificate allows your app to be run on your physical device. It is removed from the device if you perform a factory reset.