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 listview items background
Having layout problems with Samsung galaxy Note 3
Modify HTTP headers in Google App Engine Endpoints (Android)
Android: How to pipe stream between rfcomm socket and Pppd with notty option
Weird behaviour of drawableRight for Switch
How to get data from a database created in salesforce in android?
How can i go to next screen while using sliding menu
Get User Name from Google Plus in android
How can i set any function to repeat after specific amount of time?
Get the most accurate location of user
Android: Disable new activity animation
Sending full file over bluetooth
Where do I find the Android SDK Manager settings window on eclipse android bundle?
Admob Not show in android app
Android OpenGL ES: Normalized MotionEvent coordinate
Rectangular section inside a circle

Categories

HOME
shell
eclipse
adal
awk
jwplayer
requirements
dkim
speech-synthesis
atlassian
cumulocity
http-post
keytool
microsoft-dynamics-nav
template-engine
enterprise-miner
gulp-watch
named-entity-recognition
mongoid6
epsilon
dynamically-generated
dapper-extensions
windows-server-2003
xcode-ui-testing
onload
interbase
asymptotic-complexity
amazon-quicksight
8051
wcag
constexpr
catch-unit-test
getlasterror
apic
playframework-2.1
ideascript
z-notation
apns-php
metaprogramming
memory-mapping
libgphoto2
identification
x-ray
headless
mach-o
cpu-cache
testrail
pure-css
grails-plugin
mta
respondcms
refinerycms
embedding
riot
html-to-pdf
nullable
qbxml
atan2
file-move
jdi
ess
haskell-warp
node-serialport
dot.js
gamekit
openbabel
boost-program-options
sql-scripts
appserver
xml-namespaces
build-script
live555
xml-dsig
ray
high-resolution
visual-studio-express
isqlquery
mbunit
diem
fb.ui
alice
redis-py
extreme-programming
onmousemove
database-create
wiimote
user-tracking
luajava
hbm2java
opml
duplex
murmurhash
skype4java
purepdf

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