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

Pressing Back Button should close app,should not Stop
Strange screen flashin on the first Animation (ObjectAnimator)
Get image in gridview from server
“paddingLeft” disapears when I use setText() + setBackgroundDrawable() on a Button
Error in http connection org.apache.http.conn.HttpHostConnectException: Connection to <ip address> refused
How to display a navigation drawer in front of CAB?
android inserting multiple data from text file in sqlite table
App is killed after launching an implicit intent
AudioManager.startBluetoothSco() crashes on Android Lollipop
Hide keyboard on android application
Icon app with Cordova. Documentation is wrong?
R cannot be resolved/ No resouce found that matches given name
Adding ViewPager in a Custom Dialog. Can't get the adapter to work
difference between mAdded & mActive in source code of support.FragmentManager
Google App Engine Custom SSL & Android SNI + VIP?
Android - ImageView flickering by changing the Image (Bitmap) on it

Categories

HOME
google-app-engine
checkstyle
amp-html
interface
jwplayer
can
dojo
zip
bing-maps
enterprise-architect
screen-readers
keytool
pyramid
bourbon
named-entity-recognition
php-mysqlidb
nstimer
comparable
nsurl
mustache
mailkit
github3.py
carriage-return
video-capture
reason
wurfl
setup.py
odoo-website
angular-http
berkeley-db-je
clang++
dapper-simplecrud
opencmis
tinymce-3
bluez
x-ray
boxing
payload
change-tracking
rocks
mapxtreme
lrs
signalr.client
dimension
appscale
clipboard.js
riot
aurora
gcloud-ruby
ellucian-scribe
crouton-os
custom-errors
morton-number
include-guards
toolkit
sapscript
zscript
dronekit-android
cryptographichashfunction
variadic-templates
sonarqube-5.0
post-commit-hook
punycode
build-script
malformedurlexception
grails-plugin-rabbitmq
paste
hibernate-entitymanager
hidapi
gpars
nebula
actiondispatch
wp7test
wimax
booksleeve
faye
listitem
appjs
koken
hibernateexception
expression-blend-4
msr
updatesourcetrigger
office-2007
zend-rest
skype4java
purepdf
visualj#

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