Getting Error "App Not Installed", after upgrading the android platform - android

I am getting error "App Not Installed" after android platform updated from 7.1 to 8.0
Plese find the logs for the same below
2019-07-06 19:57:24.583 1553-1740/? W/PackageManager: Package com.xxx.projectname new target SDK 19 doesn't support runtime permissions but the old target SDK 26 does.
2019-07-06 19:57:24.587 977-1852/? E/installd: Failed to delete /data/app/vmdl102287624.tmp: No such file or directory
2019-07-06 19:57:24.591 1553-1665/? D/CompatibilityInfo: mCompatibilityFlags - 0
2019-07-06 19:57:24.591 1553-1665/? D/CompatibilityInfo: applicationDensity - 480
2019-07-06 19:57:24.591 1553-1665/? D/CompatibilityInfo: applicationScale - 1.0
2019-07-06 19:57:24.593 1553-2694/? I/ActivityManager: START u0 {dat=file:///data/user_de/0/com.google.android.packageinstaller/no_backup/package3167777381408856548.apk flg=0x2000000 cmp=com.google.android.packageinstaller/com.android.packageinstaller.InstallFailed (has extras)} from uid 10035
2019-07-06 19:57:24.597 1553-2694/? D/ActivityTrigger: activityStartTrigger: Activity is Triggerred in full screen ApplicationInfo{82c36ee com.google.android.packageinstaller}
2019-07-06 19:57:24.597 1553-2694/? E/ActivityTrigger: activityStartTrigger: not whiteListedcom.google.android.packageinstaller/com.android.packageinstaller.InstallFailed/28

Related

Problem with flutter build apk file on real phone

I'm new in Flutter and Android Studio. My problem - when i run my app in android studio - all works good. But, when i upload build apk file to firebase "app distribution", install on real phone and try to launch - it has crashed on start - without any error message. I see the first load screen, and that's all, app closed. I don't understand - how to debug such error, because all works, when i use Android studio. Any ideas - how can i catch this error ?
[√] Flutter (Channel stable, v1.17.4, on Microsoft Windows [Version 10.0.18363.900], locale ru-RU)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Android Studio (version 3.5)
[√] VS Code (version 1.46.1)
[√] Connected device (2 available)
Logcat logs
2020-06-27 19:34:17.653 587-644/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2020-06-27 19:34:17.655 2859-6628/? E/ANDR-PERF-JNI: com_qualcomm_qtiperformance_native_perf_io_prefetch_start
2020-06-27 19:34:17.665 2859-6628/? E/ActivityTrigger: activityStartTrigger: not whiteListedru.rakhimyan.pozhlikbez.pozhlikbez/ru.rakhimyan.pozhlikbez.pozhlikbez.MainActivity/1
2020-06-27 19:34:17.666 2859-6628/? E/ActivityTrigger: activityResumeTrigger: not whiteListedru.rakhimyan.pozhlikbez.pozhlikbez/ru.rakhimyan.pozhlikbez.pozhlikbez.MainActivity/1
2020-06-27 19:34:17.674 2859-6360/? E/ActivityTrigger: activityResumeTrigger: not whiteListedru.rakhimyan.pozhlikbez.pozhlikbez/ru.rakhimyan.pozhlikbez.pozhlikbez.MainActivity/1
2020-06-27 19:34:17.761 24805-24812/? E/kbez.pozhlikbe: Failed to send DDMS packet REAQ to debugger (-1 of 20): Broken pipe
2020-06-27 19:34:17.777 10947-23478/? E/DeviceStateChecker: DeviceStateChecker cancelled
2020-06-27 19:34:18.659 24805-24805/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: ru.rakhimyan.pozhlikbez.pozhlikbez, PID: 24805
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/ru.rakhimyan.pozhlikbez.pozhlikbez-leCXnGCESBlgFvEwD87Sfg==/base.apk"],nativeLibraryDirectories=[/data/app/ru.rakhimyan.pozhlikbez.pozhlikbez-leCXnGCESBlgFvEwD87Sfg==/lib/arm64, /data/app/ru.rakhimyan.pozhlikbez.pozhlikbez-leCXnGCESBlgFvEwD87Sfg==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]] couldn't find "libflutter.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1012)
at java.lang.System.loadLibrary(System.java:1669)
at io.flutter.embedding.engine.loader.FlutterLoader.startInitialization(FlutterLoader.java:120)
at io.flutter.embedding.engine.loader.FlutterLoader.startInitialization(FlutterLoader.java:88)
at io.flutter.view.FlutterMain.startInitialization(FlutterMain.java:48)
at io.flutter.app.FlutterApplication.onCreate(FlutterApplication.java:24)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1155)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5906)
at android.app.ActivityThread.access$1100(ActivityThread.java:200)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1660)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6762)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
2020-06-27 19:34:18.770 4311-4326/? E/droid.launcher: No package ID ff found for ID 0xffffffff.
2020-06-27 19:34:18.772 4311-4326/? E/IconLoader: Could not find icon drawable from resource
android.content.res.Resources$NotFoundException: Resource ID #0xffffffff
at android.content.res.ResourcesImpl.getValueForDensity(ResourcesImpl.java:225)
at android.content.res.Resources.getDrawableForDensity(Resources.java:887)
at android.content.res.Resources.getDrawable(Resources.java:827)
at com.android.systemui.shared.recents.model.IconLoader.createNewIconForTask(IconLoader.java:118)
at com.android.systemui.shared.recents.model.IconLoader.getAndInvalidateIfModified(IconLoader.java:94)
at com.android.systemui.shared.recents.model.RecentsTaskLoader.getAndUpdateActivityIcon(RecentsTaskLoader.java:325)
at com.android.systemui.shared.recents.model.RecentsTaskLoadPlan.executePlan(RecentsTaskLoadPlan.java:188)
at com.android.systemui.shared.recents.model.RecentsTaskLoader.loadTasks(RecentsTaskLoader.java:173)
at com.android.quickstep.RecentsModel.onTaskStackChangedBackground(RecentsModel.java:214)
at com.android.systemui.shared.system.TaskStackChangeListeners.onTaskStackChanged(TaskStackChangeListeners.java:80)
at android.app.ITaskStackListener$Stub.onTransact(ITaskStackListener.java:50)
at android.os.Binder.execTransact(Binder.java:731)
2020-06-27 19:34:18.773 4311-4326/? E/droid.launcher: Failed to open APK '/data/app/ru.rakhimyan.pozhlikbez.pozhlikbez-IGs77SWnk7PWEecGA2tGBQ==/base.apk' I/O error
2020-06-27 19:34:18.773 4311-4326/? E/ResourcesManager: failed to add asset path /data/app/ru.rakhimyan.pozhlikbez.pozhlikbez-IGs77SWnk7PWEecGA2tGBQ==/base.apk
2020-06-27 19:34:19.170 2859-2939/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.android.launcher3/com.android.a1launcher.AndroidOneLauncher/28
2020-06-27 19:34:19.180 587-644/? E/ANDR-PERF-OPTSHANDLER: Perflock resource /sys/class/devfreq/soc:qcom,llccbw/min_freq not supported
2020-06-27 19:34:19.180 587-644/? E/ANDR-PERF-RESOURCEQS: Failed to apply optimization [12, 0]
2020-06-27 19:34:19.181 587-644/? E/ANDR-PERF-OPTSHANDLER: Failed to read /sys/class/kgsl/kgsl-3d0/force_no_nap
2020-06-27 19:34:19.181 587-644/? E/ANDR-PERF-RESOURCEQS: Failed to apply optimization [10, 7]
2020-06-27 19:34:19.272 563-24849/? E/msm8916_platform: platform_get_snd_device_backend_index: BE DAI Name Table is not present
2020-06-27 19:34:19.272 563-24849/? E/audio_hw_utils: send_app_type_cfg_for_device: Couldn't get the backend index for snd device voice-rec-mic ret=-14
2020-06-27 19:34:19.273 563-24849/? E/ACDB-LOADER: Error: ACDB AudProc vol returned = -19
2020-06-27 19:34:19.273 563-24849/? E/ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
2020-06-27 19:34:19.273 563-24849/? E/ACDB-LOADER: Error: ACDB AFE returned = -19

