Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 1-Oct-2016 23:09:23

LSI
Member
Registered: 13-Dec-2015
Posts: 34

GOOGLE PLAY update version

Hello,
after a long time I have a problem again sad
In OpenSPace3D "Project setting" I changed version to 1.1 and tried to upload the updated program to GOOGLE PLAY
(The original version was 1.0).

Can not update still reports¨:

  Upload Failed
The APK is necessary to use different versions of the code. Code File Version 1 already exists.


I tried to change the application to version 2.0, and still the same problem and the same message sad

........(Or do I need to create a new keystore? If I'm right key file must remain the same)

Last edited by LSI (1-Oct-2016 23:15:25)

Offline

#2 2-Oct-2016 01:37:01

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: GOOGLE PLAY update version

Hello no the keystore must remain the same for google play
please send me the generated manifest.xml so I could check if I forgot someting

Offline

#3 4-Oct-2016 07:24:01

denua
Member
Registered: 31-Jul-2016
Posts: 24

Re: GOOGLE PLAY update version

You should chengу in manifest version code to 2. And do i++ always with new version.
Openspace3D its a "pain" for android developers))

arkeon pls make android setting for project, like it make in unity.

Offline

#4 4-Oct-2016 08:38:47

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: GOOGLE PLAY update version

I've added the version name and automated version code based on time in next release.

Offline

#5 4-Oct-2016 09:57:32

denua
Member
Registered: 31-Jul-2016
Posts: 24

Re: GOOGLE PLAY update version

Can you also add that, package name and app name will be different parameters , it can removes many limitations.

Offline

#6 4-Oct-2016 10:00:41

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: GOOGLE PLAY update version

the pkgname is generated with os3d.app.[appshortname]
why do you need to control that ?

Offline

#7 4-Oct-2016 10:14:38

denua
Member
Registered: 31-Jul-2016
Posts: 24

Re: GOOGLE PLAY update version

1. play market not add app with same  pkgname, now it not problem but when will be 1000 developers.
2. you have same parameter [appshortname]  for pkgname and  <application  android:label> i want that my user  saw app name on phone like "My App", but pkgname dont like it, because of space.
it can solving by use parameters [appshortname]  and [applabelname]

Last edited by denua (4-Oct-2016 10:16:14)

Offline

#8 4-Oct-2016 10:23:22

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: GOOGLE PLAY update version

you mean I should not generate the pkg name ?
I'm not sure to understand

Offline

#9 4-Oct-2016 10:29:39

denua
Member
Registered: 31-Jul-2016
Posts: 24

Re: GOOGLE PLAY update version

I mean like in unity you can set pkgname by self.
And also you could set different parameter in manifest temp [appshortname]  and [applabelname]
not use in whole manifest [appshortname]. I always change in  manifest  <application  android:label="My App Name">

Offline

#10 4-Oct-2016 10:35:46

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: GOOGLE PLAY update version

@ANDROID_APP_NAME@ set in label is the full name with spaces
it's defined in the project settings

Offline

#11 4-Oct-2016 11:43:36

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: GOOGLE PLAY update version

sorry since the goal is to keep it the most easy as possible you have to convince me when adding this sort of option smile

by the way i'm adding an option for portrait mode and manage this in the camera view also.

Offline

#12 4-Oct-2016 15:00:46

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: GOOGLE PLAY update version

I finally add the package name with format check on validation

androidexport.png

Offline

#13 4-Oct-2016 15:17:16

denua
Member
Registered: 31-Jul-2016
Posts: 24

Re: GOOGLE PLAY update version

cool.  version in manifest will getting from project settings?
keep it the most easy its good goal.
I find myself as advanced user, I would have enjoy if each project create own manifest in app folder and then always bulding from here , not from default

Offline

#14 4-Oct-2016 15:19:32

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: GOOGLE PLAY update version

yes the version name is taken from the project settings

yes and no, I prefer to keep the base manifest so the projects don't have to be updated manually when a new version add a new feature

Offline

#15 7-Oct-2016 09:22:16

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: GOOGLE PLAY update version

as I was expecting the Package Name parameter is error prone for standard users.
what do you think if I remove the parameter and generate it this way "com.company.shortappname"
the company name took from the project setting and set to "os3d" if empty ?

Offline

#16 7-Oct-2016 14:04:03

denua
Member
Registered: 31-Jul-2016
Posts: 24

Re: GOOGLE PLAY update version

it was realy cool! but put in this field catching exception in company name input. For using correct names.

Offline

#17 7-Oct-2016 14:14:33

denua
Member
Registered: 31-Jul-2016
Posts: 24

Re: GOOGLE PLAY update version

Better automatically show this setting window when you create new project. because if you don't put comp name and download it on play market, you can't change later this pak name NEVER .

Offline

#18 7-Oct-2016 14:49:21

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: GOOGLE PLAY update version

What I did for know is to use the company name is exist.
when you change the app name or company name in settings the pkgname is regenerated on export.

I let the form with edit pkgname as it for now but the validation tests on pkgname restriction is also now more restrictive to avoid formating error. hope it'll be enough

Offline

Board footer

Powered by FluxBB