Closed RDalziel closed 9 years ago
Hi
android-debug.apk
or android-release.apk
. No it should not be named with the provided ID :). This is how cordova spits out the files.Kind regards, Sam
Hey Sam,
Thanks for the prompt response!
Is there any other additional configuration that would be required to install to a nexus 5?
Not that I am aware of. This had never happened to me before. Would you mind copy-pasting your generated config.xml
file?
I've replaced some of the names here but here's the jist:
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.product.name" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Product Name</name>
<description>Description</description>
<author>AuthorName</author>
<content src="index.html" />
<access origin="*" />
<preference name="android-minSdkVersion" value="16" />
<preference name="android-targetSdkVersion" value="22" />
<preference name="loadUrlTimeoutValue" value="30000" />
</widget>
The config file seems oke, so that isn't the problem.
You are sure that an application with com.product.name
is not yet installed on the device?
Yeah it's not installed. But even if it was, would that cause a parse error?
I'm sticking apks onto google drive to get them on the devices, is it possible that could cause the problem?
I don't think that would cause a parse error, but you never know off course...
Would you be able to install them via adb
?
adb install android-debug.apk
Maybe that will give you more information.
Will need to get it setup, Sam. Is the error information a bit better there?
So...it worked without any issue with ADB! Could this just be an issue with installing from Google Drive?
I think adb provides more information then a prompt on a device. But glad it worked. I have no clue as to why this isn't working. Have you tried downloading it first from another source, email for example?
Yeah definitely more info. I've yet to try this. It did work a few times on Google Drive but i guess it's maybe been trying to install partial APKs. Even although i did wait, and specifically go in and download it.
Either way i have a midway solution, thanks for the help Sam :)
No problem. If you have any other issues regarding gulp-cordova
, don't hesitate to get back to me :).
Hey!
I'm having a great deal of difficulty in trying to deploy an application to a Nexus 5 Device. I have two problems really
Here's a snipper of my config:
Any advice here? Fairly frustrating problem!