Application crashes at startup (Lollipop 5.1.1, Tablet)

My application is showing very strange behavior for a tablet device, it crashes as it launches (Lollipop - 5.1.1 Tablet device, without any meaningful logs) though it runs fine on mobile devices even including Lollipop - 5.0 phone device with almost same log report
minSdkVersion 19
targetSdkVersion 28
Log report
E/com.samsung.app: [AccuTab_Magagine]>>> UIMK:1376 [0:0] time : 17:31
E/Watchdog: !#Sync 2614 [07-31 17:31:00.264]
? E/AffinityControl: AffinityControl: registerfunction enter
? E/AffinityControl: AffinityControl: registerfunction enter
E/WindowState: getStack: Window{2bd3ac2f u0 d0 com.project.debug/com.screens.account_login.AccountLoginActivity} couldn't find taskId=500 Callers=com.android.server.wm.WindowState.getDisplayContent:1059 com.android.server.wm.WindowState.isDefaultDisplay:1778 com.android.server.wm.WindowState.getMultiWindowStyleLw:2363 com.android.internal.policy.impl.multiwindow.MultiPhoneWindowManager.shouldEnableLayoutInsetsBySoftInput:1505
E/Zygote: MountEmulatedStorage()
E/Zygote: v2
E/SELinux: [DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL
com.switchsolutions.agricultureapplication.mobilink.debug E/StudioProfiler: Studio Profilers encountered an unexpected error. Consider reporting a bug, including logcat output below.
See also: https://developer.android.com/studio/report-bugs.html#studio-bugs
Failed to capture application
E/WindowState: getStack: Window{2bd3ac2f u0 d0 com.project.debug/com.screens.account_login.AccountLoginActivity} couldn't find taskId=500 Callers=com.android.server.wm.WindowState.getDisplayContent:1059 com.android.server.wm.WindowState.isDefaultDisplay:1778 com.android.server.wm.WindowState.getMultiWindowStyleLw:2363 com.android.internal.policy.impl.multiwindow.MultiPhoneWindowManager.shouldEnableLayoutInsetsBySoftInput:1505
E/android.os.Debug: ro.product_ship = true
E/android.os.Debug: ro.debug_level = 0x4f4c

ANDROID App crash when installed in device: JSException: Can't find variable: Promise (RN 0.57.1)

Android app installs but crashes on open in devices, but in debug mode works perfectly.
You can see the crash report below
2019-03-15 15:02:50.685 4431-4515/? E/WindowManager: win=Window{8cd349a u0 Splash Screen com.sample EXITING} destroySurfaces: appStopped=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true win.mViewVisibility=0, caller=com.android.server.wm.AppWindowToken.destroySurfaces:748 com.android.server.wm.AppWindowToken.destroySurfaces:732 com.android.server.wm.WindowState.onExitAnimationDone:5646 com.android.server.wm.WindowStateAnimator.stepAnimationLocked:553 com.android.server.wm.DisplayContent.lambda$-com_android_server_wm_DisplayContent_21578:476
2019-03-15 15:02:51.555 970-1030/? E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
Process: com.sample, PID: 970
com.facebook.react.common.JavascriptException: Can't find variable: props, stack:
value#285:1369
at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:54)
at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:38)
at java.lang.reflect.Method.invoke(Native Method)
at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:160)
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)
at android.os.Looper.loop(Looper.java:164)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:192)
at java.lang.Thread.run(Thread.java:764)
2019-03-15 15:02:51.989 4431-4515/? E/WindowManager: win=Window{bb689b5 u0 com.sample/com.sample.MainActivity EXITING} destroySurfaces: appStopped=false win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8, caller=com.android.server.wm.AppWindowToken.destroySurfaces:748 com.android.server.wm.AppWindowToken.destroySurfaces:732 com.android.server.wm.WindowState.onExitAnimationDone:5646 com.android.server.wm.WindowStateAnimator.stepAnimationLocked:553 com.android.server.wm.DisplayContent.lambda$-com_android_server_wm_DisplayContent_21578:476
Try to follow this issue: https://github.com/facebook/metro/issues/197:
When using react-native bundle (the command that runs when you build a
release), InitializeCore.js is not the first file that get required,
but instead it is required later, sometime during the generation of
the bridge method, randomly (which is why if you are lucky or not
using Promise // setTimeout early you'll be fine) iOS does not need
all those polyfills which is why the issue is only detected on android
in release mode.

trying to run app on device

I am trying to run a simple app in my device I am using a GALAXY S5 but the app would never launch, in the Android Studio the log cat is just loading and loading like this:
-10 19:07:07.856 3006-3006/? D/STATUSBAR-IconMerger﹕ checkOverflow(576), More:false, Req:false Child:3
08-10 19:07:08.836 3006-3006/? D/STATUSBAR-NetworkController onSignalStrengthsChanged signalStrength=SignalStrength: 99 -1 -1 -1 -1 -1 -1 13 -121 -13 16 -1 2147483647 gsm|lte 0x0 level=0
08-10 19:07:09.306 912-6264/? D/SSRMv2:SIOP﹕ SIOP:: AP = 280, PST = 287, Delta = -1
08-10 19:07:09.316 912-6264/? D/AmoledAdjustTimer﹕ prevTemp = 264, currTemp = 264, prevStep = 4, currStep = 4
08-10 19:07:09.866 3006-3006/? D/STATUSBAR-NetworkController﹕ refreshSignalCluster - setNWBoosterIndicators(false)
08-10 19:07:09.866 3006-3006/? D/STATUSBAR-NetworkController﹕ refreshSignalCluster: data=0 bt=false
08-10 19:07:09.886 3006-3006/? D/STATUSBAR-IconMerger﹕ checkOverflow(576), More:false, Req:false Child:3
08-10 19:07:09.916 912-3520/? D/BatteryService﹕ level:100, scale:100, status:5, health:2, present:true, voltage: 4372, temperature: 263, technology: Li-ion, AC powered:false, USB powered:true, Wireless powered:false, icon:17303678, invalid charger:0, online:6, current avg:1000, charge type:0, power sharing:false
This is the console :
Installing com.example.juano.stiktag
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.example.juano.stiktag"
pkg: /data/local/tmp/com.example.juano.stiktag
Success
Launching application:com.example.juano.stiktag/com.example.juano.stiktag.LoginActivity.
DEVICE SHELL COMMAND: am start -n "com.example.juano.stiktag/com.example.juano.stiktag.LoginActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Starting: Intent { act=android.intent.action.MAIN cat= [android.intent.category.LAUNCHER] cmp=com.example.juano.stiktag/.LoginActivity }
java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.example.juano.stiktag/.LoginActivity } from null (pid=13739, uid=2000) not exported from uid 10247
at android.os.Parcel.readException(Parcel.java:1465)
at android.os.Parcel.readException(Parcel.java:1419)
at android.app.ActivityManagerProxy.startActivityAsUser(ActivityManagerNative.java:2367)
at com.android.commands.am.Am.runStart(Am.java:680)
at com.android.commands.am.Am.onRun(Am.java:270)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
at com.android.commands.am.Am.main(Am.java:76)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:301)
Sometimes it finish but still the app never launch, however in the virtual device works, I tried to follow all the steps on the android studio website enable usb debugger, please any help will be highly appreciated, Thanks!

