dehghanimeh / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
0 stars 0 forks source link

android 5.0 / nexus5 - installation fails with error code "-505" #299

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Installation fails with "Fehler / Unbekannter Fehlercode beim Installieren 
der App: "-505"

What mobile phone are you using?
Nexus 5

Which Android Version and stock ROM or aftermarket like cyanogenmod?
android 5.0 - hammerhead-lrx21o-factory-01315e08.tar.gz (from 
developers.google.com)

Original issue reported on code.google.com by lars.h...@googlemail.com on 13 Nov 2014 at 12:52

GoogleCodeExporter commented 9 years ago
"This error means there is a duplicate permission in Android Manifest. Not 
within just one app but the other app has it as well. For example when 
installing app with adb install, it shows what this -505 error means. So, first 
app will install fine, but when you install second app, this error is seen."

-> 
http://stackoverflow.com/questions/26491251/android-5-0-lollipop-app-install-sho
ws-unknown-error-code-during-application-ins

Original comment by lars.h...@googlemail.com on 13 Nov 2014 at 1:15

GoogleCodeExporter commented 9 years ago
So another application you have installed is declaring a permission it should 
not declare. Can you install the app via adb to see what app is triggering the 
duplicate permission?

Original comment by arne@rfc2549.org on 13 Nov 2014 at 2:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
http://plai.de/android

Original comment by arne@rfc2549.org on 13 Nov 2014 at 2:31

GoogleCodeExporter commented 9 years ago
I just found it ... the same time you added the comment ;-) Thanks

lars@dachs:~/Downloads$ adb install ics-openvpn-latest-stable.apk 
6858 KB/s (7992848 bytes in 1.138s)
    pkg: /data/local/tmp/ics-openvpn-latest-stable.apk
Failure [INSTALL_FAILED_DUPLICATE_PERMISSION perm=de.blinkt.openvpn.REMOTE_API 
pkg=com.ffrog8.openVpnTaskerPlugin]
lars@dachs:~/Downloads$ 

Original comment by lars.h...@googlemail.com on 13 Nov 2014 at 2:38

GoogleCodeExporter commented 9 years ago
ok... after removing the tasker plugin... installation succeeded

I think... I dont need it. So this is no problem for me.

If I try to install the "OpenVpn Tasker Plugin" again... the error occurs 
during installation of it :-)

Thank you for assistance!

Original comment by lars.h...@googlemail.com on 13 Nov 2014 at 2:43

GoogleCodeExporter commented 9 years ago

Original comment by arne@rfc2549.org on 20 Nov 2014 at 9:47

GoogleCodeExporter commented 9 years ago
This issue was closed by revision a128a6ef2daf.

Original comment by arne@rfc2549.org on 18 Dec 2014 at 10:13

GoogleCodeExporter commented 9 years ago
This error hasn't been fixed. I'm still running into it on Android 5.0.1 on my 
Nexus 6. 

Original comment by alanpier...@gmail.com on 22 Dec 2014 at 6:59

GoogleCodeExporter commented 9 years ago
Although OpenVPN for Android does not declare this permission anymore that does 
not mean that one of the forks do not declare it. Do you have any other VPN 
provider app on your phone?

Original comment by arne@rfc2549.org on 22 Dec 2014 at 10:26

GoogleCodeExporter commented 9 years ago
This error still exists, I'm seeing it on a Nexus 4 with Android 5.0.1.

Original comment by horst.sc...@googlemail.com on 30 Jan 2015 at 10:27

GoogleCodeExporter commented 9 years ago
@11 Can you look into adb logcat to see what error is logged?

Original comment by arne@rfc2549.org on 30 Jan 2015 at 10:33

GoogleCodeExporter commented 9 years ago
Disregard that. I don't see the error on 5.0.1.

Original comment by horst.sc...@googlemail.com on 9 Feb 2015 at 4:31

GoogleCodeExporter commented 9 years ago
This error arises after the Android 5.0 lollipop update. This issue still don't 
have any sure shot method but you can try factory reset and clearing cache and 
data of Google Play store.
Source : 
http://www.techpayee.com/fix-unknown-error-code-during-application-install-505/

Original comment by NIMJE.BH...@gmail.com on 15 Feb 2015 at 3:20