Hi,

Maybe try again but without installing via ES File Explorer ?

I just tried the a similar test - downloading & installing by 'sideloading' 
a (properly signed) apk via a gmail attachment to Nexus 7 (2012) with 
Android v5.1.1 & it installed (using the default Android installer - NOT ES 
File Explorer) without error & worked OK.

(My apk was created in Eclipse however, no AS...)

Also if you are attempting to download & install from a Web page you also 
need to set the correct content type in your web server, eg - 

<mime-mapping> 

                <extension>apk</extension> 

                <mime-type>application/vnd.android.package-archive</
mime-type> 

</mime-mapping>

Regards 

On Sunday, August 23, 2015 at 2:04:31 AM UTC+10, cookdav wrote:
>
> After doing a successful assembleRelease in AndroidStudio (version 1.3.1), 
> I can use the
> debugger to download and install my app, via a USB-cable, and it installs 
> (and runs) fine.
>
> But, if I put the APK file onto my webpage, and download it (using Chrome) 
> onto the tablet,
>  when I try to install it (using ES File Explorer), I immediately get 
>    "Parse error ...there was a problem parsing the package".
>
> The target tablet(s) are Nexus 7(2012) and Nexus 10, running Android 
> v5.1.1.
>
> This all worked fine, back a year ago, when I was running beta copy of 
> AndroidStudio.
> (I have imported this year-old app's project tree, into AndroidStudio 
> 1.3.1)
>
> So, I repeated this experiment, after creating a NEW boiler-plate app in 
> AndroidStudio
> and I get the same behavior...i.e. it installs this generic TestProject 
> via USB-cable via 
> the Androidstudio's debugger just fine, but  I get the "Parse error" if I 
> try to install 
> a downloaded copy (either via Chrome or via the USB-cable) residing in the 
> Download folder.
>
> Is there some 'debugging' method of installing Android APKs that will give 
> a more specific
> error-code, to provide specifics of what the problem is???
> [ When I google this 'Parse error' symptom, there are at least a DOZEN 
> different reasons
> mentioned that can cause this error, but none of them apply. ]
>
> Yes, I have developer options enabled on the tablets including 
> allow-from-unknown-sources, 
> and yes, I've verified the exact file-sizes using ES FIle Explorer, etc, 
> etc.
>
> Ideas?  Or should I just give up trying to develop native Android apps 
> using AndroidStudio?
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to