Permission denial causing app crash in Ionic

I have been confused by a random crash in my app since I updated to cordova 5 and started using crosswalk.
This is my logcat:
D/STATUSBAR-NetworkController( 1110): refreshSignalCluster - setNWBoosterIndicators(false)
D/STATUSBAR-NetworkController( 1110): refreshSignalCluster: data=-1 bt=false
D/STATUSBAR-IconMerger( 1110): checkOverflow(1344), More:false, Req:false Child:5
W/ActivityManager( 891): Permission Denial: getCurrentUser() from pid=32252, uid=10037 requires android.permission.INTERACT_ACROSS_USERS
I/ActivityManager( 891): Process com.tesingguru.tesing_Guru (pid 29852) (adj 0) has died.
I/WindowState( 891): WIN DEATH: Window{42fb82c0 u0 com.tesingguru.tesing_Guru/com.tesingguru.tesing_Guru.MainActivity}
I/SurfaceFlinger( 329): id=3847 Removed NainActivit (16/29)
I/SurfaceFlinger( 329): id=3847 Removed NainActivit (-2/29)
I/FactoryTest( 891): isRunningFactoryApp=false
I/FactoryTest( 891): isRunningFactoryApp=false
W/ActivityManager( 891): Force removing ActivityRecord{4303e860 u0 com.tesingguru.tesing_Guru/.MainActivity t221}: app died, no saved state
I am completely confused by this? The line I am suspecting is:
W/ActivityManager( 891): Permission Denial: getCurrentUser() from pid=32252, uid=10037 requires android.permission.

Categories

Resources