Application from Android Studio won't install from signed APK, does installs fine over ADB -
i'm having problem installing application on phone, , other phones, it's apk. when load application android studio's run button on adb, installs fine no issues, when generate signed apk , sideload onto device (both debug , release), throws error saying "app not installed."
i've genuinely looked everywhere answer can't find anything, has else came across before?
here's video of issue https://www.youtube.com/watch?v=s1ebauldrqs
here's info app. uses zxing, therefore uses phones camera, , can see video i've proper permission declared in manifest, still though measure manifest follows:
<manifest package="com.android.tighearnan.frenchsscanner" xmlns:android="http://schemas.android.com/apk/res/android"> <uses-permission android:name="android.permission.camera"/> <uses-permission android:name="android.permission.write_external_storage" /> <uses-feature android:name="android.hardware.camera2" android:required="true"/> <uses-feature android:name="android.hardware.camera" android:required="false" /> <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" /> <application android:allowbackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:theme="@style/apptheme"> <activity android:name=".scanneractivity" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.main"/> <category android:name="android.intent.category.launcher"/> </intent-filter> </activity> </application> </manifest>
just in case might think it's on stating old camera in manifest, i've tried installing without , still doesn't work.
any greatly, appreciated.
i have faced same issue, , after confirming android device run apps outside of google play store, checking build versions, cheking api versions, generating 2 different keystores(you need 1 of course), , generating signed release apk version, apk not install on device.
my "fix" restart android device. (and make sure versions of app had on device during making of app uninstalled device)
i hope helps.
Comments
Post a Comment