I've installed 5 APKs using the abd install command. Three of the packages install and function as expected but the other 2 (including Brave browser) don't. If I try to access the 2 apps in question via swiping up from the bottom of the screen to reveal the app list (app drawer) but they are not shown. If I go to 'setting > apps' they are viewable but cant be opened. The output of adb dumpsys package packages show that the the apps are installed. Some forums suggest that this may occur if there are more than on account on the device but this isnt the case for me.
Does anyone have any idea why this is happening and how I can get the apps to work as normal.
Thanks
According to the documentations, an Instant App is downloaded via Google Play and launched on the fly. It is not installed but is rather cached in the Android system. As a developer and user, I would like to validate this behaviour.
I have tried running Clash Royale by hitting the "Try now" - that is when a splash screen is shown with a progress bar (assuming that's when the feature APK is downloaded?) and it launches soon. On exit, there is no application icon which is expected.
In the device storage I looked for trace of the APK but with no success. Do I need ROOT permissions to see this? Is there a way to inspect and verify?
There is still an APK installed.
For O+ devices, run adb shell pm path com.supercell.clashroyale after TRY NOW
And you'll see:
package:/data/app/com.supercell.clashroyale-CUaYOumzCbUDNAdv1MRtRg==/base.apk
package:/data/app/com.supercell.clashroyale-CUaYOumzCbUDNAdv1MRtRg==/split_split_2_tutorial_battles.apk
Do it again after INSTALL (for comparison), and you'll see:
package:/data/app/com.supercell.clashroyale-0Dn0s6yq6WqGCRZ9ETT8bA==/base.apk
package:/data/app/com.supercell.clashroyale-0Dn0s6yq6WqGCRZ9ETT8bA==/split_config.arm64_v8a.apk
package:/data/app/com.supercell.clashroyale-0Dn0s6yq6WqGCRZ9ETT8bA==/split_config.en.apk
package:/data/app/com.supercell.clashroyale-0Dn0s6yq6WqGCRZ9ETT8bA==/split_config.xxxhdpi.apk
(For pre-O devices, the first part won't work, but I don't know any other cmd that will do the same)
You can navigate to Settings -> Apps, and see instant apps there. The App Icon will have Lightning bolt sub-icon at least it looks like that on Samsung Android 12.
I work on Android Studio with Meizu MX6. Previously everything was ok. But it seems after updating Flyme, I started getting this problem:
Failure [INSTALL_FAILED_USER_RESTRICTED]
If I choose "Ok" I get next:
DELETE_FAILED_INTERNAL_ERROR
When I work with another smartphone all right. If I copy apk-file on my phone all right too. It installs and runs. Install software from unknown sources is on.
I had the same issue. It happens only on Flyme due to Security App.
To enable installation:
Open Security Application. (it is one of preinstalled Flyme apps)
Go to Permission
Usb app installation.
Turn off USB installation monitor.
Have found the solution here: http://bbs.flyme.cn/thread-1106582-1-1.html using Google Translate.
I also had the same problem with my Xiaomi Redmi note 3.
here's how i solved it,
Go to settings>>Additional Settings.
Go to developer options.(if its not there, first goto about phone
and tap on build number 7 times...and start again from step 1)
Click on install via USB.
That's all, you are ready to rock :)
The device is temporarily restricted error appears in MIUI 8.5.
To resolve the error you need to make WIFI off and make mobile data on and then enable the option “Install via USB”.
It will work for you.
Enjoy!
I have had the same problem with XIAO MI.
I went to Settings -> Additional Settings -> Developer options -> Turn On "Install via USB"
Only you can activate this switch if you have a Xiaomi count, create and activate your count, then sign on and turn on install via USB.
In my Redmi4 i had the same issue.
The steps followed to overcome:
(1)
Settings -> About Phone -> tap 7-8 times the MIUI version(to activate Developer Options)
Settings -> Additional settings-> Developer Options -> enable USB
debugging -> install via USB
DONE
On Redmi Note 4, Go To
Settings --> System & Device (Additional Settings) --> Developer Options --> Install via USB.
Register using a mobile number(OTP).
Try again, should work.
Redmi Note 7 and pro In developer options Allow USB Debugging, Install Via USB and disable Verify apps over USB
Do you have a rooted phone with some application installed that manages App Access authorisations, like King Root?
I had faced with same problem on one of the devices. There was an app on device with super user access that was blocking the new installation. Had to approve installation in that app first before installing new apks.
This occurs when you select the option "remember my choice" and Decline accidentally.
The only solution I found was to change the name of the package and application, but this is not feasible in many cases
If you got this after mistakenly "Cancel"-ing when you must have selected Remember my choice then some dirty fix would be to:
Manually copy the same debug apk from your build output to the same test phone.
Manually install the apk. (You have to allow installation from unknown sources of course)
Go to "App Manager" and clear preferences.
Restart the debug as usual.
NB: This was put up in a hurry after some wasted hours so, I'm yet to verify if step #3 is necessary for this to work.
NBB: You'd be back to square one if you uninstall the app and try to do a fresh install from the debug so, apparently, the App Manager preference reset doesn't cover whichever subsystem it is that governs the setting.
Yes, I know, this should infer that our first #NB is void but things don't always follow intuition so, I'm leaving it till it's verified. :D
I have an application in which I also create a home screen shortcut. My app supports multiple languages. I am testing if I change the phone language, the home screen shortcut name is updating automatically or not.
If I install the app through eclipse, it works fine and home screen short name updates fine to new language automatically on device language change. But if I install the app through adb (using adb install), the home screen shortcut name does not update automatically on device language change.
So, is their any difference in the way we install app by following ways:
Installing through eclipse
Installing through adb shell
Installing through app store.
I try to install signed application in all cases. please help
Hi guys, I know most of people faced the problem same like me.
But I still cant solve this problems.
I had build android app and this app is using Google Map API and Google Places API.
I had signed my apk file using Eclipse wizard, but when I transfer it to my tab (taiwan product) using SD Card it said "application not installed". I never installed this app with debug key before. All others Google Map apps I downloaded from Play store can use well in this tab.
I set min android version is 2.2 and highest is 4.0.3. My tab running on 4.0.3.
I also tried to install this app to other brands low end tablet, and it was successful.
But in my tablet, it failed.
Anybody have idea why I can't install this signed apk file? I had tried so much to solve this.
thanks..
There comes a time in every Android user's life where you want to install an app not found in the Android Market. If it's your first time, you're greeted with, "For security, your phone is set to block installation of applications not obtained from the Android Market" message as you try to install. But how do we get there?
To allow app installs from non-Market apps, tap the menu button on your home screen, then choose Settings >> Applications >> Unknown sources.
Who are these "Unknown sources," and what do they want? Simply put, it's anything other than the Android Market. Could be an app sent by e-mail. Or downloaded from a website.
If you're worried about the security implications of allowing unknown sources, there's an easy fix -- install the app from outside the Android Market, and then hit the checkbox again to turn them back off.
source.