android


Unable to install apk Error Code: -505


I have research a lot on here and google but could not find the solution. I have uploaded an app on play store and it was working fine then i developed an other application by making changes in previous app project and changed project id in build.gradle script and version code. Now if any of two application is installed in phone 2nd one always gives error code -505. Please help me, my both apps are live on playstore.
I have found my mistake and i am sharing it here as a answer if anyone else face this problem. I am using google maps in both applications and I use static package name in manifest for MAPS.RECIEVE permission and I complete forgot to change that package name. I was using following code
<permission
android:name="com.myapp.packagename.permission.MAPS_RECEIVE"
android:protectionLevel="signature" />
Correct one is
<permission
android:name="${applicationId}.permission.MAPS_RECEIVE"
android:protectionLevel="signature" />

Related Links

Android GPS accuracy in calculating distance issues
how to create EditText using for loop in TableLayout
How to set style in spinner
How to show sequential dialog popups?
Why does eclipse generate values-sw600dp and values-sw720dp-land
Android - Rotation menu with one part out of the screen
PushBots crash: NullpointerException
AlarmManager not working in Fragment nor in Main.java
Minimal Android widget, APPWIDGET_DELETED and APPWIDGET_DISABLED intents never being received
ActionBar Style doesn't work
Is it Possibile to wake up a Deep sleep BLE device in Android SDK?
Android acharengine - the graph disappears as soon as the data points are not in the visible area?
Open xml file on listview item click
Universal Image Loader Fade In From Black?
What means: MediaPlayer - This is not a sprint project
SQLite two tables matching logic

Categories

HOME
url-redirection
paraview
merge
jwplayer
solaris
solver
r-googlesheets
edge
vxml
3d-reconstruction
regular-language
interpolation
jtextpane
angularfire2
trac
title
extjs4.2
pattern-matching
drop-down-menu
java.util.logging
ycsb
datastage
xcodebuild
php-5.6
eip
cumulocity
azure-iot-hub
atlassian-stash
swagger-2.0
windows-xp
gulp-watch
react-toolbox
highstock
slidetoggle
iis-express
twiml
event-flow
volatile
livelink
utorrent
jett
carriage-return
nested-lists
jwplayer6
least-squares
engine.io
docfx
android-augmented-reality
protein-database
sim-card
stringtokenizer
laravel-elixir
datacachefactory
subclipse
knime
show-hide
phpdbg
magento-2.0.7
term
reindex
boxing
mach-o
janus
structuremap4
filenet
android-instrumentation
renaming
materialized-path-pattern
atlas
autosar
windows-azure-queues
scaffolding
angular-ui-typeahead
data-protection
aurora
yajsw
fuzzywuzzy
asyncdisplaykit
fuelcms
opserver
extjs-grid
slash
sha512
zxspectrum
qtwebengine
infosphere-spl
easyrtc
entry-point
dot42
menubar
amslidemenu
jammer
joomla-template
argouml
mkv
listitem
subproject
flex-mobile
promotion-code
xui
commerceserver2007
openfaces
django-piston
wcf-instancing
business-model
pnrp

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App